类 AbstractClientPlayer

所有已实现的接口:
CommandSource, Attackable, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, IForgeLivingEntity, IForgePlayer, INBTSerializable<CompoundTag>
直接已知子类:
LocalPlayer, RemotePlayer

public abstract class AbstractClientPlayer extends Player
  • 字段详细资料

    • SKIN_URL_TEMPLATE

      private static final String SKIN_URL_TEMPLATE
      另请参阅:
    • playerInfo

      @Nullable private PlayerInfo playerInfo
    • deltaMovementOnPreviousTick

      protected Vec3 deltaMovementOnPreviousTick
    • elytraRotX

      public float elytraRotX
    • elytraRotY

      public float elytraRotY
    • elytraRotZ

      public float elytraRotZ
    • clientLevel

      public final ClientLevel clientLevel
  • 构造器详细资料

    • AbstractClientPlayer

      public AbstractClientPlayer(ClientLevel pClientLevel, com.mojang.authlib.GameProfile pGameProfile)
  • 方法详细资料

    • isSpectator

      public boolean isSpectator()
      指定者:
      isSpectator 在类中 Player
    • isCreative

      public boolean isCreative()
      指定者:
      isCreative 在类中 Player
    • isCapeLoaded

      public boolean isCapeLoaded()
    • getPlayerInfo

      @Nullable protected PlayerInfo getPlayerInfo()
    • tick

      public void tick()
      覆盖:
      tick 在类中 Player
    • getDeltaMovementLerped

      public Vec3 getDeltaMovementLerped(float pPatialTick)
    • 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 pTextureLocation, String pName)
    • getSkinLocation

      public static ResourceLocation getSkinLocation(String pUsername)
    • getModelName

      public String getModelName()
    • getFieldOfViewModifier

      public float getFieldOfViewModifier()