Package net.minecraftforge.debug.block
Class PistonEventTest
- java.lang.Object
-
- net.minecraftforge.debug.block.PistonEventTest
-
public class PistonEventTest extends java.lang.Object
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 Modifier and Type Class Description private class
PistonEventTest.BlockStates
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
blockName
private static DeferredRegister<Block>
BLOCKS
private static DeferredRegister<Item>
ITEMS
static java.lang.String
MODID
private static RegistryObject<Block>
shiftOnMove
-
Constructor Summary
Constructors Constructor Description PistonEventTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
gatherData(GatherDataEvent event)
static void
pistonPre(PistonEvent.Pre event)
-
-
-
Field Detail
-
MODID
public static final java.lang.String MODID
- See Also:
- Constant Field Values
-
blockName
public static java.lang.String blockName
-
BLOCKS
private static DeferredRegister<Block> BLOCKS
-
ITEMS
private static DeferredRegister<Item> ITEMS
-
shiftOnMove
private static RegistryObject<Block> shiftOnMove
-
-
Method Detail
-
pistonPre
public static void pistonPre(PistonEvent.Pre event)
-
gatherData
public void gatherData(GatherDataEvent event)
-
-