Class 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.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeferredRegister.Blocks
static final boolean
(package private) static final String
static final DeferredRegister.Items
static final DeferredItem
<BlockItem> static final DeferredItem
<BlockItem> -
Constructor Summary
Constructors -
Method Summary