类 OnTreeGrowBlockTest
java.lang.Object
net.neoforged.neoforge.oldtest.block.OnTreeGrowBlockTest
A test case used to ensure that
IBlockStateExtension.onTreeGrow(LevelReader, BiConsumer, RandomSource, BlockPos, TreeConfiguration)
works properly, using a custom grass block that should revert to its custom dirt form after a tree grows on
top of it instead of turning to dirt.-
字段概要
字段修饰符和类型字段说明static final DeferredRegister.Blocks
static final boolean
(专用程序包) static final String
static final DeferredRegister.Items
static final DeferredItem
<BlockItem> static final DeferredItem
<BlockItem> -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
ENABLED
public static final boolean ENABLED- 另请参阅:
-
ID
- 另请参阅:
-
BLOCKS
-
ITEMS
-
TEST_GRASS_BLOCK
-
TEST_DIRT
-
TEST_GRASS_BLOCK_ITEM
-
TEST_DIRT_ITEM
-
-
构造器详细资料
-
OnTreeGrowBlockTest
public OnTreeGrowBlockTest(net.neoforged.bus.api.IEventBus modBus)
-