Uses of Class
net.minecraft.entity.player.ServerPlayerEntity
-
-
Uses of ServerPlayerEntity in net.minecraft.advancements
Fields in net.minecraft.advancements declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
PlayerAdvancements. player
Methods in net.minecraft.advancements with parameters of type ServerPlayerEntity Modifier and Type Method Description void
PlayerAdvancements. flushDirty(ServerPlayerEntity p_192741_1_)
void
AdvancementRewards. grant(ServerPlayerEntity p_192113_1_)
void
PlayerAdvancements. setPlayer(ServerPlayerEntity p_192739_1_)
Constructors in net.minecraft.advancements with parameters of type ServerPlayerEntity Constructor Description PlayerAdvancements(com.mojang.datafixers.DataFixer p_i232594_1_, PlayerList p_i232594_2_, AdvancementManager p_i232594_3_, java.io.File p_i232594_4_, ServerPlayerEntity p_i232594_5_)
-
Uses of ServerPlayerEntity in net.minecraft.advancements.criterion
Methods in net.minecraft.advancements.criterion with parameters of type ServerPlayerEntity Modifier and Type Method Description static 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_, java.util.function.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_, java.util.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_, java.util.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_, java.util.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
Methods in net.minecraft.command that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
CommandSource. getPlayerOrException()
Methods in net.minecraft.command with parameters of type ServerPlayerEntity Modifier and Type Method Description void
Commands. sendCommands(ServerPlayerEntity p_197051_1_)
-
Uses of ServerPlayerEntity in net.minecraft.command.arguments
Methods in net.minecraft.command.arguments that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
EntitySelector. findSinglePlayer(CommandSource p_197347_1_)
static ServerPlayerEntity
EntityArgument. getPlayer(com.mojang.brigadier.context.CommandContext<CommandSource> p_197089_0_, java.lang.String p_197089_1_)
Methods in net.minecraft.command.arguments that return types with arguments of type ServerPlayerEntity Modifier and Type Method Description java.util.List<ServerPlayerEntity>
EntitySelector. findPlayers(CommandSource p_197342_1_)
static java.util.Collection<ServerPlayerEntity>
EntityArgument. getOptionalPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> p_201309_0_, java.lang.String p_201309_1_)
static java.util.Collection<ServerPlayerEntity>
EntityArgument. getPlayers(com.mojang.brigadier.context.CommandContext<CommandSource> p_197090_0_, java.lang.String p_197090_1_)
-
Uses of ServerPlayerEntity in net.minecraft.command.impl
Fields in net.minecraft.command.impl with type parameters of type ServerPlayerEntity Modifier and Type Field Description java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer>
ExperienceCommand.Type. add
private java.util.function.ToIntFunction<ServerPlayerEntity>
ExperienceCommand.Type. query
java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer>
ExperienceCommand.Type. set
Methods in net.minecraft.command.impl with parameters of type ServerPlayerEntity Modifier and Type Method Description private 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_, java.lang.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_, java.lang.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_)
Method parameters in net.minecraft.command.impl with type arguments of type ServerPlayerEntity Modifier and Type Method Description private static int
ExperienceCommand. addExperience(CommandSource p_198448_0_, java.util.Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_)
private static int
ClearCommand. clearInventory(CommandSource p_198244_0_, java.util.Collection<ServerPlayerEntity> p_198244_1_, java.util.function.Predicate<ItemStack> p_198244_2_, int p_198244_3_)
private static int
TitleCommand. clearTitle(CommandSource p_198840_0_, java.util.Collection<ServerPlayerEntity> p_198840_1_)
private static int
ListCommand. format(CommandSource p_208200_0_, java.util.function.Function<ServerPlayerEntity,ITextComponent> p_208200_1_)
private static int
GiveCommand. giveItem(CommandSource p_198497_0_, ItemInput p_198497_1_, java.util.Collection<ServerPlayerEntity> p_198497_2_, int p_198497_3_)
private static int
RecipeCommand. giveRecipes(CommandSource p_198594_0_, java.util.Collection<ServerPlayerEntity> p_198594_1_, java.util.Collection<IRecipe<?>> p_198594_2_)
private static int
KickCommand. kickPlayers(CommandSource p_198515_0_, java.util.Collection<ServerPlayerEntity> p_198515_1_, ITextComponent p_198515_2_)
private static int
AdvancementCommand. perform(CommandSource p_198214_0_, java.util.Collection<ServerPlayerEntity> p_198214_1_, AdvancementCommand.Action p_198214_2_, java.util.Collection<Advancement> p_198214_3_)
private static int
AdvancementCommand. performCriterion(CommandSource p_198203_0_, java.util.Collection<ServerPlayerEntity> p_198203_1_, AdvancementCommand.Action p_198203_2_, Advancement p_198203_3_, java.lang.String p_198203_4_)
private static int
LootCommand. playerGive(java.util.Collection<ServerPlayerEntity> p_218859_0_, java.util.List<ItemStack> p_218859_1_, LootCommand.ISuccessListener p_218859_2_)
private static int
PlaySoundCommand. playSound(CommandSource p_198573_0_, java.util.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_, java.util.Collection<ServerPlayerEntity> p_198844_1_)
private static int
MessageCommand. sendMessage(CommandSource p_198538_0_, java.util.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_, java.util.Collection<ServerPlayerEntity> p_198564_7_)
private static int
ExperienceCommand. setExperience(CommandSource p_198438_0_, java.util.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_, java.util.Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_)
private static int
BossBarCommand. setPlayers(CommandSource p_201405_0_, CustomServerBossInfo p_201405_1_, java.util.Collection<ServerPlayerEntity> p_201405_2_)
private static int
SpawnPointCommand. setSpawn(CommandSource p_198696_0_, java.util.Collection<ServerPlayerEntity> p_198696_1_, BlockPos p_198696_2_, float p_198696_3_)
private static int
TitleCommand. setTimes(CommandSource p_198845_0_, java.util.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_, java.util.Collection<ServerPlayerEntity> p_198846_1_, ITextComponent p_198846_2_, STitlePacket.Type p_198846_3_)
private static int
StopSoundCommand. stopSound(CommandSource p_198733_0_, java.util.Collection<ServerPlayerEntity> p_198733_1_, SoundCategory p_198733_2_, ResourceLocation p_198733_3_)
private static int
RecipeCommand. takeRecipes(CommandSource p_198590_0_, java.util.Collection<ServerPlayerEntity> p_198590_1_, java.util.Collection<IRecipe<?>> p_198590_2_)
Constructor parameters in net.minecraft.command.impl with type arguments of type ServerPlayerEntity Constructor Description Type(java.lang.String p_i48027_3_, java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> p_i48027_4_, java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> p_i48027_5_, java.util.function.ToIntFunction<ServerPlayerEntity> p_i48027_6_)
Type(java.lang.String p_i48027_3_, java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> p_i48027_4_, java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> p_i48027_5_, java.util.function.ToIntFunction<ServerPlayerEntity> p_i48027_6_)
Type(java.lang.String p_i48027_3_, java.util.function.BiConsumer<ServerPlayerEntity,java.lang.Integer> p_i48027_4_, java.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer> p_i48027_5_, java.util.function.ToIntFunction<ServerPlayerEntity> p_i48027_6_)
-
Uses of ServerPlayerEntity in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type ServerPlayerEntity Modifier and Type Method Description boolean
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
Fields in net.minecraft.entity.ai.goal declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
LandOnOwnersShoulderGoal. owner
-
Uses of ServerPlayerEntity in net.minecraft.entity.boss
Methods in net.minecraft.entity.boss with parameters of type ServerPlayerEntity Modifier and Type Method Description void
WitherEntity. startSeenByPlayer(ServerPlayerEntity p_184178_1_)
void
WitherEntity. stopSeenByPlayer(ServerPlayerEntity p_184203_1_)
-
Uses of ServerPlayerEntity in net.minecraft.entity.effect
Fields in net.minecraft.entity.effect declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
LightningBoltEntity. cause
Methods in net.minecraft.entity.effect with parameters of type ServerPlayerEntity Modifier and Type Method Description void
LightningBoltEntity. setCause(ServerPlayerEntity p_204809_1_)
-
Uses of ServerPlayerEntity in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
AnimalEntity. getLoveCause()
Methods in net.minecraft.entity.passive with parameters of type ServerPlayerEntity Modifier and Type Method Description boolean
ShoulderRidingEntity. setEntityOnShoulder(ServerPlayerEntity p_213439_1_)
-
Uses of ServerPlayerEntity in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type ServerPlayerEntity Modifier and Type Method Description boolean
ServerPlayerEntity. broadcastToPlayer(ServerPlayerEntity p_174827_1_)
void
ServerPlayerEntity. restoreFrom(ServerPlayerEntity p_193104_1_, boolean p_193104_2_)
-
Uses of ServerPlayerEntity in net.minecraft.inventory
Methods in net.minecraft.inventory with parameters of type ServerPlayerEntity Modifier and Type Method Description default boolean
IRecipeHolder. setRecipeUsed(World p_201561_1_, ServerPlayerEntity p_201561_2_, IRecipe<?> p_201561_3_)
-
Uses of ServerPlayerEntity in net.minecraft.inventory.container
Methods in net.minecraft.inventory.container with parameters of type ServerPlayerEntity Modifier and Type Method Description void
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
Methods in net.minecraft.item with parameters of type ServerPlayerEntity Modifier and Type Method Description boolean
ItemStack. hurt(int p_96631_1_, java.util.Random p_96631_2_, ServerPlayerEntity p_96631_3_)
-
Uses of ServerPlayerEntity in net.minecraft.item.crafting
Methods in net.minecraft.item.crafting with parameters of type ServerPlayerEntity Modifier and Type Method Description int
ServerRecipeBook. addRecipes(java.util.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(java.util.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_, java.util.List<ResourceLocation> p_194081_3_)
-
Uses of ServerPlayerEntity in net.minecraft.network.login
Fields in net.minecraft.network.login declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
ServerLoginNetHandler. delayedAcceptPlayer
-
Uses of ServerPlayerEntity in net.minecraft.network.play
Fields in net.minecraft.network.play declared as ServerPlayerEntity Modifier and Type Field Description ServerPlayerEntity
ServerPlayNetHandler. player
Methods in net.minecraft.network.play with parameters of type ServerPlayerEntity Modifier and Type Method Description private static boolean
ServerPlayNetHandler. wasBlockPlacementAttempt(ServerPlayerEntity p_241166_0_, ItemStack p_241166_1_)
Constructors in net.minecraft.network.play with parameters of type ServerPlayerEntity Constructor Description ServerPlayNetHandler(MinecraftServer p_i1530_1_, NetworkManager p_i1530_2_, ServerPlayerEntity p_i1530_3_)
-
Uses of ServerPlayerEntity in net.minecraft.network.play.server
Constructors in net.minecraft.network.play.server with parameters of type ServerPlayerEntity Constructor Description SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46929_1_, ServerPlayerEntity... p_i46929_2_)
Constructor parameters in net.minecraft.network.play.server with type arguments of type ServerPlayerEntity Constructor Description SPlayerListItemPacket(SPlayerListItemPacket.Action p_i46930_1_, java.lang.Iterable<ServerPlayerEntity> p_i46930_2_)
-
Uses of ServerPlayerEntity in net.minecraft.server
Methods in net.minecraft.server with parameters of type ServerPlayerEntity Modifier and Type Method Description void
CustomServerBossInfo. addPlayer(ServerPlayerEntity p_186760_1_)
IChatFilter
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_)
Method parameters in net.minecraft.server with type arguments of type ServerPlayerEntity Modifier and Type Method Description boolean
CustomServerBossInfo. setPlayers(java.util.Collection<ServerPlayerEntity> p_201368_1_)
-
Uses of ServerPlayerEntity in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type ServerPlayerEntity Modifier and Type Method Description IChatFilter
DedicatedServer. createTextFilterForPlayer(ServerPlayerEntity p_244435_1_)
-
Uses of ServerPlayerEntity in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated with parameters of type ServerPlayerEntity Modifier and Type Method Description protected void
IntegratedPlayerList. save(ServerPlayerEntity p_72391_1_)
-
Uses of ServerPlayerEntity in net.minecraft.server.management
Fields in net.minecraft.server.management declared as ServerPlayerEntity Modifier and Type Field Description ServerPlayerEntity
PlayerInteractionManager. player
Fields in net.minecraft.server.management with type parameters of type ServerPlayerEntity Modifier and Type Field Description private java.util.List<ServerPlayerEntity>
PlayerList. players
private java.util.Map<java.util.UUID,ServerPlayerEntity>
PlayerList. playersByUUID
private java.util.List<ServerPlayerEntity>
PlayerList. playersView
Methods in net.minecraft.server.management that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
PlayerList. getPlayer(java.util.UUID p_177451_1_)
ServerPlayerEntity
PlayerList. getPlayerByName(java.lang.String p_152612_1_)
ServerPlayerEntity
PlayerList. getPlayerForLogin(com.mojang.authlib.GameProfile p_148545_1_)
ServerPlayerEntity
PlayerList. respawn(ServerPlayerEntity p_232644_1_, boolean p_232644_2_)
Methods in net.minecraft.server.management that return types with arguments of type ServerPlayerEntity Modifier and Type Method Description java.util.List<ServerPlayerEntity>
PlayerList. getPlayers()
java.util.List<ServerPlayerEntity>
PlayerList. getPlayersWithAddress(java.lang.String p_72382_1_)
Methods in net.minecraft.server.management with parameters of type ServerPlayerEntity Modifier and Type Method Description boolean
PlayerList. addPlayer(ServerPlayerEntity player)
PlayerAdvancements
PlayerList. getPlayerAdvancements(ServerPlayerEntity p_192054_1_)
CompoundNBT
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)
ServerPlayerEntity
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_)
ActionResultType
DemoPlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
PlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)
ActionResultType
DemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)
ActionResultType
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
Methods in net.minecraft.stats with parameters of type ServerPlayerEntity Modifier and Type Method Description void
ServerStatisticsManager. sendStats(ServerPlayerEntity p_150876_1_)
-
Uses of ServerPlayerEntity in net.minecraft.tileentity
Methods in net.minecraft.tileentity with parameters of type ServerPlayerEntity Modifier and Type Method Description CommandSource
SignTileEntity. createCommandSourceStack(ServerPlayerEntity p_195539_1_)
-
Uses of ServerPlayerEntity in net.minecraft.util
Fields in net.minecraft.util declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
ServerCooldownTracker. player
Constructors in net.minecraft.util with parameters of type ServerPlayerEntity Constructor Description ServerCooldownTracker(ServerPlayerEntity p_i46741_1_)
-
Uses of ServerPlayerEntity in net.minecraft.world
Methods in net.minecraft.world with parameters of type ServerPlayerEntity Modifier and Type Method Description void
TrackedEntity. addPairing(ServerPlayerEntity p_219455_1_)
void
TrackedEntity. removePairing(ServerPlayerEntity p_219454_1_)
-
Uses of ServerPlayerEntity in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk with type parameters of type ServerPlayerEntity Modifier and Type Field Description private it.unimi.dsi.fastutil.objects.Object2BooleanMap<ServerPlayerEntity>
PlayerGenerationTracker. players
Methods in net.minecraft.world.chunk that return types with arguments of type ServerPlayerEntity Modifier and Type Method Description java.util.stream.Stream<ServerPlayerEntity>
PlayerGenerationTracker. getPlayers(long p_219444_1_)
Methods in net.minecraft.world.chunk with parameters of type ServerPlayerEntity Modifier and Type Method Description void
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
Methods in net.minecraft.world.end with parameters of type ServerPlayerEntity Modifier and Type Method Description void
DragonFightManager. addPlayer(ServerPlayerEntity player)
void
DragonFightManager. removePlayer(ServerPlayerEntity player)
-
Uses of ServerPlayerEntity in net.minecraft.world.raid
Methods in net.minecraft.world.raid that return types with arguments of type ServerPlayerEntity Modifier and Type Method Description private java.util.function.Predicate<ServerPlayerEntity>
Raid. validPlayer()
Methods in net.minecraft.world.raid with parameters of type ServerPlayerEntity Modifier and Type Method Description Raid
RaidManager. createOrExtendRaid(ServerPlayerEntity p_215170_1_)
-
Uses of ServerPlayerEntity in net.minecraft.world.server
Fields in net.minecraft.world.server with type parameters of type ServerPlayerEntity Modifier and Type Field Description private java.util.Set<ServerPlayerEntity>
ServerBossInfo. players
private java.util.List<ServerPlayerEntity>
ServerWorld. players
private it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.ObjectSet<ServerPlayerEntity>>
TicketManager. playersPerChunk
private java.util.Set<ServerPlayerEntity>
ChunkManager.EntityTracker. seenBy
private java.util.Set<ServerPlayerEntity>
ServerBossInfo. unmodifiablePlayers
Methods in net.minecraft.world.server that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
ServerWorld. getRandomPlayer()
Methods in net.minecraft.world.server that return types with arguments of type ServerPlayerEntity Modifier and Type Method Description java.util.stream.Stream<ServerPlayerEntity>
ChunkHolder.IPlayerProvider. getPlayers(ChunkPos p_219097_1_, boolean p_219097_2_)
java.util.stream.Stream<ServerPlayerEntity>
ChunkManager. getPlayers(ChunkPos p_219097_1_, boolean p_219097_2_)
java.util.Collection<ServerPlayerEntity>
ServerBossInfo. getPlayers()
java.util.List<ServerPlayerEntity>
ServerWorld. getPlayers(java.util.function.Predicate<? super ServerPlayerEntity> p_217490_1_)
java.util.List<ServerPlayerEntity>
ServerWorld. players()
Methods in net.minecraft.world.server with parameters of type ServerPlayerEntity Modifier and Type Method Description void
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_)
Method parameters in net.minecraft.world.server with type arguments of type ServerPlayerEntity Modifier and Type Method Description java.util.List<ServerPlayerEntity>
ServerWorld. getPlayers(java.util.function.Predicate<? super ServerPlayerEntity> p_217490_1_)
void
ChunkManager.EntityTracker. updatePlayers(java.util.List<ServerPlayerEntity> p_219397_1_)
-
Uses of ServerPlayerEntity in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type ServerPlayerEntity Modifier and Type Method Description static 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
Subclasses of ServerPlayerEntity in net.minecraftforge.common.util Modifier and Type Class Description class
FakePlayer
Methods in net.minecraftforge.common.util with parameters of type ServerPlayerEntity Modifier and Type Method Description default boolean
ITeleporter. playTeleportSound(ServerPlayerEntity player, ServerWorld sourceWorld, ServerWorld destWorld)
Called when vanilla wants to play the portal sound after teleporting.Constructors in net.minecraftforge.common.util with parameters of type ServerPlayerEntity Constructor Description ChunkCoordComparator(ServerPlayerEntity entityplayer)
FakePlayerNetHandler(MinecraftServer server, ServerPlayerEntity player)
-
Uses of ServerPlayerEntity in net.minecraftforge.debug.misc
Methods in net.minecraftforge.debug.misc with parameters of type ServerPlayerEntity Modifier and Type Method Description private static void
OnDatapackSynctEventTest. syncData(ServerPlayerEntity player)
-
Uses of ServerPlayerEntity in net.minecraftforge.event
Fields in net.minecraftforge.event declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
OnDatapackSyncEvent. player
private ServerPlayerEntity
ServerChatEvent. player
Methods in net.minecraftforge.event that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
OnDatapackSyncEvent. getPlayer()
ServerPlayerEntity
ServerChatEvent. getPlayer()
Methods in net.minecraftforge.event with parameters of type ServerPlayerEntity Modifier and Type Method Description static 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)
static EntityTeleportEvent.EnderPearl
ForgeEventFactory. onEnderPearlLand(ServerPlayerEntity entity, double targetX, double targetY, double targetZ, EnderPearlEntity pearlEntity, float attackDamage)
Constructors in net.minecraftforge.event with parameters of type ServerPlayerEntity Constructor Description OnDatapackSyncEvent(PlayerList playerList, ServerPlayerEntity player)
ServerChatEvent(ServerPlayerEntity player, java.lang.String message, ITextComponent component)
-
Uses of ServerPlayerEntity in net.minecraftforge.event.entity.living
Fields in net.minecraftforge.event.entity.living declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
EntityTeleportEvent.EnderPearl. player
Methods in net.minecraftforge.event.entity.living that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
EntityTeleportEvent.EnderPearl. getPlayer()
Constructors in net.minecraftforge.event.entity.living with parameters of type ServerPlayerEntity Constructor Description EnderPearl(ServerPlayerEntity entity, double targetX, double targetY, double targetZ, EnderPearlEntity pearlEntity, float attackDamage)
-
Uses of ServerPlayerEntity in net.minecraftforge.event.world
Fields in net.minecraftforge.event.world declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
ChunkWatchEvent. player
Methods in net.minecraftforge.event.world that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
ChunkWatchEvent. getPlayer()
Constructors in net.minecraftforge.event.world with parameters of type ServerPlayerEntity Constructor Description ChunkWatchEvent(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
Fields in net.minecraftforge.fml.network declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntity
PacketDistributor.TargetPoint. excluded
Fields in net.minecraftforge.fml.network with type parameters of type ServerPlayerEntity Modifier and Type Field Description static PacketDistributor<ServerPlayerEntity>
PacketDistributor. PLAYER
Send to the player specified in the Supplier
PacketDistributor.with(Supplier)
PlayerMethods in net.minecraftforge.fml.network that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntity
NetworkEvent.Context. getSender()
When available, gets the sender for packets that are sent from a client to the server.Methods in net.minecraftforge.fml.network with parameters of type ServerPlayerEntity Modifier and Type Method Description static 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, java.util.function.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)
Method parameters in net.minecraftforge.fml.network with type arguments of type ServerPlayerEntity Modifier and Type Method Description private java.util.function.Consumer<IPacket<?>>
PacketDistributor. playerConsumer(java.util.function.Supplier<ServerPlayerEntity> entityPlayerMPSupplier)
Constructors in net.minecraftforge.fml.network with parameters of type ServerPlayerEntity Constructor Description TargetPoint(ServerPlayerEntity excluded, double x, double y, double z, double r2, RegistryKey<World> dim)
A target point with excluded entity
-