Class BreakBlockEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.event.events.ecs.BreakBlockEvent
- All Implemented Interfaces:
ICancellableEcsEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBreakBlockEvent(ItemStack itemInHand, 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.BlockTypevoidsetTargetBlock(Vector3i targetBlock) Methods inherited from class com.hypixel.hytale.component.system.CancellableEcsEvent
isCancelled, setCancelled
-
Field Details
-
itemInHand
-
targetBlock
-
blockType
@Nonnull private final com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType
-
-
Constructor Details
-
BreakBlockEvent
-
-
Method Details
-
getItemInHand
-
getTargetBlock
-
getBlockType
@Nonnull public com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType getBlockType() -
setTargetBlock
-