Package io.papermc.paper.event.player
Class PlayerArmSwingEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerAnimationEvent
io.papermc.paper.event.player.PlayerArmSwingEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionPlayerArmSwingEvent
(@NotNull Player player, @NotNull EquipmentSlot equipmentSlot) -
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerAnimationEvent
getAnimationType, getHandlerList, getHandlers, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
asynchronous, callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerArmSwingEvent
-
-
Method Details
-
getHand
Returns the hand of the arm swing.- Returns:
- the hand
-