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 Classes
    Modifier and Type
    Class
    Description
    static class 
    This event is called when an entity carrying the player is moving
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventMove(net.minecraft.world.phys.Vec3 motion)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.Vec3
     
    org.rusherhack.core.event.stage.Stage
     
    double
     
    double
     
    double
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.rusherhack.core.event.type.Event