Uses of Class
net.minecraft.entity.player.ServerPlayerEntity
Package
Description
-
Uses of ServerPlayerEntity in net.minecraft.advancements
Modifier and TypeMethodDescriptionvoid
PlayerAdvancements.flushDirty
(ServerPlayerEntity p_192741_1_) void
AdvancementRewards.grant
(ServerPlayerEntity p_192113_1_) void
PlayerAdvancements.setPlayer
(ServerPlayerEntity p_192739_1_) ModifierConstructorDescriptionPlayerAdvancements
(com.mojang.datafixers.DataFixer p_i232594_1_, PlayerList p_i232594_2_, AdvancementManager p_i232594_3_, File p_i232594_4_, ServerPlayerEntity p_i232594_5_) -
Uses of ServerPlayerEntity in net.minecraft.advancements.criterion
Modifier and TypeMethodDescriptionstatic LootContext
EntityPredicate.createContext
(ServerPlayerEntity p_234575_0_, Entity p_234575_1_) boolean
DamagePredicate.matches
(ServerPlayerEntity p_192365_1_, DamageSource p_192365_2_, float p_192365_3_, float p_192365_4_, boolean p_192365_5_) boolean
DamageSourcePredicate.matches
(ServerPlayerEntity p_193418_1_, DamageSource p_193418_2_) boolean
EffectsChangedTrigger.Instance.matches
(ServerPlayerEntity p_193195_1_) boolean
EntityHurtPlayerTrigger.Instance.matches
(ServerPlayerEntity p_192263_1_, DamageSource p_192263_2_, float p_192263_3_, float p_192263_4_, boolean p_192263_5_) boolean
EntityPredicate.matches
(ServerPlayerEntity p_192482_1_, Entity p_192482_2_) boolean
KilledTrigger.Instance.matches
(ServerPlayerEntity p_235050_1_, LootContext p_235050_2_, DamageSource p_235050_3_) boolean
LevitationTrigger.Instance.matches
(ServerPlayerEntity p_193201_1_, Vector3d p_193201_2_, int p_193201_3_) boolean
PlayerHurtEntityTrigger.Instance.matches
(ServerPlayerEntity p_235609_1_, LootContext p_235609_2_, DamageSource p_235609_3_, float p_235609_4_, float p_235609_5_, boolean p_235609_6_) boolean
ThrownItemPickedUpByEntityTrigger.Instance.matches
(ServerPlayerEntity p_234836_1_, ItemStack p_234836_2_, LootContext p_234836_3_) protected void
AbstractCriterionTrigger.trigger
(ServerPlayerEntity p_235959_1_, Predicate<T> p_235959_2_) void
BeeNestDestroyedTrigger.trigger
(ServerPlayerEntity p_226223_1_, Block p_226223_2_, ItemStack p_226223_3_, int p_226223_4_) void
BredAnimalsTrigger.trigger
(ServerPlayerEntity p_192168_1_, AnimalEntity p_192168_2_, AnimalEntity p_192168_3_, AgeableEntity p_192168_4_) void
BrewedPotionTrigger.trigger
(ServerPlayerEntity p_192173_1_, Potion p_192173_2_) void
ChangeDimensionTrigger.trigger
(ServerPlayerEntity p_233551_1_, RegistryKey<World> p_233551_2_, RegistryKey<World> p_233551_3_) void
ChanneledLightningTrigger.trigger
(ServerPlayerEntity p_204814_1_, Collection<? extends Entity> p_204814_2_) void
ConstructBeaconTrigger.trigger
(ServerPlayerEntity p_192180_1_, BeaconTileEntity p_192180_2_) void
ConsumeItemTrigger.trigger
(ServerPlayerEntity p_193148_1_, ItemStack p_193148_2_) void
CuredZombieVillagerTrigger.trigger
(ServerPlayerEntity p_192183_1_, ZombieEntity p_192183_2_, VillagerEntity p_192183_3_) void
EffectsChangedTrigger.trigger
(ServerPlayerEntity p_193153_1_) void
EnchantedItemTrigger.trigger
(ServerPlayerEntity p_192190_1_, ItemStack p_192190_2_, int p_192190_3_) void
EnterBlockTrigger.trigger
(ServerPlayerEntity p_192193_1_, BlockState p_192193_2_) void
EntityHurtPlayerTrigger.trigger
(ServerPlayerEntity p_192200_1_, DamageSource p_192200_2_, float p_192200_3_, float p_192200_4_, boolean p_192200_5_) void
FilledBucketTrigger.trigger
(ServerPlayerEntity p_204817_1_, ItemStack p_204817_2_) void
FishingRodHookedTrigger.trigger
(ServerPlayerEntity p_204820_1_, ItemStack p_204820_2_, FishingBobberEntity p_204820_3_, Collection<ItemStack> p_204820_4_) void
InventoryChangeTrigger.trigger
(ServerPlayerEntity p_234803_1_, PlayerInventory p_234803_2_, ItemStack p_234803_3_) private void
InventoryChangeTrigger.trigger
(ServerPlayerEntity p_234804_1_, PlayerInventory p_234804_2_, ItemStack p_234804_3_, int p_234804_4_, int p_234804_5_, int p_234804_6_) void
ItemDurabilityTrigger.trigger
(ServerPlayerEntity p_193158_1_, ItemStack p_193158_2_, int p_193158_3_) void
KilledByCrossbowTrigger.trigger
(ServerPlayerEntity p_234941_1_, Collection<Entity> p_234941_2_) void
KilledTrigger.trigger
(ServerPlayerEntity p_192211_1_, Entity p_192211_2_, DamageSource p_192211_3_) void
LevitationTrigger.trigger
(ServerPlayerEntity p_193162_1_, Vector3d p_193162_2_, int p_193162_3_) void
NetherTravelTrigger.trigger
(ServerPlayerEntity p_193168_1_, Vector3d p_193168_2_) void
PlacedBlockTrigger.trigger
(ServerPlayerEntity p_193173_1_, BlockPos p_193173_2_, ItemStack p_193173_3_) void
PlayerEntityInteractionTrigger.trigger
(ServerPlayerEntity p_241476_1_, ItemStack p_241476_2_, Entity p_241476_3_) void
PlayerGeneratesContainerLootTrigger.trigger
(ServerPlayerEntity p_235478_1_, ResourceLocation p_235478_2_) void
PlayerHurtEntityTrigger.trigger
(ServerPlayerEntity p_192220_1_, Entity p_192220_2_, DamageSource p_192220_3_, float p_192220_4_, float p_192220_5_, boolean p_192220_6_) void
PositionTrigger.trigger
(ServerPlayerEntity p_192215_1_) void
RecipeUnlockedTrigger.trigger
(ServerPlayerEntity p_192225_1_, IRecipe<?> p_192225_2_) void
RightClickBlockWithItemTrigger.trigger
(ServerPlayerEntity p_226695_1_, BlockPos p_226695_2_, ItemStack p_226695_3_) void
ShotCrossbowTrigger.trigger
(ServerPlayerEntity p_215111_1_, ItemStack p_215111_2_) void
SlideDownBlockTrigger.trigger
(ServerPlayerEntity p_227152_1_, BlockState p_227152_2_) void
SummonedEntityTrigger.trigger
(ServerPlayerEntity p_192229_1_, Entity p_192229_2_) void
TameAnimalTrigger.trigger
(ServerPlayerEntity p_193178_1_, AnimalEntity p_193178_2_) void
TargetHitTrigger.trigger
(ServerPlayerEntity p_236350_1_, Entity p_236350_2_, Vector3d p_236350_3_, int p_236350_4_) void
ThrownItemPickedUpByEntityTrigger.trigger
(ServerPlayerEntity p_234830_1_, ItemStack p_234830_2_, Entity p_234830_3_) void
TickTrigger.trigger
(ServerPlayerEntity p_193182_1_) void
UsedEnderEyeTrigger.trigger
(ServerPlayerEntity p_192239_1_, BlockPos p_192239_2_) void
UsedTotemTrigger.trigger
(ServerPlayerEntity p_193187_1_, ItemStack p_193187_2_) void
VillagerTradeTrigger.trigger
(ServerPlayerEntity p_215114_1_, AbstractVillagerEntity p_215114_2_, ItemStack p_215114_3_) -
Uses of ServerPlayerEntity in net.minecraft.command
-
Uses of ServerPlayerEntity in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionEntitySelector.findSinglePlayer
(CommandSource p_197347_1_) static ServerPlayerEntity
EntityArgument.getPlayer
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197089_0_, String p_197089_1_) Modifier and TypeMethodDescriptionEntitySelector.findPlayers
(CommandSource p_197342_1_) static Collection<ServerPlayerEntity>
EntityArgument.getOptionalPlayers
(com.mojang.brigadier.context.CommandContext<CommandSource> p_201309_0_, String p_201309_1_) static Collection<ServerPlayerEntity>
EntityArgument.getPlayers
(com.mojang.brigadier.context.CommandContext<CommandSource> p_197090_0_, String p_197090_1_) -
Uses of ServerPlayerEntity in net.minecraft.command.impl
Modifier and TypeFieldDescriptionfinal BiConsumer<ServerPlayerEntity,
Integer> ExperienceCommand.Type.add
private final ToIntFunction<ServerPlayerEntity>
ExperienceCommand.Type.query
final BiPredicate<ServerPlayerEntity,
Integer> ExperienceCommand.Type.set
Modifier and TypeMethodDescriptionprivate static Score
TriggerCommand.getScore
(ServerPlayerEntity p_198848_0_, ScoreObjective p_198848_1_) private static void
GameModeCommand.logGamemodeChange
(CommandSource p_208517_0_, ServerPlayerEntity p_208517_1_, GameType p_208517_2_) int
AdvancementCommand.Action.perform
(ServerPlayerEntity p_198180_1_, Iterable<Advancement> p_198180_2_) protected abstract boolean
AdvancementCommand.Action.perform
(ServerPlayerEntity p_198179_1_, Advancement p_198179_2_) protected abstract boolean
AdvancementCommand.Action.performCriterion
(ServerPlayerEntity p_198182_1_, Advancement p_198182_2_, String p_198182_3_) private static int
ExperienceCommand.queryExperience
(CommandSource p_198443_0_, ServerPlayerEntity p_198443_1_, ExperienceCommand.Type p_198443_2_) private static int
SpectateCommand.spectate
(CommandSource p_229829_0_, Entity p_229829_1_, ServerPlayerEntity p_229829_2_) Modifier and TypeMethodDescriptionprivate static int
ExperienceCommand.addExperience
(CommandSource p_198448_0_, Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_) private static int
ClearCommand.clearInventory
(CommandSource p_198244_0_, Collection<ServerPlayerEntity> p_198244_1_, Predicate<ItemStack> p_198244_2_, int p_198244_3_) private static int
TitleCommand.clearTitle
(CommandSource p_198840_0_, Collection<ServerPlayerEntity> p_198840_1_) private static int
ListCommand.format
(CommandSource p_208200_0_, Function<ServerPlayerEntity, ITextComponent> p_208200_1_) private static int
GiveCommand.giveItem
(CommandSource p_198497_0_, ItemInput p_198497_1_, Collection<ServerPlayerEntity> p_198497_2_, int p_198497_3_) private static int
RecipeCommand.giveRecipes
(CommandSource p_198594_0_, Collection<ServerPlayerEntity> p_198594_1_, Collection<IRecipe<?>> p_198594_2_) private static int
KickCommand.kickPlayers
(CommandSource p_198515_0_, Collection<ServerPlayerEntity> p_198515_1_, ITextComponent p_198515_2_) private static int
AdvancementCommand.perform
(CommandSource p_198214_0_, Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, Collection<Advancement> p_198214_3_) private static int
AdvancementCommand.performCriterion
(CommandSource p_198203_0_, Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, String p_198203_4_) private static int
LootCommand.playerGive
(Collection<ServerPlayerEntity> p_218859_0_, List<ItemStack> p_218859_1_, LootCommand.ISuccessListener p_218859_2_) private static int
PlaySoundCommand.playSound
(CommandSource p_198573_0_, Collection<ServerPlayerEntity> p_198573_1_, ResourceLocation p_198573_2_, SoundCategory p_198573_3_, Vector3d p_198573_4_, float p_198573_5_, float p_198573_6_, float p_198573_7_) private static int
TitleCommand.resetTitle
(CommandSource p_198844_0_, Collection<ServerPlayerEntity> p_198844_1_) private static int
MessageCommand.sendMessage
(CommandSource p_198538_0_, Collection<ServerPlayerEntity> p_198538_1_, ITextComponent p_198538_2_) private static int
ParticleCommand.sendParticles
(CommandSource p_198564_0_, IParticleData p_198564_1_, Vector3d p_198564_2_, Vector3d p_198564_3_, float p_198564_4_, int p_198564_5_, boolean p_198564_6_, Collection<ServerPlayerEntity> p_198564_7_) private static int
ExperienceCommand.setExperience
(CommandSource p_198438_0_, Collection<? extends ServerPlayerEntity> p_198438_1_, int p_198438_2_, ExperienceCommand.Type p_198438_3_) private static int
GameModeCommand.setMode
(com.mojang.brigadier.context.CommandContext<CommandSource> p_198484_0_, Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_) private static int
BossBarCommand.setPlayers
(CommandSource p_201405_0_, CustomServerBossInfo p_201405_1_, Collection<ServerPlayerEntity> p_201405_2_) private static int
SpawnPointCommand.setSpawn
(CommandSource p_198696_0_, Collection<ServerPlayerEntity> p_198696_1_, BlockPos p_198696_2_, float p_198696_3_) private static int
TitleCommand.setTimes
(CommandSource p_198845_0_, Collection<ServerPlayerEntity> p_198845_1_, int p_198845_2_, int p_198845_3_, int p_198845_4_) private static int
TitleCommand.showTitle
(CommandSource p_198846_0_, Collection<ServerPlayerEntity> p_198846_1_, ITextComponent p_198846_2_, STitlePacket.Type p_198846_3_) private static int
StopSoundCommand.stopSound
(CommandSource p_198733_0_, Collection<ServerPlayerEntity> p_198733_1_, SoundCategory p_198733_2_, ResourceLocation p_198733_3_) private static int
RecipeCommand.takeRecipes
(CommandSource p_198590_0_, Collection<ServerPlayerEntity> p_198590_1_, Collection<IRecipe<?>> p_198590_2_) ModifierConstructorDescriptionprivate
Type
(String p_i48027_3_, BiConsumer<ServerPlayerEntity, Integer> p_i48027_4_, BiPredicate<ServerPlayerEntity, Integer> p_i48027_5_, ToIntFunction<ServerPlayerEntity> p_i48027_6_) private
Type
(String p_i48027_3_, BiConsumer<ServerPlayerEntity, Integer> p_i48027_4_, BiPredicate<ServerPlayerEntity, Integer> p_i48027_5_, ToIntFunction<ServerPlayerEntity> p_i48027_6_) private
Type
(String p_i48027_3_, BiConsumer<ServerPlayerEntity, Integer> p_i48027_4_, BiPredicate<ServerPlayerEntity, Integer> p_i48027_5_, ToIntFunction<ServerPlayerEntity> p_i48027_6_) -
Uses of ServerPlayerEntity in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
Entity.broadcastToPlayer
(ServerPlayerEntity p_174827_1_) void
Entity.startSeenByPlayer
(ServerPlayerEntity p_184178_1_) void
Entity.stopSeenByPlayer
(ServerPlayerEntity p_184203_1_) -
Uses of ServerPlayerEntity in net.minecraft.entity.ai.goal
-
Uses of ServerPlayerEntity in net.minecraft.entity.boss
Modifier and TypeMethodDescriptionvoid
WitherEntity.startSeenByPlayer
(ServerPlayerEntity p_184178_1_) void
WitherEntity.stopSeenByPlayer
(ServerPlayerEntity p_184203_1_) -
Uses of ServerPlayerEntity in net.minecraft.entity.effect
Modifier and TypeMethodDescriptionvoid
LightningBoltEntity.setCause
(ServerPlayerEntity p_204809_1_) -
Uses of ServerPlayerEntity in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionboolean
ShoulderRidingEntity.setEntityOnShoulder
(ServerPlayerEntity p_213439_1_) -
Uses of ServerPlayerEntity in net.minecraft.entity.player
Modifier and TypeMethodDescriptionboolean
ServerPlayerEntity.broadcastToPlayer
(ServerPlayerEntity p_174827_1_) void
ServerPlayerEntity.restoreFrom
(ServerPlayerEntity p_193104_1_, boolean p_193104_2_) -
Uses of ServerPlayerEntity in net.minecraft.inventory
Modifier and TypeMethodDescriptiondefault boolean
IRecipeHolder.setRecipeUsed
(World p_201561_1_, ServerPlayerEntity p_201561_2_, IRecipe<?> p_201561_3_) -
Uses of ServerPlayerEntity in net.minecraft.inventory.container
Modifier and TypeMethodDescriptionvoid
AbstractFurnaceContainer.handlePlacement
(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) void
RecipeBookContainer.handlePlacement
(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_) -
Uses of ServerPlayerEntity in net.minecraft.item
Modifier and TypeMethodDescriptionboolean
ItemStack.hurt
(int p_96631_1_, Random p_96631_2_, ServerPlayerEntity p_96631_3_) -
Uses of ServerPlayerEntity in net.minecraft.item.crafting
Modifier and TypeMethodDescriptionint
ServerRecipeBook.addRecipes
(Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_) void
ServerRecipePlacer.recipeClicked
(ServerPlayerEntity p_194327_1_, IRecipe<C> p_194327_2_, boolean p_194327_3_) int
ServerRecipeBook.removeRecipes
(Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_) void
ServerRecipeBook.sendInitialRecipeBook
(ServerPlayerEntity p_192826_1_) private void
ServerRecipeBook.sendRecipes
(SRecipeBookPacket.State p_194081_1_, ServerPlayerEntity p_194081_2_, List<ResourceLocation> p_194081_3_) -
Uses of ServerPlayerEntity in net.minecraft.network.login
Modifier and TypeFieldDescriptionprivate ServerPlayerEntity
ServerLoginNetHandler.delayedAcceptPlayer
-
Uses of ServerPlayerEntity in net.minecraft.network.play
Modifier and TypeMethodDescriptionprivate static boolean
ServerPlayNetHandler.wasBlockPlacementAttempt
(ServerPlayerEntity p_241166_0_, ItemStack p_241166_1_) ModifierConstructorDescriptionServerPlayNetHandler
(MinecraftServer p_i1530_1_, NetworkManager p_i1530_2_, ServerPlayerEntity p_i1530_3_) -
Uses of ServerPlayerEntity in net.minecraft.network.play.server
ModifierConstructorDescriptionSPlayerListItemPacket
(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_) ModifierConstructorDescriptionSPlayerListItemPacket
(SPlayerListItemPacket.Action p_i46930_1_, Iterable<ServerPlayerEntity> p_i46930_2_) -
Uses of ServerPlayerEntity in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
CustomServerBossInfo.addPlayer
(ServerPlayerEntity p_186760_1_) MinecraftServer.createTextFilterForPlayer
(ServerPlayerEntity p_244435_1_) void
CustomServerBossInfo.onPlayerConnect
(ServerPlayerEntity p_201361_1_) void
CustomServerBossInfoManager.onPlayerConnect
(ServerPlayerEntity p_201383_1_) void
CustomServerBossInfo.onPlayerDisconnect
(ServerPlayerEntity p_201363_1_) void
CustomServerBossInfoManager.onPlayerDisconnect
(ServerPlayerEntity p_201382_1_) void
CustomServerBossInfo.removePlayer
(ServerPlayerEntity p_186761_1_) private void
MinecraftServer.sendDifficultyUpdate
(ServerPlayerEntity p_213189_1_) Modifier and TypeMethodDescriptionboolean
CustomServerBossInfo.setPlayers
(Collection<ServerPlayerEntity> p_201368_1_) -
Uses of ServerPlayerEntity in net.minecraft.server.dedicated
Modifier and TypeMethodDescriptionDedicatedServer.createTextFilterForPlayer
(ServerPlayerEntity p_244435_1_) -
Uses of ServerPlayerEntity in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionprotected void
IntegratedPlayerList.save
(ServerPlayerEntity p_72391_1_) -
Uses of ServerPlayerEntity in net.minecraft.server.management
Modifier and TypeFieldDescriptionprivate final List<ServerPlayerEntity>
PlayerList.players
private final Map<UUID,
ServerPlayerEntity> PlayerList.playersByUUID
private final List<ServerPlayerEntity>
PlayerList.playersView
Modifier and TypeMethodDescriptionPlayerList.getPlayerByName
(String p_152612_1_) PlayerList.getPlayerForLogin
(com.mojang.authlib.GameProfile p_148545_1_) PlayerList.respawn
(ServerPlayerEntity p_232644_1_, boolean p_232644_2_) Modifier and TypeMethodDescriptionPlayerList.getPlayers()
PlayerList.getPlayersWithAddress
(String p_72382_1_) Modifier and TypeMethodDescriptionboolean
PlayerList.addPlayer
(ServerPlayerEntity player) PlayerList.getPlayerAdvancements
(ServerPlayerEntity p_192054_1_) PlayerList.load
(ServerPlayerEntity p_72380_1_) void
PlayerList.placeNewPlayer
(NetworkManager p_72355_1_, ServerPlayerEntity p_72355_2_) void
PlayerList.remove
(ServerPlayerEntity p_72367_1_) boolean
PlayerList.removePlayer
(ServerPlayerEntity player) PlayerList.respawn
(ServerPlayerEntity p_232644_1_, boolean p_232644_2_) protected void
PlayerList.save
(ServerPlayerEntity p_72391_1_) void
PlayerList.sendAllPlayerInfo
(ServerPlayerEntity p_72385_1_) void
PlayerList.sendLevelInfo
(ServerPlayerEntity p_72354_1_, ServerWorld p_72354_2_) void
PlayerList.sendPlayerPermissionLevel
(ServerPlayerEntity p_187243_1_) private void
PlayerList.sendPlayerPermissionLevel
(ServerPlayerEntity p_187245_1_, int p_187245_2_) protected void
PlayerList.updateEntireScoreboard
(ServerScoreboard p_96456_1_, ServerPlayerEntity p_96456_2_) private void
PlayerList.updatePlayerGameMode
(ServerPlayerEntity p_72381_1_, ServerPlayerEntity p_72381_2_, ServerWorld p_72381_3_) DemoPlayerInteractionManager.useItem
(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_) PlayerInteractionManager.useItem
(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_) DemoPlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) PlayerInteractionManager.useItemOn
(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_) -
Uses of ServerPlayerEntity in net.minecraft.stats
Modifier and TypeMethodDescriptionvoid
ServerStatisticsManager.sendStats
(ServerPlayerEntity p_150876_1_) -
Uses of ServerPlayerEntity in net.minecraft.tileentity
Modifier and TypeMethodDescriptionSignTileEntity.createCommandSourceStack
(ServerPlayerEntity p_195539_1_) -
Uses of ServerPlayerEntity in net.minecraft.util
-
Uses of ServerPlayerEntity in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
TrackedEntity.addPairing
(ServerPlayerEntity p_219455_1_) void
TrackedEntity.removePairing
(ServerPlayerEntity p_219454_1_) -
Uses of ServerPlayerEntity in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<ServerPlayerEntity>
PlayerGenerationTracker.players
Modifier and TypeMethodDescriptionvoid
PlayerGenerationTracker.addPlayer
(long p_219442_1_, ServerPlayerEntity p_219442_3_, boolean p_219442_4_) boolean
PlayerGenerationTracker.ignored
(ServerPlayerEntity p_225419_1_) boolean
PlayerGenerationTracker.ignoredOrUnknown
(ServerPlayerEntity p_219448_1_) void
PlayerGenerationTracker.ignorePlayer
(ServerPlayerEntity p_219446_1_) void
PlayerGenerationTracker.removePlayer
(long p_219443_1_, ServerPlayerEntity p_219443_3_) void
PlayerGenerationTracker.unIgnorePlayer
(ServerPlayerEntity p_219447_1_) void
PlayerGenerationTracker.updatePlayer
(long p_219445_1_, long p_219445_3_, ServerPlayerEntity p_219445_5_) -
Uses of ServerPlayerEntity in net.minecraft.world.end
Modifier and TypeMethodDescriptionvoid
DragonFightManager.addPlayer
(ServerPlayerEntity player) void
DragonFightManager.removePlayer
(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.world.raid
-
Uses of ServerPlayerEntity in net.minecraft.world.server
Modifier and TypeFieldDescriptionprivate final Set<ServerPlayerEntity>
ServerBossInfo.players
private final List<ServerPlayerEntity>
ServerWorld.players
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.ObjectSet<ServerPlayerEntity>>
TicketManager.playersPerChunk
private final Set<ServerPlayerEntity>
ChunkManager.EntityTracker.seenBy
private final Set<ServerPlayerEntity>
ServerBossInfo.unmodifiablePlayers
Modifier and TypeMethodDescriptionChunkHolder.IPlayerProvider.getPlayers
(ChunkPos p_219097_1_, boolean p_219097_2_) ChunkManager.getPlayers
(ChunkPos p_219097_1_, boolean p_219097_2_) ServerBossInfo.getPlayers()
ServerWorld.getPlayers
(Predicate<? super ServerPlayerEntity> p_217490_1_) ServerWorld.players()
Modifier and TypeMethodDescriptionvoid
ServerWorld.addDuringCommandTeleport
(ServerPlayerEntity p_217446_1_) void
ServerWorld.addDuringPortalTeleport
(ServerPlayerEntity p_217447_1_) void
ServerWorld.addNewPlayer
(ServerPlayerEntity p_217435_1_) void
ServerBossInfo.addPlayer
(ServerPlayerEntity p_186760_1_) private void
ServerWorld.addPlayer
(ServerPlayerEntity p_217448_1_) void
TicketManager.addPlayer
(SectionPos p_219341_1_, ServerPlayerEntity p_219341_2_) void
ServerWorld.addRespawnedPlayer
(ServerPlayerEntity p_217433_1_) private static int
ChunkManager.checkerboardDistance
(ChunkPos p_219215_0_, ServerPlayerEntity p_219215_1_, boolean p_219215_2_) void
ChunkManager.move
(ServerPlayerEntity p_219183_1_) void
ServerChunkProvider.move
(ServerPlayerEntity p_217221_1_) private void
ChunkManager.playerLoadedChunk
(ServerPlayerEntity p_219180_1_, IPacket<?>[] p_219180_2_, Chunk p_219180_3_) void
ChunkManager.EntityTracker.removePlayer
(ServerPlayerEntity p_219399_1_) void
ServerBossInfo.removePlayer
(ServerPlayerEntity p_186761_1_) void
ServerWorld.removePlayer
(ServerPlayerEntity p_217434_1_, boolean keepData) void
TicketManager.removePlayer
(SectionPos p_219367_1_, ServerPlayerEntity p_219367_2_) void
ServerWorld.removePlayerImmediately
(ServerPlayerEntity p_217434_1_) private boolean
ServerWorld.sendParticles
(ServerPlayerEntity p_195601_1_, boolean p_195601_2_, double p_195601_3_, double p_195601_5_, double p_195601_7_, IPacket<?> p_195601_9_) <T extends IParticleData>
booleanServerWorld.sendParticles
(ServerPlayerEntity p_195600_1_, T p_195600_2_, boolean p_195600_3_, double p_195600_4_, double p_195600_6_, double p_195600_8_, int p_195600_10_, double p_195600_11_, double p_195600_13_, double p_195600_15_, double p_195600_17_) private boolean
ChunkManager.skipPlayer
(ServerPlayerEntity p_219187_1_) protected void
ChunkManager.updateChunkTracking
(ServerPlayerEntity p_219199_1_, ChunkPos p_219199_2_, IPacket<?>[] p_219199_3_, boolean p_219199_4_, boolean p_219199_5_) void
ChunkManager.EntityTracker.updatePlayer
(ServerPlayerEntity p_219400_1_) private SectionPos
ChunkManager.updatePlayerPos
(ServerPlayerEntity p_223489_1_) (package private) void
ChunkManager.updatePlayerStatus
(ServerPlayerEntity p_219234_1_, boolean p_219234_2_) Modifier and TypeMethodDescriptionServerWorld.getPlayers
(Predicate<? super ServerPlayerEntity> p_217490_1_) void
ChunkManager.EntityTracker.updatePlayers
(List<ServerPlayerEntity> p_219397_1_) -
Uses of ServerPlayerEntity in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic void
ForgeHooks.onAdvancement
(ServerPlayerEntity player, Advancement advancement) static int
ForgeHooks.onBlockBreakEvent
(World world, GameType gameType, ServerPlayerEntity entityPlayer, BlockPos pos) -
Uses of ServerPlayerEntity in net.minecraftforge.common.util
Modifier and TypeMethodDescriptiondefault boolean
ITeleporter.playTeleportSound
(ServerPlayerEntity player, ServerWorld sourceWorld, ServerWorld destWorld) Called when vanilla wants to play the portal sound after teleporting.ModifierConstructorDescriptionChunkCoordComparator
(ServerPlayerEntity entityplayer) FakePlayerNetHandler
(MinecraftServer server, ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraftforge.debug.misc
Modifier and TypeMethodDescriptionprivate static void
OnDatapackSynctEventTest.syncData
(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final ServerPlayerEntity
OnDatapackSyncEvent.player
private final ServerPlayerEntity
ServerChatEvent.player
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.fireChunkWatch
(boolean wasLoaded, boolean load, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world) static void
ForgeEventFactory.fireChunkWatch
(boolean watch, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world) ForgeEventFactory.onEnderPearlLand
(ServerPlayerEntity entity, double targetX, double targetY, double targetZ, EnderPearlEntity pearlEntity, float attackDamage) ModifierConstructorDescriptionOnDatapackSyncEvent
(PlayerList playerList, ServerPlayerEntity player) ServerChatEvent
(ServerPlayerEntity player, String message, ITextComponent component) -
Uses of ServerPlayerEntity in net.minecraftforge.event.entity.living
Modifier and TypeFieldDescriptionprivate final ServerPlayerEntity
EntityTeleportEvent.EnderPearl.player
ModifierConstructorDescriptionEnderPearl
(ServerPlayerEntity entity, double targetX, double targetY, double targetZ, EnderPearlEntity pearlEntity, float attackDamage) -
Uses of ServerPlayerEntity in net.minecraftforge.event.world
ModifierConstructorDescriptionChunkWatchEvent
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) UnWatch
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) Watch
(ServerPlayerEntity player, ChunkPos pos, ServerWorld world) -
Uses of ServerPlayerEntity in net.minecraftforge.fml.network
Modifier and TypeFieldDescriptionprivate final ServerPlayerEntity
PacketDistributor.TargetPoint.excluded
Modifier and TypeFieldDescriptionstatic final PacketDistributor<ServerPlayerEntity>
PacketDistributor.PLAYER
Send to the player specified in the Supplier
PacketDistributor.with(Supplier)
PlayerModifier and TypeMethodDescriptionNetworkEvent.Context.getSender()
When available, gets the sender for packets that are sent from a client to the server.Modifier and TypeMethodDescriptionstatic void
NetworkHooks.openGui
(ServerPlayerEntity player, INamedContainerProvider containerSupplier) Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORY
for how to provide a function to consume these GUI requests on the client.static void
NetworkHooks.openGui
(ServerPlayerEntity player, INamedContainerProvider containerSupplier, Consumer<PacketBuffer> extraDataWriter) Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORY
for how to provide a function to consume these GUI requests on the client.static void
NetworkHooks.openGui
(ServerPlayerEntity player, INamedContainerProvider containerSupplier, BlockPos pos) Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORY
for how to provide a function to consume these GUI requests on the client.static void
NetworkHooks.syncCustomTagTypes
(ServerPlayerEntity player, ITagCollectionSupplier tagCollectionSupplier) Syncs the custom tag types attached to aITagCollectionSupplier
to the given player.static boolean
NetworkHooks.tickNegotiation
(ServerLoginNetHandler netHandlerLoginServer, NetworkManager networkManager, ServerPlayerEntity player) Modifier and TypeMethodDescriptionPacketDistributor.playerConsumer
(Supplier<ServerPlayerEntity> entityPlayerMPSupplier) ModifierConstructorDescriptionTargetPoint
(ServerPlayerEntity excluded, double x, double y, double z, double r2, RegistryKey<World> dim) A target point with excluded entity