List of usage examples for net.minecraftforge.event.world BlockEvent subclass-usage
From source file org.spongepowered.mod.mixin.core.event.block.MixinBlockUpdateEvent.java
@NonnullByDefault @Mixin(value = BlockEvent.NeighborNotifyEvent.class, remap = false) public abstract class MixinBlockUpdateEvent extends BlockEvent implements BlockUpdateEvent { @Shadow private final EnumSet<EnumFacing> notifiedSides;
From source file org.spongepowered.mod.mixin.event.player.MixinEventPlayerBreakBlock.java
@NonnullByDefault @Mixin(value = BlockEvent.BreakEvent.class, remap = false) public abstract class MixinEventPlayerBreakBlock extends BlockEvent implements PlayerBreakBlockEvent { private final net.minecraftforge.common.util.BlockSnapshot blockSnapshot; private List<Item> droppedItems = new ArrayList<Item>();
From source file org.spongepowered.mod.mixin.event.player.MixinEventPlayerPlaceBlock.java
@NonnullByDefault @Mixin(value = BlockEvent.PlaceEvent.class, remap = false) public abstract class MixinEventPlayerPlaceBlock extends BlockEvent implements PlayerPlaceBlockEvent { @Shadow public EntityPlayer player;