Class EventMove
java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.player.EventMove
- All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable
- Direct Known Subclasses:
EventMove.Mount
public class EventMove
extends org.rusherhack.core.event.type.EventCancellable
This event is called when the player is moving
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This event is called when an entity carrying the player is moving -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3
org.rusherhack.core.event.stage.Stage
double
getX()
double
getY()
double
getZ()
void
setMotion
(double x, double y, double z) void
setMotion
(net.minecraft.world.phys.Vec3 motion) void
setX
(double x) void
setY
(double y) void
setZ
(double z) Methods inherited from class org.rusherhack.core.event.type.EventCancellable
isCancelled, setCancelled
Methods inherited from class org.rusherhack.core.event.type.Event
getStage, setStage
-
Constructor Details
-
EventMove
public EventMove(net.minecraft.world.phys.Vec3 motion)
-
-
Method Details
-
getX
public double getX() -
setX
public void setX(double x) -
getY
public double getY() -
setY
public void setY(double y) -
getZ
public double getZ() -
setZ
public void setZ(double z) -
getMotion
public net.minecraft.world.phys.Vec3 getMotion() -
setMotion
public void setMotion(net.minecraft.world.phys.Vec3 motion) -
setMotion
public void setMotion(double x, double y, double z) -
getPreferredStage
public org.rusherhack.core.event.stage.Stage getPreferredStage()- Overrides:
getPreferredStage
in classorg.rusherhack.core.event.type.Event
-