Class ServerPlayer

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

public class ServerPlayer extends Player
  • 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:
    • FLY_STAT_RECORDING_SPEED

      private static final int FLY_STAT_RECORDING_SPEED
      See Also:
    • INTERACTION_DISTANCE_VERIFICATION_BUFFER

      public static final double INTERACTION_DISTANCE_VERIFICATION_BUFFER
      See Also:
    • CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER

      private static final AttributeModifier CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
    • CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER

      private static final AttributeModifier CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
    • 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
    • spawnExtraParticlesOnFall

      private boolean spawnExtraParticlesOnFall
    • wardenSpawnTracker

      private WardenSpawnTracker wardenSpawnTracker
    • raidOmenPosition

      @Nullable private BlockPos raidOmenPosition
    • containerSynchronizer

      private final ContainerSynchronizer containerSynchronizer
    • containerListener

      private final ContainerListener containerListener
    • chatSession

      @Nullable private RemoteChatSession chatSession
    • object

      @Nullable public final Object object
    • 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