Class RideAnimation
java.lang.Object
me.c7dev.dexterity.displays.animation.Animation
me.c7dev.dexterity.displays.animation.RideAnimation
- All Implemented Interfaces:
RideableAnimation
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dismount()
org.bukkit.entity.Player
org.bukkit.util.Vector
double
getSpeed()
boolean
mount
(org.bukkit.entity.Player player) void
void
setSeatOffset
(org.bukkit.util.Vector v) void
setSpeed
(double blocks_per_second) void
setTeleportBackOnDismount
(boolean b) void
setXEnabled
(boolean b) void
setYEnabled
(boolean b) void
setZEnabled
(boolean b) 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
-
RideAnimation
-
-
Method Details
-
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
-
setXEnabled
public void setXEnabled(boolean b) -
setYEnabled
public void setYEnabled(boolean b) -
setZEnabled
public void setZEnabled(boolean b) -
setSpeed
public void setSpeed(double blocks_per_second) -
getSpeed
public double getSpeed() -
setTeleportBackOnDismount
public void setTeleportBackOnDismount(boolean b) -
setLookingMode
-
setSeatOffset
public void setSeatOffset(org.bukkit.util.Vector v) -
getSeatOffset
public org.bukkit.util.Vector getSeatOffset() -
stop
public void stop()
-