Package net.minecraftforge.debug.block
Class OnTreeGrowBlockTest
java.lang.Object
net.minecraftforge.debug.block.OnTreeGrowBlockTest
A test case used to ensure that
IForgeBlockState.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<Block>
static final boolean
(package private) static final String
static final DeferredRegister<Item>
static final RegistryObject<Block>
static final RegistryObject<Item>
static final RegistryObject<Block>
static final RegistryObject<Item>
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENABLED
public static final boolean ENABLED- See Also:
-
ID
- See Also:
-
BLOCKS
-
ITEMS
-
TEST_GRASS_BLOCK
-
TEST_DIRT
-
TEST_GRASS_BLOCK_ITEM
-
TEST_DIRT_ITEM
-
-
Constructor Details
-
OnTreeGrowBlockTest
public OnTreeGrowBlockTest()
-