Package net.minecraftforge.debug.block
Class PistonEventTest
java.lang.Object
net.minecraftforge.debug.block.PistonEventTest
This test mod blocks pistons from moving cobblestone at all except indirectly
This test mod adds a block that moves upwards when pushed by a piston
This test mod informs the user what will happen the piston and affected blocks when changes are made
This test mod makes black wool pushed by a piston drop after being pushed.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringprivate static final DeferredRegister<Block>(package private) static final booleanprivate static final DeferredRegister<Item>static final Stringprivate static final RegistryObject<Block>private static final RegistryObject<Item> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidgatherData(GatherDataEvent event) static voidpistonPre(PistonEvent.Pre event) private static voidsendMessage(LevelAccessor levelAccessor, String message)
-
Field Details
-
ENABLE_PISTON_EVENT_LOGGING
static final boolean ENABLE_PISTON_EVENT_LOGGING- See Also:
-
MODID
- See Also:
-
blockName
-
BLOCKS
-
ITEMS
-
SHIFT_ON_MOVE
-
SHIFT_ON_MOVE_ITEM
-
-
Constructor Details
-
PistonEventTest
public PistonEventTest()
-
-
Method Details
-
addCreative
-
pistonPre
-
sendMessage
-
gatherData
-