Class AbstractClientPlayerEntity

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

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

    • playerListEntry

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

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

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

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

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

      public final ClientWorld clientWorld
      Mappings:
      Namespace Name Mixin selector
      official f Lfnd;f:Lfix;
      intermediary field_17892 Lnet/minecraft/class_742;field_17892:Lnet/minecraft/class_638;
      named clientWorld Lnet/minecraft/client/network/AbstractClientPlayerEntity;clientWorld:Lnet/minecraft/client/world/ClientWorld;
  • Constructor Details

    • AbstractClientPlayerEntity

      public AbstractClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfnd;<init>(Lfix;Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_742;<init>(Lnet/minecraft/class_638;Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/client/network/AbstractClientPlayerEntity;<init>(Lnet/minecraft/client/world/ClientWorld;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
      official M_ Lbiq;M_()Z
      intermediary method_7325 Lnet/minecraft/class_1297;method_7325()Z
      named isSpectator Lnet/minecraft/entity/Entity;isSpectator()Z
    • isCreative

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

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

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class PlayerEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbiq;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • lerpVelocity

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

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

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