Class PlayerAbilities

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

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

    • invulnerable

      public boolean invulnerable
      Mappings:
      Namespace Name Mixin selector
      official a Lbog;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 Lbog;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 Lbog;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 Lbog;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 Lbog;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 Lbog;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 Lbog;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 Lbog;a(Lok;)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 Lbog;b(Lok;)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 Lbog;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 Lbog;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 Lbog;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 Lbog;b(F)V
      intermediary method_7250 Lnet/minecraft/class_1656;method_7250(F)V
      named setWalkSpeed Lnet/minecraft/entity/player/PlayerAbilities;setWalkSpeed(F)V