Class ExpandAbilities
java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.player.ExpandAbilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatgetFlyingSpeed(net.minecraft.world.entity.player.Abilities internal) Gets the flying speed of the player.static floatgetWalkingSpeed(net.minecraft.world.entity.player.Abilities internal) Gets the walking speed of the player.static voidsetFlyingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0) Sets the flying speed of the player.static voidsetWalkingSpeed(net.minecraft.world.entity.player.Abilities internal, float param0) Sets the walking speed of the player.
-
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.
-