类 CustomHeadTest
java.lang.Object
net.neoforged.neoforge.oldtest.block.CustomHeadTest
Adds a blaze head block and item to test the event for registering a custom skull model and to demonstrate the proper way to register a custom mob skull.
To test it, locate "blaze_head", and test the item model, the model in the players head slot, the model in an armor stand, the wall block model, and the floor block model.
Should appear identical in shape to vanilla heads such as zombies or skeletons, but use the blaze skin.
-
嵌套类概要
嵌套类修饰符和类型类说明private static class
private static class
private static class
private static class
private static enum
-
字段概要
字段修饰符和类型字段说明private static final DeferredBlock
<Block> private static final DeferredItem
<Item> private static final DeferredBlock
<Block> private static final DeferredRegister
<BlockEntityType<?>> private static final DeferredRegister.Blocks
private static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<CustomHeadTest.CustomSkullBlockEntity>> private static final DeferredRegister.Items
(专用程序包) static final String
-
构造器概要
构造器 -
方法概要
-
字段详细资料
-
MODID
- 另请参阅:
-
BLOCKS
-
ITEMS
-
BLOCK_ENTITIES
-
BLAZE_HEAD
-
BLAZE_HEAD_WALL
-
BLAZE_HEAD_ITEM
-
CUSTOM_SKULL
private static final DeferredHolder<BlockEntityType<?>,BlockEntityType<CustomHeadTest.CustomSkullBlockEntity>> CUSTOM_SKULL
-
-
构造器详细资料
-
CustomHeadTest
public CustomHeadTest(net.neoforged.bus.api.IEventBus modBus)
-
-
方法详细资料
-
addCreative
-