Package | Description |
---|---|
cpw.mods.fml.common.registry | |
net.minecraft.item | |
net.minecraft.src |
Modifier and Type | Method and Description |
---|---|
static void |
GameRegistry.registerBlock(Block block,
Class<? extends ItemBlock> itemclass)
Deprecated.
|
static void |
GameRegistry.registerBlock(Block block,
Class<? extends ItemBlock> itemclass,
String name)
Register a block with the world, with the specified item class and block name
|
static void |
GameRegistry.registerBlock(Block block,
Class<? extends ItemBlock> itemclass,
String name,
String modId)
Register a block with the world, with the specified item class, block name and owning modId
|
Modifier and Type | Class and Description |
---|---|
class |
ItemAnvilBlock |
class |
ItemBlockWithMetadata |
class |
ItemCloth |
class |
ItemColored |
class |
ItemLeaves |
class |
ItemLilyPad |
class |
ItemMultiTextureTile |
class |
ItemPiston |
class |
ItemSlab |
class |
ItemSnow |
Modifier and Type | Method and Description |
---|---|
static void |
ModLoader.registerBlock(Block block,
Class<? extends ItemBlock> itemclass)
Register a new block
|