Class ControlState

java.lang.Object
com.soulfiremc.server.bot.ControlState

public final class ControlState extends Object
  • Constructor Details

    • ControlState

      public ControlState()
  • Method Details

    • resetWasd

      public void resetWasd()
    • resetAll

      public void resetAll()
    • up

      @NotNull public @NotNull ControlState up(boolean up)
      Returns:
      this.
    • down

      @NotNull public @NotNull ControlState down(boolean down)
      Returns:
      this.
    • left

      @NotNull public @NotNull ControlState left(boolean left)
      Returns:
      this.
    • right

      @NotNull public @NotNull ControlState right(boolean right)
      Returns:
      this.
    • jump

      @NotNull public @NotNull ControlState jump(boolean jump)
      Returns:
      this.
    • shift

      @NotNull public @NotNull ControlState shift(boolean shift)
      Returns:
      this.
    • sprint

      @NotNull public @NotNull ControlState sprint(boolean sprint)
      Returns:
      this.
    • up

      public boolean up()
    • down

      public boolean down()
    • left

      public boolean left()
    • right

      public boolean right()
    • jump

      public boolean jump()
    • shift

      public boolean shift()
    • sprint

      public boolean sprint()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object