Class AbstractClientPlayer

All Implemented Interfaces:
CommandSource, Attackable, EntityAccess, Nameable, ScoreHolder, IAttachmentHolder, IEntityExtension, ILivingEntityExtension, IPlayerExtension, INBTSerializable<CompoundTag>
Direct Known Subclasses:
LocalPlayer, RemotePlayer

public abstract class AbstractClientPlayer extends Player
  • Field Details

    • 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
  • 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
    • getPlayerInfo

      @Nullable protected PlayerInfo getPlayerInfo()
    • tick

      public void tick()
      Overrides:
      tick in class Player
    • getDeltaMovementLerped

      public Vec3 getDeltaMovementLerped(float p_272943_)
    • getSkin

      public PlayerSkin getSkin()
    • getFieldOfViewModifier

      public float getFieldOfViewModifier()