Jump to content

AF777

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

AF777's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Oh, and, how would I get to viewing the code for Redstone Lamps?
  2. Ah, Ok. Thanks for the help. Metadata is like the special ID that the block gets, right? Like: 143:1 (Example) If it is then I'll just have to wait for a metadata tutorial.
  3. So I want to make a block emit light when a redstone signal is applied to it. I know how to make it emit light but I don't know how to make it detect the redstone signal. myFirstBlock = new BlockFirst(538,0); myFirstBlock.setLightValue(1F); LanguageRegistry.addName(myFirstBlock, "My first block"); MinecraftForge.setBlockHarvestLevel(myFirstBlock,"pickaxe",0); GameRegistry.registerBlock(myFirstBlock); That's the piece of code that creates the block. This is written just after the '@Init' in the Base Mod file. I have defined myFirstBlock after the '@SidedProxy' further up in the code. The block creation works fine. Could I please just get some help with the redstone signal detection? Thanks
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.