Class AbstractClientPlayerEntity

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

@Environment(CLIENT)
public abstract class AbstractClientPlayerEntity
extends PlayerEntity
  • Field Details

    • cachedScoreboardEntry

      private PlayerListEntry cachedScoreboardEntry
    • elytraPitch

      public float elytraPitch
    • elytraYaw

      public float elytraYaw
    • elytraRoll

      public float elytraRoll
    • clientWorld

      public final ClientWorld clientWorld
  • Constructor Details

    • AbstractClientPlayerEntity

      public AbstractClientPlayerEntity​(ClientWorld world, com.mojang.authlib.GameProfile profile)
  • Method Details

    • isSpectator

      public boolean isSpectator()
      Specified by:
      isSpectator in class PlayerEntity
    • isCreative

      public boolean isCreative()
      Returns whether this player is in creative mode.
      Specified by:
      isCreative in class PlayerEntity
    • canRenderCapeTexture

      public boolean canRenderCapeTexture()
    • getPlayerListEntry

      @Nullable protected PlayerListEntry getPlayerListEntry()
    • hasSkinTexture

      public boolean hasSkinTexture()
    • getSkinTexture

      public Identifier getSkinTexture()
    • getCapeTexture

      @Nullable public Identifier getCapeTexture()
    • canRenderElytraTexture

      public boolean canRenderElytraTexture()
    • getElytraTexture

      @Nullable public Identifier getElytraTexture()
    • loadSkin

      public static PlayerSkinTexture loadSkin​(Identifier id, String playerName)
    • getSkinId

      public static Identifier getSkinId​(String playerName)
    • getModel

      public String getModel()
    • getSpeed

      public float getSpeed()