public class PlaceBlockEvent extends CancellableEcsEvent
Event fired when placeblock occurs. Listen for this event using EventBus.register.
java.lang.Object > CancellableEcsEvent > PlaceBlockEvent
Field Summary
targetBlock
private
Vector3i
targetBlock
Field targetBlock.
rotation
private
RotationTuple
rotation
Field rotation.
Method Detail
PlaceBlockEvent
public
public
PlaceBlockEvent
(@Nullable final ItemStack itemInHand, @Nonnull final Vector3i targetBlock, @Nonnull final RotationTuple rotation)
Method PlaceBlockEvent.
- Parameters:
@Nullable final ItemStackitemInHand@Nonnull final Vector3itargetBlock@Nonnull final RotationTuplerotation