Class UseBlockEvent.Post

Enclosing class:
UseBlockEvent

public static final class UseBlockEvent.Post extends UseBlockEvent
An event that is called after an entity interacts with a block in the world.
  • Constructor Details

    • Post

      public Post(@Nonnull InteractionType interactionType, @Nonnull InteractionContext context, @Nonnull org.joml.Vector3i targetBlock, @Nonnull BlockType blockType)
      Default Constructor for a UseBlockEvent.Post instance.
      Parameters:
      interactionType - The type of interaction being performed.
      context - The context of the interaction.
      targetBlock - The position of the block being interacted with.
      blockType - The BlockType of the block being interacted with.