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
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
private static final DeferredRegister<Block>
(package private) static final boolean
private static final DeferredRegister<Item>
static final String
private static final RegistryObject<Block>
private static final RegistryObject<Item>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
gatherData
(GatherDataEvent event) static void
pistonPre
(PistonEvent.Pre event) private static void
sendMessage
(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
-