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
Nested ClassesModifier and TypeClassDescriptionstatic classThis event is called when an entity carrying the player is moving -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.phys.Vec3org.rusherhack.core.event.stage.StagedoublegetX()doublegetY()doublegetZ()voidsetMotion(double x, double y, double z) voidsetMotion(net.minecraft.world.phys.Vec3 motion) voidsetX(double x) voidsetY(double y) voidsetZ(double z) Methods inherited from class org.rusherhack.core.event.type.EventCancellable
isCancelled, setCancelledMethods 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:
getPreferredStagein classorg.rusherhack.core.event.type.Event
-