Package net.minecraftforge.debug.block
Class PistonEventTest
- java.lang.Object
-
- net.minecraftforge.debug.block.PistonEventTest
-
public class PistonEventTest extends java.lang.ObjectThis 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 classPistonEventTest.BlockStates
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringblockNameprivate static DeferredRegister<Block>BLOCKSprivate static DeferredRegister<Item>ITEMSstatic java.lang.StringMODIDprivate 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 voidgatherData(GatherDataEvent event)static voidpistonPre(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)
-
-