Skip to content

PlaceBlockEvent

Package: com.hypixel.hytale.server.core.event.events.ecs

public class PlaceBlockEvent extends CancellableEcsEvent

A cancellable ECS event fired when the corresponding PlaceBlock action occurs.

ModifierTypeName
@Nullable private finalItemStackitemInHand
@Nonnull privateVector3itargetBlock
@Nonnull privateRotationTuplerotation
ModifierReturn TypeSignature
publicPlaceBlockEvent(@Nullable ItemStack itemInHand, @Nonnull Vector3i targetBlock, @Nonnull RotationTuple rotation)
@Nullable publicItemStackgetItemInHand()
@Nonnull publicVector3igetTargetBlock()
publicvoidsetTargetBlock(@Nonnull Vector3i targetBlock)
@Nonnull publicRotationTuplegetRotation()
publicvoidsetRotation(@Nonnull RotationTuple rotation)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.