Contents
Class UseBlockEvent.Post
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent
com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent.Post
- Enclosing class:
UseBlockEvent
An event that is called after an entity interacts with a block in the world.
-
Nested Class Summary
Nested classes/interfaces inherited from class UseBlockEvent
UseBlockEvent.Post, UseBlockEvent.Pre -
Constructor Summary
ConstructorsConstructorDescriptionPost(InteractionType interactionType, InteractionContext context, org.joml.Vector3i targetBlock, BlockType blockType) Default Constructor for aUseBlockEvent.Postinstance. -
Method Summary
Methods inherited from class UseBlockEvent
getBlockType, getContext, getInteractionType, getTargetBlock
-
Constructor Details
-
Post
public Post(@Nonnull InteractionType interactionType, @Nonnull InteractionContext context, @Nonnull org.joml.Vector3i targetBlock, @Nonnull BlockType blockType) Default Constructor for aUseBlockEvent.Postinstance.- Parameters:
interactionType- The type of interaction being performed.context- The context of the interaction.targetBlock- The position of the block being interacted with.blockType- TheBlockTypeof the block being interacted with.
-