Class PlayerAbilities

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

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

    • invulnerable

      public boolean invulnerable
      Mappings:
      Namespace Name Mixin selector
      official a Lbhi;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 Lbhi;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 Lbhi;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 Lbhi;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 Lbhi;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 Lbhi;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 Lbhi;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

    • serialize

      public void serialize​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhi;a(Lmq;)V
      intermediary method_7251 Lnet/minecraft/class_1656;method_7251(Lnet/minecraft/class_2487;)V
      named serialize Lnet/minecraft/entity/player/PlayerAbilities;serialize(Lnet/minecraft/nbt/CompoundTag;)V
    • deserialize

      public void deserialize​(CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official b Lbhi;b(Lmq;)V
      intermediary method_7249 Lnet/minecraft/class_1656;method_7249(Lnet/minecraft/class_2487;)V
      named deserialize Lnet/minecraft/entity/player/PlayerAbilities;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
    • getFlySpeed

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

      @Environment(CLIENT) public void setFlySpeed​(float flySpeed)
      Mappings:
      Namespace Name Mixin selector
      official a Lbhi;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 Lbhi;b()F
      intermediary method_7253 Lnet/minecraft/class_1656;method_7253()F
      named getWalkSpeed Lnet/minecraft/entity/player/PlayerAbilities;getWalkSpeed()F
    • setWalkSpeed

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