Class ServerPlayer

All Implemented Interfaces:
CommandSource, Attackable, EntityAccess, Nameable, ICapabilityProvider, ICapabilityProviderImpl<Entity>, ICapabilitySerializable<CompoundTag>, IForgeEntity, IForgeLivingEntity, IForgePlayer, IForgeServerPlayer, INBTSerializable<CompoundTag>

public class ServerPlayer extends Player implements IForgeServerPlayer
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_XZ

      private static final int NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_XZ
      See Also:
    • NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_Y

      private static final int NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_Y
      See Also:
    • connection

      public ServerGamePacketListenerImpl connection
    • server

      public final MinecraftServer server
    • gameMode

      public final ServerPlayerGameMode gameMode
    • advancements

      private final PlayerAdvancements advancements
    • stats

      private final ServerStatsCounter stats
    • lastRecordedHealthAndAbsorption

      private float lastRecordedHealthAndAbsorption
    • lastRecordedFoodLevel

      private int lastRecordedFoodLevel
    • lastRecordedAirLevel

      private int lastRecordedAirLevel
    • lastRecordedArmor

      private int lastRecordedArmor
    • lastRecordedLevel

      private int lastRecordedLevel
    • lastRecordedExperience

      private int lastRecordedExperience
    • lastSentHealth

      private float lastSentHealth
    • lastSentFood

      private int lastSentFood
    • lastFoodSaturationZero

      private boolean lastFoodSaturationZero
    • lastSentExp

      private int lastSentExp
    • spawnInvulnerableTime

      private int spawnInvulnerableTime
    • chatVisibility

      private ChatVisiblity chatVisibility
    • canChatColor

      private boolean canChatColor
    • lastActionTime

      private long lastActionTime
    • camera

      @Nullable private Entity camera
    • isChangingDimension

      private boolean isChangingDimension
    • seenCredits

      private boolean seenCredits
    • recipeBook

      private final ServerRecipeBook recipeBook
    • levitationStartPos

      @Nullable private Vec3 levitationStartPos
    • levitationStartTime

      private int levitationStartTime
    • disconnected

      private boolean disconnected
    • requestedViewDistance

      private int requestedViewDistance
    • language

      private String language
    • startingToFallPosition

      @Nullable private Vec3 startingToFallPosition
    • enteredNetherPosition

      @Nullable private Vec3 enteredNetherPosition
    • enteredLavaOnVehiclePosition

      @Nullable private Vec3 enteredLavaOnVehiclePosition
    • lastSectionPos

      private SectionPos lastSectionPos
    • chunkTrackingView

      private ChunkTrackingView chunkTrackingView
    • respawnDimension

      private ResourceKey<Level> respawnDimension
    • respawnPosition

      @Nullable private BlockPos respawnPosition
    • respawnForced

      private boolean respawnForced
    • respawnAngle

      private float respawnAngle
    • textFilter

      private final TextFilter textFilter
    • textFilteringEnabled

      private boolean textFilteringEnabled
    • allowsListing

      private boolean allowsListing
    • wardenSpawnTracker

      private WardenSpawnTracker wardenSpawnTracker
    • containerSynchronizer

      private final ContainerSynchronizer containerSynchronizer
    • containerListener

      private final ContainerListener containerListener
    • chatSession

      @Nullable private RemoteChatSession chatSession
    • containerCounter

      public int containerCounter
    • wonGame

      public boolean wonGame
    • tabListHeader

      private Component tabListHeader
    • tabListFooter

      private Component tabListFooter
    • hasTabListName

      private boolean hasTabListName
    • tabListDisplayName

      private Component tabListDisplayName
  • Constructor Details

  • Method Details