Class AbstractClientPlayerEntity

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

@Environment(CLIENT) public abstract class AbstractClientPlayerEntity extends PlayerEntity
Mappings:
Namespace Name
official eyt
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 f Leyt;f: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 co Leyt;co:Leuz;
      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;
    • elytraPitch

      public float elytraPitch
      Mappings:
      Namespace Name Mixin selector
      official b Leyt;b: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 c Leyt;c: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 d Leyt;d: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 e Leyt;e:Leuv;
      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, @Nullable @Nullable PlayerPublicKey publicKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyt;<init>(Leuv;Lcom/mojang/authlib/GameProfile;Lbuf;)V
      intermediary <init> Lnet/minecraft/class_742;<init>(Lnet/minecraft/class_638;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_7428;)V
      named <init> Lnet/minecraft/client/network/AbstractClientPlayerEntity;<init>(Lnet/minecraft/client/world/ClientWorld;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/network/encryption/PlayerPublicKey;)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 B_ Lbbn;B_()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 Lbuc;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 Leyt;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 Leyt;b()Leuz;
      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;
    • hasSkinTexture

      public boolean hasSkinTexture()
      Mappings:
      Namespace Name Mixin selector
      official c Leyt;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 Leyt;d()Labb;
      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 Leyt;e()Labb;
      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 g Leyt;g()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 l Leyt;l()Labb;
      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 Leyt;a(Labb;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 Leyt;c(Ljava/lang/String;)Labb;
      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 n Leyt;n()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 Leyt;o()F
      intermediary method_3118 Lnet/minecraft/class_742;method_3118()F
      named getFovMultiplier Lnet/minecraft/client/network/AbstractClientPlayerEntity;getFovMultiplier()F