Class PlaceBlockEvent

All Implemented Interfaces:
ICancellableEcsEvent

public class PlaceBlockEvent extends CancellableEcsEvent
  • Field Details

    • itemInHand

      @Nullable private final ItemStack itemInHand
    • targetBlock

      @Nonnull private Vector3i targetBlock
    • rotation

      @Nonnull private RotationTuple rotation
  • Constructor Details

  • Method Details

    • getItemInHand

      @Nullable public ItemStack getItemInHand()
    • getTargetBlock

      @Nonnull public Vector3i getTargetBlock()
    • setTargetBlock

      public void setTargetBlock(@Nonnull Vector3i targetBlock)
    • getRotation

      @Nonnull public RotationTuple getRotation()
    • setRotation

      public void setRotation(@Nonnull RotationTuple rotation)