Class EntityPoseChangeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.EntityPoseChangeEvent

public class EntityPoseChangeEvent extends EntityEvent
Called when an entity changes its pose.
See Also:
  • Constructor Details

    • EntityPoseChangeEvent

      public EntityPoseChangeEvent(@NotNull Entity who, @NotNull Pose pose)
  • Method Details

    • getPose

      @NotNull public Pose getPose()
      Gets the entity's new pose.
      Returns:
      the new pose
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()