Class Abilities

java.lang.Object
net.minecraft.world.entity.player.Abilities

public class Abilities 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

    • Abilities

      public Abilities()
  • Method Details

    • addSaveData

      public void addSaveData(CompoundTag p_35946_)
    • loadSaveData

      public void loadSaveData(CompoundTag p_35951_)
    • getFlyingSpeed

      public float getFlyingSpeed()
    • setFlyingSpeed

      public void setFlyingSpeed(float p_35944_)
    • getWalkingSpeed

      public float getWalkingSpeed()
    • setWalkingSpeed

      public void setWalkingSpeed(float p_35949_)