net.minecraft.server.network

public class ServerPlayerEntity

extends PlayerEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, ContainerUser

net.minecraft.server.level.ServerPlayer
net.minecraft.class_3222
net.minecraft.server.network.ServerPlayerEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_13975
LOGGER
private static final int
NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_XZ
field_29769
field_29769
private static final int
NEUTRAL_MOB_DEATH_NOTIFICATION_RADII_Y
field_29770
field_29770
private static final int
FLY_STAT_RECORDING_SPEED
field_46928
field_46928
public static final double
BLOCK_INTERACTION_DISTANCE_VERIFICATION_BUFFER
field_54046
field_54046
public static final double
ENTITY_INTERACTION_DISTANCE_VERIFICATION_BUFFER
field_54047
field_54047
public static final int
ENDER_PEARL_TICKET_RADIUS
field_54207
field_54207
public static final String
ENDER_PEARLS_TAG
field_54209
ENDER_PEARLS_KEY
public static final String
ENDER_PEARL_DIMENSION_TAG
field_54210
ENDER_PEARLS_DIMENSION_KEY
public static final String
TAG_DIMENSION
field_60522
DIMENSION_KEY
private static final EntityAttributeModifier
CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
field_47709
CREATIVE_BLOCK_INTERACTION_RANGE_MODIFIER
private static final EntityAttributeModifier
CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
field_47710
CREATIVE_ENTITY_INTERACTION_RANGE_MODIFIER
private static final Text
SPAWN_SET_MESSAGE
field_56606
SET_SPAWN_TEXT
private static final EntityAttributeModifier
WAYPOINT_TRANSMIT_RANGE_CROUCH_MODIFIER
field_59631
WAYPOINT_TRANSMIT_RANGE_CROUCH_MODIFIER
private static final boolean
DEFAULT_SEEN_CREDITS
field_57112
DEFAULT_SEEN_CREDITS
private static final boolean
DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALL
field_57113
DEFAULT_SPAWN_EXTRA_PARTICLES_ON_FALL
public ServerPlayNetworkHandler
connection
field_13987
networkHandler
private final MinecraftServer
server
field_13995
server
public final ServerPlayerInteractionManager
gameMode
field_13974
interactionManager
private final PlayerAdvancementTracker
advancements
field_13970
advancementTracker
private final ServerStatHandler
stats
field_13966
statHandler
private float
lastRecordedHealthAndAbsorption
field_13963
lastHealthScore
private int
lastRecordedFoodLevel
field_13983
lastFoodScore
private int
lastRecordedAirLevel
field_13968
lastAirScore
private int
lastRecordedArmor
field_13982
lastArmorScore
private int
lastRecordedLevel
field_13965
lastLevelScore
private int
lastRecordedExperience
field_13980
lastExperienceScore
private float
lastSentHealth
field_13997
syncedHealth
private int
lastSentFood
field_13979
syncedFoodLevel
private boolean
lastFoodSaturationZero
field_13972
syncedSaturationIsZero
private int
lastSentExp
field_13978
syncedExperience
private ChatVisibility
chatVisibility
field_13993
clientChatVisibility
private ParticlesMode
particleStatus
field_52358
particlesMode
private boolean
canChatColor
field_13971
clientChatColorsEnabled
private long
lastActionTime
field_13976
lastActionTime
private Entity
camera
field_13984
cameraEntity
private boolean
isChangingDimension
field_13985
inTeleportationState
public boolean
seenCredits
field_13969
seenCredits
private final ServerRecipeBook
recipeBook
field_13996
recipeBook
private Vec3d
levitationStartPos
field_13992
levitationStartPos
private int
levitationStartTime
field_13973
levitationStartTick
private boolean
disconnected
field_13964
disconnected
private int
requestedViewDistance
field_44990
viewDistance
private String
language
field_46156
language
private Vec3d
startingToFallPosition
field_35007
fallStartPos
private Vec3d
enteredNetherPosition
field_13994
enteredNetherPos
private Vec3d
enteredLavaOnVehiclePosition
field_35008
vehicleInLavaRidingPos
private Vec3d
currentExplosionImpactPos
field_1_6398
lastExplosionImpactPos
private Entity
currentExplosionCause
field_1_6397
lastExplosionCause
private ChunkSectionPos
lastSectionPos
field_13990
watchedSection
private ChunkFilter
chunkTrackingView
field_44991
chunkFilter
private ServerPlayerEntity$Respawn
respawnConfig
field_56607
respawn
private final TextStream
textFilter
field_26821
textStream
private boolean
textFilteringEnabled
field_28860
filterText
private boolean
allowsListing
field_35566
allowServerListing
private boolean
spawnExtraParticlesOnFall
field_49776
spawnExtraParticlesOnFall
private SculkShriekerWarningManager
wardenSpawnTracker
field_39985
sculkShriekerWarningManager
private BlockPos
raidOmenPosition
field_50088
startRaidPos
private Vec3d
lastKnownClientMovement
field_51875
movement
private PlayerInput
lastClientInput
field_54048
playerInput
private final Set<EnderPearlEntity>
enderPearls
field_54208
enderPearls
private long
timeEntitySatOnShoulder
field_62503
shoulderMountTime
private NbtCompound
shoulderEntityLeft
field_62504
leftShoulderNbt
private NbtCompound
shoulderEntityRight
field_62505
rightShoulderNbt
private final ScreenHandlerSyncHandler
containerSynchronizer
field_29180
screenHandlerSyncHandler
private final ScreenHandlerListener
containerListener
field_29181
screenHandlerListener
private PublicPlayerSession
chatSession
field_39986
session
public final Object
object
field_49777
field_49777
private final CommandOutput
commandSource
field_54402
commandOutput
private Set<DebugSubscriptionType<?>>
requestedDebugSubscriptions
field_62842
subscribedTypes
private int
containerCounter
field_13986
screenHandlerSyncId
public boolean
wonGame
field_13989
notInAnyWorld

Constructor summary

ModifierConstructor
public (MinecraftServer server, ServerWorld world, com.mojang.authlib.GameProfile profile, SyncedClientOptions clientOptions)

Method summary

Modifier and TypeMethod
public BlockPos
adjustSpawnLocation(ServerLevel level, BlockPos spawnSuggestion)
method_14245(class_3218 arg0, class_2338 arg1)
getWorldSpawnPos(ServerWorld arg0, BlockPos arg1)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
private void
saveParentVehicle(ValueOutput playerOutput)
method_64135(class_11372 arg0)
writeRootVehicle(WriteView view)
public void
loadAndSpawnParentVehicle(ValueInput playerInput)
method_64125(class_11368 arg0)
readRootVehicle(ReadView view)
private void
saveEnderPearls(ValueOutput playerOutput)
method_64136(class_11372 arg0)
writeEnderPearls(WriteView view)
public void
loadAndSpawnEnderPearls(ValueInput playerInput)
method_64131(class_11368 arg0)
readEnderPearls(ReadView view)
private void
loadAndSpawnEnderPearl(ValueInput pearlInput)
method_68175(class_11368 arg0)
readEnderPearl(ReadView view)
public void
setExperiencePoints(int amount)
method_14228(int arg0)
setExperiencePoints(int points)
public void
setExperienceLevels(int amount)
method_14252(int arg0)
setExperienceLevel(int level)
public void
giveExperienceLevels(int amount)
method_7316(int arg0)
addExperienceLevels(int arg0)
public void
onEnchantmentPerformed(ItemStack itemStack, int enchantmentCost)
method_7286(class_1799 arg0, int arg1)
applyEnchantmentCosts(ItemStack arg0, int arg1)
private void
initMenu(AbstractContainerMenu container)
method_14235(class_1703 arg0)
onScreenHandlerOpened(ScreenHandler screenHandler)
public void
initInventoryMenu()
method_34225()
onSpawn()
public void
onEnterCombat()
method_6000()
enterCombat()
public void
onLeaveCombat()
method_6044()
endCombat()
public void
onInsideBlock(BlockState state)
method_5622(class_2680 arg0)
onBlockCollision(BlockState arg0)
protected ItemCooldownManager
createItemCooldowns()
method_7265()
createCooldownManager()
public void
tick()
method_5773()
tick()
private void
updatePlayerAttributes()
method_55633()
updateCreativeInteractionRangeModifiers()
public void
doTick()
method_14226()
playerTick()
private void
synchronizeSpecialItemUpdates(ItemStack itemStack)
method_64134(class_1799 arg0)
sendMapPacket(ItemStack stack)
protected void
tickRegeneration()
method_64400()
tickHunger()
public void
handleShoulderEntities()
method_74082()
handleShoulderEntities()
private void
playShoulderEntityAmbientSound(CompoundTag shoulderEntityTag)
method_74079(class_2487 arg0)
playShoulderEntitySound(NbtCompound nbt)
public boolean
setEntityOnShoulder(CompoundTag entityTag)
method_74073(class_2487 arg0)
mountOntoShoulder(NbtCompound shoulderNbt)
protected void
removeEntitiesOnShoulder()
method_7262()
dropShoulderEntities()
private void
respawnEntityOnShoulder(CompoundTag tag)
method_74080(class_2487 arg0)
spawnShoulderEntity(NbtCompound nbt)
public void
resetFallDistance()
method_38785()
onLanding()
public void
trackStartFallingPosition()
method_38786()
tickFallStartPos()
public void
trackEnteredOrExitedLavaOnVehicle()
method_38787()
tickVehicleInLavaRiding()
private void
updateScoreForCriteria(ObjectiveCriteria criteria, int value)
method_14212(class_274 arg0, int arg1)
updateScores(ScoreboardCriterion criterion, int score)
public void
die(DamageSource source)
method_6078(class_1282 arg0)
onDeath(DamageSource arg0)
private void
tellNeutralMobsThatIDied()
method_29779()
forgiveMobAnger()
public void
awardKillScore(Entity victim, DamageSource killingBlow)
method_5716(class_1297 arg0, class_1282 arg1)
updateKilledAdvancementCriterion(Entity arg0, DamageSource arg1)
private void
handleTeamKill(ScoreHolder source, ScoreHolder target, Map<TeamColor, ObjectiveCriteria> criteriaByTeam)
method_14227(class_9015 arg0, class_9015 arg1, Map<class_1_851, class_274> arg2)
updateScoreboardScore(ScoreHolder targetScoreHolder, ScoreHolder aboutScoreHolder, Map<TeamColor, ScoreboardCriterion> arg2)
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public boolean
canHarmPlayer(Player target)
method_7256(class_1657 arg0)
shouldDamagePlayer(PlayerEntity arg0)
private boolean
isPvpAllowed()
method_14230()
isPvpEnabled()
public TeleportTarget
findRespawnPositionAndUseSpawnBlock(boolean consumeSpawnBlock, TeleportTransition$PostTeleportTransition postTeleportTransition)
method_60590(boolean arg0, class_5454$class_9823 arg1)
getRespawnTarget(boolean alive, TeleportTarget$PostDimensionTransition postDimensionTransition)
public boolean
isReceivingWaypoints()
method_70637()
canReceiveWaypoints()
protected void
onAttributeUpdated(Holder<Attribute> attribute)
method_52540(class_6880<class_1320> arg0)
updateAttribute(RegistryEntry<EntityAttribute> arg0)
private static Optional<ServerPlayerEntity$RespawnPos>
findRespawnAndUseSpawnBlock(ServerLevel level, ServerPlayer$RespawnConfig respawnConfig, boolean consumeSpawnBlock)
method_60588(class_3218 arg0, class_3222$class_10766 arg1, boolean arg2)
findRespawnPosition(ServerWorld world, ServerPlayerEntity$Respawn respawn, boolean arg2)
public void
showEndCredits()
method_60594()
detachForDimensionChange()
public ServerPlayerEntity
teleport(TeleportTransition transition)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)
public void
forceSetRotation(float yRot, boolean relativeY, float xRot, boolean relativeX)
method_64578(float arg0, boolean arg1, float arg2, boolean arg3)
rotate(float arg0, boolean arg1, float arg2, boolean arg3)
private void
triggerDimensionChangeTriggers(ServerLevel oldLevel)
method_18783(class_3218 arg0)
worldChanged(ServerWorld origin)
public boolean
broadcastToPlayer(ServerPlayer player)
method_5680(class_3222 arg0)
canBeSpectated(ServerPlayerEntity arg0)
public void
take(Entity entity, int orgCount)
method_6103(class_1297 arg0, int arg1)
sendPickup(Entity arg0, int arg1)
public com.mojang.datafixers.util.Either<PlayerEntity$SleepFailureReason, Unit>
startSleepInBed(BlockPos pos)
method_7269(class_2338 arg0)
trySleep(BlockPos arg0)
public void
startSleeping(BlockPos bedPosition)
method_18403(class_2338 arg0)
sleep(BlockPos arg0)
private boolean
bedInRange(BlockPos pos, Direction direction)
method_26285(class_2338 arg0, class_2350 arg1)
isBedWithinRange(BlockPos pos, Direction direction)
private boolean
isReachableBedBlock(BlockPos bedBlockPos)
method_26287(class_2338 arg0)
isBedWithinRange(BlockPos pos)
private boolean
bedBlocked(BlockPos pos, Direction direction)
method_26286(class_2338 arg0, class_2350 arg1)
isBedObstructed(BlockPos pos, Direction direction)
public void
stopSleepInBed(boolean forcefulWakeUp, boolean updateLevelList)
method_7358(boolean arg0, boolean arg1)
wakeUp(boolean arg0, boolean arg1)
public boolean
isInvulnerableTo(ServerLevel level, DamageSource source)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
protected void
onChangedBlock(ServerLevel level, BlockPos pos)
method_6126(class_3218 arg0, class_2338 arg1)
applyMovementEffects(ServerWorld arg0, BlockPos arg1)
protected void
checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public void
onExplosionHit(Entity explosionCausedBy)
method_56918(class_1297 arg0)
onExplodedBy(Entity arg0)
protected void
pushEntities()
method_6070()
tickCramming()
public void
openTextEdit(SignBlockEntity sign, boolean isFrontText)
method_7311(class_2625 arg0, boolean arg1)
openEditSignScreen(SignBlockEntity arg0, boolean arg1)
public void
openDialog(Holder<Dialog> dialog)
method_71753(class_6880<class_11419> arg0)
openDialog(RegistryEntry<Dialog> arg0)
private void
nextContainerCounter()
method_14237()
incrementScreenHandlerSyncId()
public OptionalInt
openMenu(MenuProvider provider)
method_17355(class_3908 arg0)
openHandledScreen(NamedScreenHandlerFactory arg0)
public void
sendMerchantOffers(int containerId, MerchantOffers offers, int merchantLevel, int merchantXp, boolean showProgressBar, boolean canRestock)
method_17354(int arg0, class_1916 arg1, int arg2, int arg3, boolean arg4, boolean arg5)
sendTradeOffers(int arg0, TradeOfferList arg1, int arg2, int arg3, boolean arg4, boolean arg5)
public void
openHorseInventory(AbstractHorse horse, Container container)
method_7291(class_1496 arg0, class_1263 arg1)
openHorseInventory(AbstractHorseEntity arg0, Inventory arg1)
public void
openNautilusInventory(AbstractNautilus nautilus, Container container)
method_76575(class_12116 arg0, class_1263 arg1)
openNautilusInventory(AbstractNautilusEntity arg0, Inventory arg1)
public void
openItemGui(ItemStack itemStack, InteractionHand hand)
method_7315(class_1799 arg0, class_1268 arg1)
useBook(ItemStack arg0, Hand arg1)
public void
openCommandBlock(CommandBlockEntity commandBlock)
method_7323(class_2593 arg0)
openCommandBlockScreen(CommandBlockBlockEntity arg0)
public void
closeContainer()
method_7346()
closeHandledScreen()
public void
doCloseContainer()
method_14247()
onHandledScreenClosed()
public void
rideTick()
method_5842()
tickRiding()
public void
checkMovementStatistics(double dx, double dy, double dz)
method_54720(double arg0, double arg1, double arg2)
increaseTravelMotionStats(double deltaX, double deltaY, double deltaZ)
private void
checkRidingStatistics(double dx, double dy, double dz)
method_54721(double arg0, double arg1, double arg2)
increaseRidingMotionStats(double deltaX, double deltaY, double deltaZ)
private static boolean
didNotMove(double dx, double dy, double dz)
method_54722(double arg0, double arg1, double arg2)
isZero(double deltaX, double deltaY, double deltaZ)
public void
awardStat(Stat<?> stat, int count)
method_7342(class_3445<?> arg0, int arg1)
increaseStat(Stat<?> arg0, int arg1)
public void
resetStat(Stat<?> stat)
method_7266(class_3445<?> arg0)
resetStat(Stat<?> arg0)
public int
awardRecipes(Collection<RecipeHolder<?>> recipes)
method_7254(Collection<class_8786<?>> arg0)
unlockRecipes(Collection<RecipeEntry<?>> arg0)
public void
triggerRecipeCrafted(RecipeHolder<?> recipe, List<ItemStack> itemStacks)
method_51283(class_8786<?> arg0, List<class_1799> arg1)
onRecipeCrafted(RecipeEntry<?> arg0, List<ItemStack> arg1)
public void
awardRecipesByKey(List<ResourceKey<Recipe<?>>> recipeIds)
method_7335(List<class_5321<class_1860<?>>> arg0)
unlockRecipes(List<RegistryKey<Recipe<?>>> arg0)
public int
resetRecipes(Collection<RecipeHolder<?>> recipe)
method_7333(Collection<class_8786<?>> arg0)
lockRecipes(Collection<RecipeEntry<?>> arg0)
public void
jumpFromGround()
method_6043()
jump()
public void
giveExperiencePoints(int i)
method_7255(int arg0)
addExperience(int arg0)
public void
disconnect()
method_14231()
onDisconnect()
public boolean
hasDisconnected()
method_14239()
isDisconnected()
public void
resetSentInfo()
method_14217()
markHealthDirty()
protected void
completeUsingItem()
method_6040()
consumeItem()
public void
lookAt(EntityAnchorArgument$Anchor anchor, Vec3 pos)
method_5702(class_2183$class_2184 arg0, class_243 arg1)
lookAt(EntityAnchorArgumentType$EntityAnchor arg0, Vec3d arg1)
public void
lookAt(EntityAnchorArgument$Anchor fromAnchor, Entity entity, EntityAnchorArgument$Anchor toAnchor)
method_14222(class_2183$class_2184 arg0, class_1297 arg1, class_2183$class_2184 arg2)
lookAtEntity(EntityAnchorArgumentType$EntityAnchor anchorPoint, Entity targetEntity, EntityAnchorArgumentType$EntityAnchor targetAnchor)
public void
restoreFrom(ServerPlayer oldPlayer, boolean restoreAll)
method_14203(class_3222 arg0, boolean arg1)
copyFrom(ServerPlayerEntity oldPlayer, boolean alive)
private void
transferInventoryXpAndScore(Player oldPlayer)
method_76789(class_1657 arg0)
copyInventoryAndExperienceFrom(PlayerEntity other)
protected void
onEffectAdded(MobEffectInstance effect, Entity source)
method_6020(class_1293 arg0, class_1297 arg1)
onStatusEffectApplied(StatusEffectInstance arg0, Entity arg1)
protected void
onEffectUpdated(MobEffectInstance effect, boolean doRefreshAttributes, Entity source)
method_6009(class_1293 arg0, boolean arg1, class_1297 arg2)
onStatusEffectUpgraded(StatusEffectInstance arg0, boolean arg1, Entity arg2)
protected void
onEffectsRemoved(Collection<MobEffectInstance> effects)
method_6129(Collection<class_1293> arg0)
onStatusEffectsRemoved(Collection<StatusEffectInstance> arg0)
public void
teleportTo(double x, double y, double z)
method_5859(double arg0, double arg1, double arg2)
requestTeleport(double arg0, double arg1, double arg2)
public void
teleportRelative(double dx, double dy, double dz)
method_45166(double arg0, double arg1, double arg2)
requestTeleportOffset(double arg0, double arg1, double arg2)
public boolean
teleportTo(ServerLevel level, double x, double y, double z, Set<Relative> relatives, float newYRot, float newXRot, boolean resetCamera)
method_48105(class_3218 arg0, double arg1, double arg2, double arg3, Set<class_2709> arg4, float arg5, float arg6, boolean arg7)
teleport(ServerWorld arg0, double arg1, double arg2, double arg3, Set<PositionFlag> arg4, float arg5, float arg6, boolean arg7)
public void
snapTo(double x, double y, double z)
method_24203(double arg0, double arg1, double arg2)
refreshPositionAfterTeleport(double arg0, double arg1, double arg2)
public void
crit(Entity entity)
method_7277(class_1297 arg0)
addCritParticles(Entity arg0)
public void
magicCrit(Entity entity)
method_7304(class_1297 arg0)
addEnchantedHitParticles(Entity arg0)
public void
onUpdateAbilities()
method_7355()
sendAbilitiesUpdate()
public ServerWorld
level()
method_73183()
getEntityWorld()
public boolean
setGameMode(GameType mode)
method_7336(class_1934 arg0)
changeGameMode(GameMode gameMode)
public GameMode
gameMode()
method_68876()
getGameMode()
public CommandOutput
commandSource()
method_64401()
getCommandOutput()
public ServerCommandSource
createCommandSourceStack()
method_64396()
getCommandSource()
public void
sendSystemMessage(Component message)
method_64398(class_2561 arg0)
sendMessage(Text arg0)
public void
sendOverlayMessage(Component message)
method_7353(class_2561 arg0)
sendOverlayMessage(Text arg0)
public void
sendBuildLimitMessage(boolean isTooHigh, int limit)
method_1_2489(boolean arg0, int arg1)
sendBuildLimitMessage(boolean tooHigh, int limit)
public void
sendSpawnProtectionMessage(BlockPos pos)
method_1_3106(class_2338 arg0)
sendSpawnProtectionMessage(BlockPos pos)
public void
sendSystemMessage(Component message, boolean overlay)
method_43502(class_2561 arg0, boolean arg1)
sendMessageToClient(Text message, boolean overlay)
public void
sendChatMessage(OutgoingChatMessage message, boolean filtered, ChatType$Bound chatType)
method_43505(class_7604 arg0, boolean arg1, class_2556$class_7602 arg2)
sendChatMessage(SentMessage message, boolean filterMaskEnabled, MessageType$Parameters params)
public String
getIpAddress()
method_14209()
getIp()
public void
updateOptions(ClientInformation information)
method_14213(class_8791 arg0)
setClientOptions(SyncedClientOptions clientOptions)
public SyncedClientOptions
clientInformation()
method_53823()
getClientOptions()
public boolean
canChatInColor()
method_34879()
areClientChatColorsEnabled()
public ChatVisibility
getChatVisibility()
method_14238()
getClientChatVisibility()
private boolean
acceptsSystemMessages(boolean overlay)
method_44707(boolean arg0)
acceptsMessage(boolean overlay)
private boolean
acceptsChatMessages()
method_44706()
acceptsChatMessage()
public int
requestedViewDistance()
method_52371()
getViewDistance()
public void
sendServerStatus(ServerStatus status)
method_43930(class_2926 arg0)
sendServerMetadata(ServerMetadata metadata)
public PermissionPredicate
permissions()
method_75004()
getPermissions()
public void
resetLastActionTime()
method_14234()
updateLastActionTime()
public ServerStatHandler
getStats()
method_14248()
getStatHandler()
public ServerRecipeBook
getRecipeBook()
method_14253()
getRecipeBook()
protected void
updateInvisibilityStatus()
method_6027()
updatePotionVisibility()
public Entity
getCamera()
method_14242()
getCameraEntity()
public void
setCamera(Entity newCamera)
method_14224(class_1297 arg0)
setCameraEntity(Entity entity)
protected void
processPortalCooldown()
method_5760()
tickPortalCooldown()
public long
getLastActionTime()
method_14219()
getLastActionTime()
public Text
getTabListDisplayName()
method_14206()
getPlayerListName()
public int
getTabListOrder()
method_61272()
getPlayerListOrder()
public void
swing(InteractionHand hand)
method_6104(class_1268 arg0)
swingHand(Hand arg0)
public boolean
isChangingDimension()
method_14208()
isInTeleportationState()
public void
hasChangedDimension()
method_14240()
onTeleportationDone()
public PlayerAdvancementTracker
getAdvancements()
method_14236()
getAdvancementTracker()
public ServerPlayerEntity$Respawn
getRespawnConfig()
method_67564()
getRespawn()
public void
copyRespawnPosition(ServerPlayer player)
method_60592(class_3222 arg0)
setSpawnPointFrom(ServerPlayerEntity player)
public void
setRespawnPosition(ServerPlayer$RespawnConfig respawnConfig, boolean showMessage)
method_26284(class_3222$class_10766 arg0, boolean arg1)
setSpawnPoint(ServerPlayerEntity$Respawn respawn, boolean sendMessage)
public ChunkSectionPos
getLastSectionPos()
method_14232()
getWatchedSection()
public void
setLastSectionPos(SectionPos lastSectionPos)
method_17668(class_4076 arg0)
setWatchedSection(ChunkSectionPos section)
public ChunkFilter
getChunkTrackingView()
method_52372()
getChunkFilter()
public void
setChunkTrackingView(ChunkTrackingView chunkTrackingView)
method_52373(class_8603 arg0)
setChunkFilter(ChunkFilter chunkFilter)
public ItemEntity
drop(ItemStack itemStack, boolean randomly, boolean thrownFromHand)
method_7329(class_1799 arg0, boolean arg1, boolean arg2)
dropItem(ItemStack arg0, boolean arg1, boolean arg2)
public TextStream
getTextFilter()
method_31273()
getTextStream()
public void
setServerLevel(ServerLevel level)
method_51468(class_3218 arg0)
setServerWorld(ServerWorld world)
private static GameMode
readPlayerMode(ValueInput playerInput, String modeTag)
method_32745(class_11368 arg0, String arg1)
gameModeFromData(ReadView view, String key)
private GameMode
calculateGameModeForNewPlayer(GameType loadedGameType)
method_32746(class_1934 arg0)
getServerGameMode(GameMode backupGameMode)
private void
storeGameTypes(ValueOutput playerOutput)
method_32749(class_11372 arg0)
writeGameModeData(WriteView view)
public boolean
isTextFilteringEnabled()
method_33793()
shouldFilterText()
public boolean
shouldFilterMessageTo(ServerPlayer serverPlayer)
method_33795(class_3222 arg0)
shouldFilterMessagesSentTo(ServerPlayerEntity player)
public boolean
mayInteract(ServerLevel level, BlockPos pos)
method_36971(class_3218 arg0, class_2338 arg1)
canModifyAt(ServerWorld arg0, BlockPos arg1)
protected void
updateUsingItem(ItemStack useItem)
method_37119(class_1799 arg0)
tickItemStackUsage(ItemStack arg0)
public void
drop(boolean all)
method_37413(boolean arg0)
dropSelectedItem(boolean entireStack)
public void
handleExtraItemsCreatedOnUse(ItemStack extraItems)
method_64399(class_1799 arg0)
giveOrDropStack(ItemStack arg0)
public boolean
allowsListing()
method_39426()
allowsServerListing()
public Optional<SculkShriekerWarningManager>
getWardenSpawnTracker()
method_42272()
getSculkShriekerWarningManager()
public void
setSpawnExtraParticlesOnFall(boolean toggle)
method_58143(boolean arg0)
setSpawnExtraParticlesOnFall(boolean spawnExtraParticlesOnFall)
public void
onItemPickup(ItemEntity entity)
method_29499(class_1542 arg0)
triggerItemPickedUpByEntityCriteria(ItemEntity arg0)
public void
setChatSession(RemoteChatSession chatSession)
method_46364(class_7822 arg0)
setSession(PublicPlayerSession session)
public PublicPlayerSession
getChatSession()
method_45163()
getSession()
public void
indicateDamage(double xd, double zd)
method_48761(double arg0, double arg1)
tiltScreen(double arg0, double arg1)
public boolean
startRiding(Entity entityToRide, boolean force, boolean sendEventAndTriggers)
method_5873(class_1297 arg0, boolean arg1, boolean arg2)
startRiding(Entity arg0, boolean arg1, boolean arg2)
public void
removeVehicle()
method_29239()
dismountVehicle()
public CommonPlayerSpawnInfo
createCommonSpawnInfo(ServerLevel level)
method_52374(class_3218 arg0)
createCommonPlayerSpawnInfo(ServerWorld world)
public void
setRaidOmenPosition(BlockPos raidOmenPosition)
method_58586(class_2338 arg0)
setStartRaidPos(BlockPos startRaidPos)
public void
clearRaidOmenPosition()
method_58584()
clearStartRaidPos()
public BlockPos
getRaidOmenPosition()
method_58585()
getStartRaidPos()
public Vec3d
getKnownMovement()
method_60478()
getMovement()
public Vec3d
getKnownSpeed()
method_76333()
getKineticAttackMovement()
public void
setKnownMovement(Vec3 lastKnownClientMovement)
method_52208(class_243 arg0)
setMovement(Vec3d movement)
protected float
getEnchantedDamage(Entity entity, float dmg, DamageSource damageSource)
method_59903(class_1297 arg0, float arg1, class_1282 arg2)
getDamageAgainst(Entity arg0, float arg1, DamageSource arg2)
public void
onEquippedItemBroken(Item brokenItem, EquipmentSlot inSlot)
method_20235(class_1792 arg0, class_1304 arg1)
sendEquipmentBreakStatus(Item arg0, EquipmentSlot arg1)
public PlayerInput
getLastClientInput()
method_63562()
getPlayerInput()
public void
setLastClientInput(Input lastClientInput)
method_63561(class_10185 arg0)
setPlayerInput(PlayerInput playerInput)
public Vec3d
getLastClientMoveIntent()
method_63563()
getInputVelocityForMinecart()
public void
registerEnderPearl(ThrownEnderpearl enderPearl)
method_64124(class_1684 arg0)
addEnderPearl(EnderPearlEntity enderPearl)
public void
deregisterEnderPearl(ThrownEnderpearl enderPearl)
method_64130(class_1684 arg0)
removeEnderPearl(EnderPearlEntity enderPearl)
public Set<EnderPearlEntity>
getEnderPearls()
method_64128()
getEnderPearls()
public NbtCompound
getShoulderEntityLeft()
method_74074()
getLeftShoulderNbt()
protected void
setShoulderEntityLeft(CompoundTag tag)
method_74076(class_2487 arg0)
setLeftShoulderNbt(NbtCompound leftShoulderNbt)
public NbtCompound
getShoulderEntityRight()
method_74075()
getRightShoulderNbt()
protected void
setShoulderEntityRight(CompoundTag tag)
method_74077(class_2487 arg0)
setRightShoulderNbt(NbtCompound rightShoulderNbt)
public long
registerAndUpdateEnderPearlTicket(ThrownEnderpearl enderpearl)
method_64133(class_1684 arg0)
handleThrownEnderPearl(EnderPearlEntity enderPearl)
public static long
placeEnderPearlTicket(ServerLevel level, ChunkPos chunk)
method_64123(class_3218 arg0, class_1923 arg1)
addEnderPearlTicket(ServerWorld world, ChunkPos chunkPos)
public void
requestDebugSubscriptions(Set<DebugSubscription<?>> subscriptions)
method_74537(Set<class_12017<?>> arg0)
setSubscribedTypes(Set<DebugSubscriptionType<?>> subscribedTypes)
public Set<DebugSubscriptionType<?>>
debugSubscriptions()
method_74538()
getSubscribedTypes()
public World
level()
method_73183()
getEntityWorld()
public Entity
teleport(TeleportTransition transition)
method_5731(class_5454 arg0)
teleportTo(TeleportTarget arg0)
private void
lambda$drop$0(Inventory arg0, int arg1)
method_37412(class_1661 arg0, int arg1)
method_37412(PlayerInventory arg0, int index)
private Packet
lambda$sendSystemMessage$0(Component arg0)
method_43507(class_2561 arg0)
method_43507(Text arg0)
private Stream
lambda$awardRecipesByKey$0(ResourceKey arg0)
method_54934(class_5321 arg0)
method_54934(RegistryKey recipeKey)
private static void
lambda$awardStat$0(int arg0, ScoreAccess arg1)
method_14221(int arg0, class_9014 arg1)
method_14221(int arg0, ScoreAccess score)
private void
lambda$startSleepInBed$1(Unit arg0)
method_19504(class_3902 arg0)
method_19504(Unit unit)
private boolean
lambda$startSleepInBed$0(Monster arg0)
method_26283(class_1588 arg0)
method_26283(HostileEntity entity)
private static ServerPlayerEntity$RespawnPos
lambda$findRespawnAndUseSpawnBlock$1(BlockPos arg0, Vec3 arg1)
method_60589(class_2338 arg0, class_243 arg1)
method_60589(BlockPos arg0, Vec3d respawnPos)
private static ServerPlayerEntity$RespawnPos
lambda$findRespawnAndUseSpawnBlock$0(BlockPos arg0, Vec3 arg1)
method_60593(class_2338 arg0, class_243 arg1)
method_60593(BlockPos arg0, Vec3d respawnPos)
private void
lambda$tellNeutralMobsThatIDied$1(Mob arg0)
method_29777(class_1308 arg0)
method_29777(MobEntity entity)
private static boolean
lambda$tellNeutralMobsThatIDied$0(Mob arg0)
method_29778(class_1308 arg0)
method_29778(MobEntity entity)
private Packet
lambda$die$0(Component arg0)
method_14223(class_2561 arg0)
method_14223(Text arg0)
private static Style
lambda$die$1(Component arg0, Style arg1)
method_14210(class_2561 arg0, class_2583 arg1)
method_14210(Text arg0, Style style)
private static void
lambda$updateScoreForCriteria$0(int arg0, ScoreAccess arg1)
method_14250(int arg0, class_9014 arg1)
method_14250(int arg0, ScoreAccess innerScore)
private void
lambda$respawnEntityOnShoulder$1(ServerLevel arg0, Entity arg1)
method_74078(class_3218 arg0, class_1297 arg1)
method_74078(ServerWorld arg0, Entity entity)
private static String
lambda$respawnEntityOnShoulder$0()
method_74081()
method_74081()
private static Entity
lambda$loadAndSpawnEnderPearl$0(ServerLevel arg0, Entity arg1)
method_68174(class_3218 arg0, class_1297 arg1)
method_68174(ServerWorld arg0, Entity enderPearl)
private static Entity
lambda$loadAndSpawnParentVehicle$0(ServerLevel arg0, Entity arg1)
method_64132(class_3218 arg0, class_1297 arg1)
method_64132(ServerWorld arg0, Entity entity)
private void
lambda$readAdditionalSaveData$0(ServerRecipeBook$Packed arg0)
method_71330(class_3441$class_11328 arg0)
method_71330(ServerRecipeBook$Packed recipeBook)
private boolean
lambda$readAdditionalSaveData$1(ResourceKey arg0)
method_64580(class_5321 arg0)
method_64580(RegistryKey recipeKey)
private static void
lambda$new$0(MinecraftServer arg0, ResourceKey arg1, Consumer arg2)
method_64579(MinecraftServer arg0, class_5321 arg1, Consumer arg2)
method_64579(MinecraftServer arg0, RegistryKey key, Consumer adder)