Class UseBlockEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.server.core.event.events.ecs.UseBlockEvent
- Direct Known Subclasses:
UseBlockEvent.Post,UseBlockEvent.Pre
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockTypeprivate final InteractionContextprivate final InteractionTypeprivate final Vector3i -
Constructor Summary
ConstructorsConstructorDescriptionUseBlockEvent(InteractionType interactionType, InteractionContext context, Vector3i targetBlock, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType) -
Method Summary
Modifier and TypeMethodDescriptioncom.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType
-
Field Details
-
interactionType
-
context
-
targetBlock
-
blockType
@Nonnull private final com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType
-
-
Constructor Details
-
UseBlockEvent
public UseBlockEvent(@Nonnull InteractionType interactionType, @Nonnull InteractionContext context, @Nonnull Vector3i targetBlock, @Nonnull com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType)
-
-
Method Details
-
getInteractionType
-
getContext
-
getTargetBlock
-
getBlockType
@Nonnull public com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType getBlockType()
-