Class CustomHeadTest
java.lang.Object
net.neoforged.neoforge.debug.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.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static class
private static class
private static class
private static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
(package private) static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
-
Field Details
-
MODID
- See Also:
-
BLOCKS
-
ITEMS
-
BLOCK_ENTITIES
-
BLAZE_HEAD
-
BLAZE_HEAD_WALL
-
BLAZE_HEAD_ITEM
-
CUSTOM_SKULL
private static final DeferredHolder<BlockEntityType<?>,BlockEntityType<CustomHeadTest.CustomSkullBlockEntity>> CUSTOM_SKULL
-
-
Constructor Details
-
CustomHeadTest
public CustomHeadTest(net.neoforged.bus.api.IEventBus modBus)
-
-
Method Details
-
addCreative
-