Class AbstractClientPlayer

All Implemented Interfaces:
CommandSource, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, IForgeLivingEntity, IForgePlayer, INBTSerializable<CompoundTag>
Direct Known Subclasses:
LocalPlayer, RemotePlayer

public abstract class AbstractClientPlayer extends Player
  • Field Details

    • SKIN_URL_TEMPLATE

      private static final String SKIN_URL_TEMPLATE
      See Also:
    • playerInfo

      @Nullable private PlayerInfo playerInfo
    • elytraRotX

      public float elytraRotX
    • elytraRotY

      public float elytraRotY
    • elytraRotZ

      public float elytraRotZ
    • clientLevel

      public final ClientLevel clientLevel
  • Constructor Details

    • AbstractClientPlayer

      public AbstractClientPlayer(ClientLevel p_250460_, com.mojang.authlib.GameProfile p_249912_)
  • Method Details

    • isSpectator

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

      public boolean isCreative()
      Specified by:
      isCreative in class Player
    • isCapeLoaded

      public boolean isCapeLoaded()
    • getPlayerInfo

      @Nullable protected PlayerInfo getPlayerInfo()
    • isSkinLoaded

      public boolean isSkinLoaded()
    • getSkinTextureLocation

      public ResourceLocation getSkinTextureLocation()
    • getCloakTextureLocation

      @Nullable public ResourceLocation getCloakTextureLocation()
    • isElytraLoaded

      public boolean isElytraLoaded()
    • getElytraTextureLocation

      @Nullable public ResourceLocation getElytraTextureLocation()
    • registerSkinTexture

      public static void registerSkinTexture(ResourceLocation p_172522_, String p_172523_)
    • getSkinLocation

      public static ResourceLocation getSkinLocation(String p_108557_)
    • getModelName

      public String getModelName()
    • getFieldOfViewModifier

      public float getFieldOfViewModifier()