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 fhh
intermediary net/minecraft/class_742
named net/minecraft/client/network/AbstractClientPlayerEntity
  • Field Details

    • SKIN_URL

      private static final String SKIN_URL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cj Lfhh;cj:Ljava/lang/String;
      intermediary field_32666 Lnet/minecraft/class_742;field_32666:Ljava/lang/String;
      named SKIN_URL Lnet/minecraft/client/network/AbstractClientPlayerEntity;SKIN_URL:Ljava/lang/String;
    • playerListEntry

      @Nullable private @Nullable PlayerListEntry playerListEntry
      Mappings:
      Namespace Name Mixin selector
      official ck Lfhh;ck:Lfdo;
      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 Lfhh;b:Lede;
      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 Lfhh;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 Lfhh;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 Lfhh;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 Lfhh;f:Lfdj;
      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> Lfhh;<init>(Lfdj;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 F_ Lbfh;F_()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 Lbym;f()Z
      intermediary method_7337 Lnet/minecraft/class_1657;method_7337()Z
      named isCreative Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
    • canRenderCapeTexture

      public boolean canRenderCapeTexture()
      Mappings:
      Namespace Name Mixin selector
      official a Lfhh;a()Z
      intermediary method_3125 Lnet/minecraft/class_742;method_3125()Z
      named canRenderCapeTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;canRenderCapeTexture()Z
    • getPlayerListEntry

      @Nullable protected @Nullable PlayerListEntry getPlayerListEntry()
      Mappings:
      Namespace Name Mixin selector
      official b Lfhh;b()Lfdo;
      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 Lbfh;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 A Lfhh;A(F)Lede;
      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;
    • hasSkinTexture

      public boolean hasSkinTexture()
      Mappings:
      Namespace Name Mixin selector
      official c Lfhh;c()Z
      intermediary method_3127 Lnet/minecraft/class_742;method_3127()Z
      named hasSkinTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;hasSkinTexture()Z
    • getSkinTexture

      public Identifier getSkinTexture()
      Mappings:
      Namespace Name Mixin selector
      official d Lfhh;d()Ladd;
      intermediary method_3117 Lnet/minecraft/class_742;method_3117()Lnet/minecraft/class_2960;
      named getSkinTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSkinTexture()Lnet/minecraft/util/Identifier;
    • getCapeTexture

      @Nullable public @Nullable Identifier getCapeTexture()
      Mappings:
      Namespace Name Mixin selector
      official e Lfhh;e()Ladd;
      intermediary method_3119 Lnet/minecraft/class_742;method_3119()Lnet/minecraft/class_2960;
      named getCapeTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;getCapeTexture()Lnet/minecraft/util/Identifier;
    • canRenderElytraTexture

      public boolean canRenderElytraTexture()
      Mappings:
      Namespace Name Mixin selector
      official h Lfhh;h()Z
      intermediary method_3126 Lnet/minecraft/class_742;method_3126()Z
      named canRenderElytraTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;canRenderElytraTexture()Z
    • getElytraTexture

      @Nullable public @Nullable Identifier getElytraTexture()
      Mappings:
      Namespace Name Mixin selector
      official i Lfhh;i()Ladd;
      intermediary method_3122 Lnet/minecraft/class_742;method_3122()Lnet/minecraft/class_2960;
      named getElytraTexture Lnet/minecraft/client/network/AbstractClientPlayerEntity;getElytraTexture()Lnet/minecraft/util/Identifier;
    • loadSkin

      public static void loadSkin(Identifier id, String playerName)
      Mappings:
      Namespace Name Mixin selector
      official a Lfhh;a(Ladd;Ljava/lang/String;)V
      intermediary method_3120 Lnet/minecraft/class_742;method_3120(Lnet/minecraft/class_2960;Ljava/lang/String;)V
      named loadSkin Lnet/minecraft/client/network/AbstractClientPlayerEntity;loadSkin(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V
    • getSkinId

      public static Identifier getSkinId(String playerName)
      Mappings:
      Namespace Name Mixin selector
      official c Lfhh;c(Ljava/lang/String;)Ladd;
      intermediary method_3124 Lnet/minecraft/class_742;method_3124(Ljava/lang/String;)Lnet/minecraft/class_2960;
      named getSkinId Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSkinId(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
    • getModel

      public String getModel()
      Mappings:
      Namespace Name Mixin selector
      official m Lfhh;m()Ljava/lang/String;
      intermediary method_3121 Lnet/minecraft/class_742;method_3121()Ljava/lang/String;
      named getModel Lnet/minecraft/client/network/AbstractClientPlayerEntity;getModel()Ljava/lang/String;
    • getFovMultiplier

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