Class AbstractClientPlayerEntity

All Implemented Interfaces:
Attackable, DataTracked, ScoreHolder, Nameable, EntityLike
Direct Known Subclasses:
ClientPlayerEntity, OtherClientPlayerEntity

@Environment(CLIENT) public abstract class AbstractClientPlayerEntity extends PlayerEntity
Mappings:
Namespace Name
named net/minecraft/client/network/AbstractClientPlayerEntity
intermediary net/minecraft/class_742
official gkd
  • Field Details

    • playerListEntry

      @Nullable private @Nullable PlayerListEntry playerListEntry
      Mappings:
      Namespace Name Mixin selector
      named playerListEntry Lnet/minecraft/client/network/AbstractClientPlayerEntity;playerListEntry:Lnet/minecraft/client/network/PlayerListEntry;
      intermediary field_3901 Lnet/minecraft/class_742;field_3901:Lnet/minecraft/class_640;
      official h Lgkd;h:Lgfv;
    • lastVelocity

      protected Vec3d lastVelocity
      Mappings:
      Namespace Name Mixin selector
      named lastVelocity Lnet/minecraft/client/network/AbstractClientPlayerEntity;lastVelocity:Lnet/minecraft/util/math/Vec3d;
      intermediary field_42906 Lnet/minecraft/class_742;field_42906:Lnet/minecraft/class_243;
      official a Lgkd;a:Lfbx;
    • elytraPitch

      public float elytraPitch
      Mappings:
      Namespace Name Mixin selector
      named elytraPitch Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraPitch:F
      intermediary field_3900 Lnet/minecraft/class_742;field_3900:F
      official b Lgkd;b:F
    • elytraYaw

      public float elytraYaw
      Mappings:
      Namespace Name Mixin selector
      named elytraYaw Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraYaw:F
      intermediary field_3899 Lnet/minecraft/class_742;field_3899:F
      official c Lgkd;c:F
    • elytraRoll

      public float elytraRoll
      Mappings:
      Namespace Name Mixin selector
      named elytraRoll Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraRoll:F
      intermediary field_3898 Lnet/minecraft/class_742;field_3898:F
      official d Lgkd;d:F
    • clientWorld

      public final ClientWorld clientWorld
      Mappings:
      Namespace Name Mixin selector
      named clientWorld Lnet/minecraft/client/network/AbstractClientPlayerEntity;clientWorld:Lnet/minecraft/client/world/ClientWorld;
      intermediary field_17892 Lnet/minecraft/class_742;field_17892:Lnet/minecraft/class_638;
      official e Lgkd;e:Lgfj;
    • lastDistanceMoved

      public float lastDistanceMoved
      Mappings:
      Namespace Name Mixin selector
      named lastDistanceMoved Lnet/minecraft/client/network/AbstractClientPlayerEntity;lastDistanceMoved:F
      intermediary field_53038 Lnet/minecraft/class_742;field_53038:F
      official f Lgkd;f:F
    • distanceMoved

      public float distanceMoved
      Mappings:
      Namespace Name Mixin selector
      named distanceMoved Lnet/minecraft/client/network/AbstractClientPlayerEntity;distanceMoved:F
      intermediary field_53039 Lnet/minecraft/class_742;field_53039:F
      official g Lgkd;g:F
  • Constructor Details

    • AbstractClientPlayerEntity

      public AbstractClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/network/AbstractClientPlayerEntity;<init>(Lnet/minecraft/client/world/ClientWorld;Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_742;<init>(Lnet/minecraft/class_638;Lcom/mojang/authlib/GameProfile;)V
      official <init> Lgkd;<init>(Lgfj;Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • isSpectator

      public boolean isSpectator()
      Returns whether the entity is a spectator.

      This returns false unless the entity is a player in spectator game mode.

      Specified by:
      isSpectator in class PlayerEntity
      Returns:
      whether the entity is a spectator
      Mappings:
      Namespace Name Mixin selector
      named isSpectator Lnet/minecraft/entity/Entity;isSpectator()Z
      intermediary method_7325 Lnet/minecraft/class_1297;method_7325()Z
      official aa_ Lbvj;aa_()Z
    • isCreative

      public boolean isCreative()
      Returns whether this player is in creative mode.
      Specified by:
      isCreative in class PlayerEntity
      Mappings:
      Namespace Name Mixin selector
      named isCreative Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
      intermediary method_7337 Lnet/minecraft/class_1657;method_7337()Z
      official b Lcpw;b()Z
    • getPlayerListEntry

      @Nullable protected @Nullable PlayerListEntry getPlayerListEntry()
      Mappings:
      Namespace Name Mixin selector
      named getPlayerListEntry Lnet/minecraft/client/network/AbstractClientPlayerEntity;getPlayerListEntry()Lnet/minecraft/client/network/PlayerListEntry;
      intermediary method_3123 Lnet/minecraft/class_742;method_3123()Lnet/minecraft/class_640;
      official a Lgkd;a()Lgfv;
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class PlayerEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to LivingEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official h Lbvj;h()V
    • lerpVelocity

      public Vec3d lerpVelocity(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      named lerpVelocity Lnet/minecraft/client/network/AbstractClientPlayerEntity;lerpVelocity(F)Lnet/minecraft/util/math/Vec3d;
      intermediary method_49339 Lnet/minecraft/class_742;method_49339(F)Lnet/minecraft/class_243;
      official I Lgkd;I(F)Lfbx;
    • getSkinTextures

      public SkinTextures getSkinTextures()
      Mappings:
      Namespace Name Mixin selector
      named getSkinTextures Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSkinTextures()Lnet/minecraft/client/util/SkinTextures;
      intermediary method_52814 Lnet/minecraft/class_742;method_52814()Lnet/minecraft/class_8685;
      official d Lgkd;d()Lhcl;
    • getFovMultiplier

      public float getFovMultiplier(boolean firstPerson, float fovEffectScale)
      Mappings:
      Namespace Name Mixin selector
      named getFovMultiplier Lnet/minecraft/client/network/AbstractClientPlayerEntity;getFovMultiplier(ZF)F
      intermediary method_3118 Lnet/minecraft/class_742;method_3118(ZF)F
      official a Lgkd;a(ZF)F