Class PlayerAbilities

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

public class PlayerAbilities extends Object
Mappings:
Namespace Name
official cbr
intermediary net/minecraft/class_1656
named net/minecraft/entity/player/PlayerAbilities
  • Field Details

    • invulnerable

      public boolean invulnerable
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a:Z
      intermediary field_7480 Lnet/minecraft/class_1656;field_7480:Z
      named invulnerable Lnet/minecraft/entity/player/PlayerAbilities;invulnerable:Z
    • flying

      public boolean flying
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b:Z
      intermediary field_7479 Lnet/minecraft/class_1656;field_7479:Z
      named flying Lnet/minecraft/entity/player/PlayerAbilities;flying:Z
    • allowFlying

      public boolean allowFlying
      Mappings:
      Namespace Name Mixin selector
      official c Lcbr;c:Z
      intermediary field_7478 Lnet/minecraft/class_1656;field_7478:Z
      named allowFlying Lnet/minecraft/entity/player/PlayerAbilities;allowFlying:Z
    • creativeMode

      public boolean creativeMode
      Mappings:
      Namespace Name Mixin selector
      official d Lcbr;d:Z
      intermediary field_7477 Lnet/minecraft/class_1656;field_7477:Z
      named creativeMode Lnet/minecraft/entity/player/PlayerAbilities;creativeMode:Z
    • allowModifyWorld

      public boolean allowModifyWorld
      Mappings:
      Namespace Name Mixin selector
      official e Lcbr;e:Z
      intermediary field_7476 Lnet/minecraft/class_1656;field_7476:Z
      named allowModifyWorld Lnet/minecraft/entity/player/PlayerAbilities;allowModifyWorld:Z
    • flySpeed

      private float flySpeed
      Mappings:
      Namespace Name Mixin selector
      official f Lcbr;f:F
      intermediary field_7481 Lnet/minecraft/class_1656;field_7481:F
      named flySpeed Lnet/minecraft/entity/player/PlayerAbilities;flySpeed:F
    • walkSpeed

      private float walkSpeed
      Mappings:
      Namespace Name Mixin selector
      official g Lcbr;g:F
      intermediary field_7482 Lnet/minecraft/class_1656;field_7482:F
      named walkSpeed Lnet/minecraft/entity/player/PlayerAbilities;walkSpeed:F
  • Constructor Details

    • PlayerAbilities

      public PlayerAbilities()
  • Method Details

    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(Lqw;)V
      intermediary method_7251 Lnet/minecraft/class_1656;method_7251(Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/entity/player/PlayerAbilities;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b(Lqw;)V
      intermediary method_7249 Lnet/minecraft/class_1656;method_7249(Lnet/minecraft/class_2487;)V
      named readNbt Lnet/minecraft/entity/player/PlayerAbilities;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getFlySpeed

      public float getFlySpeed()
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a()F
      intermediary method_7252 Lnet/minecraft/class_1656;method_7252()F
      named getFlySpeed Lnet/minecraft/entity/player/PlayerAbilities;getFlySpeed()F
    • setFlySpeed

      public void setFlySpeed(float flySpeed)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a(F)V
      intermediary method_7248 Lnet/minecraft/class_1656;method_7248(F)V
      named setFlySpeed Lnet/minecraft/entity/player/PlayerAbilities;setFlySpeed(F)V
    • getWalkSpeed

      public float getWalkSpeed()
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b()F
      intermediary method_7253 Lnet/minecraft/class_1656;method_7253()F
      named getWalkSpeed Lnet/minecraft/entity/player/PlayerAbilities;getWalkSpeed()F
    • setWalkSpeed

      public void setWalkSpeed(float walkSpeed)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbr;b(F)V
      intermediary method_7250 Lnet/minecraft/class_1656;method_7250(F)V
      named setWalkSpeed Lnet/minecraft/entity/player/PlayerAbilities;setWalkSpeed(F)V