Class AbstractClientPlayerEntity

All Implemented Interfaces:
Attackable, DataTracked, ScoreHolder, CommandOutput, 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 gds
  • 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 g Lgds;g:Lfzk;
    • 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 b Lgds;b:Leww;
    • 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 c Lgds;c: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 d Lgds;d: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 e Lgds;e: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 f Lgds;f:Lfyz;
  • 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> Lgds;<init>(Lfyz;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 N_ Lbsq;N_()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 f Lcmv;f()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 Lgds;a()Lfzk;
    • 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 l Lbsq;l()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 F Lgds;F(F)Leww;
    • 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 b Lgds;b()Lgrf;
    • getFovMultiplier

      public float getFovMultiplier()
      Mappings:
      Namespace Name Mixin selector
      named getFovMultiplier Lnet/minecraft/client/network/AbstractClientPlayerEntity;getFovMultiplier()F
      intermediary method_3118 Lnet/minecraft/class_742;method_3118()F
      official c Lgds;c()F