Class SitAnimation
java.lang.Object
me.c7dev.dexterity.displays.animation.Animation
me.c7dev.dexterity.displays.animation.SitAnimation
- All Implemented Interfaces:
RideableAnimation
,org.bukkit.event.Listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dismount()
org.bukkit.entity.Player
org.bukkit.util.Vector
boolean
mount
(org.bukkit.entity.Player player) void
onDismountEvent
(org.bukkit.event.entity.EntityDismountEvent e) void
void
void
setSeatOffset
(org.bukkit.util.Vector v) void
stop()
Methods inherited from class me.c7dev.dexterity.displays.animation.Animation
beforeFinish, beforePause, beforeStart, beforeStop, beforeUnpause, finish, getDisplay, getDuration, getFrameRate, getStartDelay, getSubsequentAnimations, isPaused, isStarted, kill, kill, reset, setFrameRate, setPaused, setRunnable, setStartDelay, setSubsequentAnimations, start, tick
-
Constructor Details
-
SitAnimation
-
-
Method Details
-
refreshMountedPlayer
public void refreshMountedPlayer() -
getMountedPlayer
public org.bukkit.entity.Player getMountedPlayer()- Specified by:
getMountedPlayer
in interfaceRideableAnimation
-
mount
public boolean mount(org.bukkit.entity.Player player) - Specified by:
mount
in interfaceRideableAnimation
-
dismount
public void dismount()- Specified by:
dismount
in interfaceRideableAnimation
-
setSeatOffset
public void setSeatOffset(org.bukkit.util.Vector v) -
getSeatOffset
public org.bukkit.util.Vector getSeatOffset() -
onDismountEvent
public void onDismountEvent(org.bukkit.event.entity.EntityDismountEvent e) -
onDisplayMove
-
stop
public void stop()
-