Class PlaceBlockEvent
java.lang.Object
com.hypixel.hytale.component.system.EcsEvent
com.hypixel.hytale.component.system.CancellableEcsEvent
com.hypixel.hytale.server.core.event.events.ecs.PlaceBlockEvent
- All Implemented Interfaces:
ICancellableEcsEvent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlaceBlockEvent(ItemStack itemInHand, Vector3i targetBlock, RotationTuple rotation) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRotation(RotationTuple rotation) voidsetTargetBlock(Vector3i targetBlock) Methods inherited from class com.hypixel.hytale.component.system.CancellableEcsEvent
isCancelled, setCancelled
-
Field Details
-
itemInHand
-
targetBlock
-
rotation
-
-
Constructor Details
-
PlaceBlockEvent
public PlaceBlockEvent(@Nullable ItemStack itemInHand, @Nonnull Vector3i targetBlock, @Nonnull RotationTuple rotation)
-
-
Method Details
-
getItemInHand
-
getTargetBlock
-
setTargetBlock
-
getRotation
-
setRotation
-