java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.player.ExpandAbilities

@ZenRegister public class ExpandAbilities extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static float
    getFlyingSpeed(net.minecraft.world.entity.player.Abilities internal)
    Gets the flying speed of the player.
    static float
    getWalkingSpeed(net.minecraft.world.entity.player.Abilities internal)
    Gets the walking speed of the player.
    static void
    setFlyingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0)
    Sets the flying speed of the player.
    static void
    setWalkingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0)
    Sets the walking speed of the player.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandAbilities

      public ExpandAbilities()
  • Method Details

    • getFlyingSpeed

      public static float getFlyingSpeed(net.minecraft.world.entity.player.Abilities internal)
      Gets the flying speed of the player.
      Returns:
      The flying speed of the player.
    • setFlyingSpeed

      public static void setFlyingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0)
      Sets the flying speed of the player.
      Parameters:
      param0 - The new flying speed of the player.
    • getWalkingSpeed

      public static float getWalkingSpeed(net.minecraft.world.entity.player.Abilities internal)
      Gets the walking speed of the player.
      Returns:
      The walking speed of the player.
    • setWalkingSpeed

      public static void setWalkingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0)
      Sets the walking speed of the player.
      Parameters:
      param0 - The new walking speed of the player.