Class PlayerAbilities

java.lang.Object
net.minecraft.entity.player.PlayerAbilities

public class PlayerAbilities extends Object
  • Field Details

    • invulnerable

      public boolean invulnerable
    • flying

      public boolean flying
    • mayfly

      public boolean mayfly
    • instabuild

      public boolean instabuild
    • mayBuild

      public boolean mayBuild
    • flyingSpeed

      private float flyingSpeed
    • walkingSpeed

      private float walkingSpeed
  • Constructor Details

    • PlayerAbilities

      public PlayerAbilities()
  • Method Details

    • addSaveData

      public void addSaveData(CompoundNBT p_75091_1_)
    • loadSaveData

      public void loadSaveData(CompoundNBT p_75095_1_)
    • getFlyingSpeed

      public float getFlyingSpeed()
    • setFlyingSpeed

      public void setFlyingSpeed(float p_195931_1_)
    • getWalkingSpeed

      public float getWalkingSpeed()
    • setWalkingSpeed

      public void setWalkingSpeed(float p_82877_1_)