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 ServerPlayerEntityPlayerAdvancements. playerMethods in net.minecraft.advancements with parameters of type ServerPlayerEntity Modifier and Type Method Description voidPlayerAdvancements. flushDirty(ServerPlayerEntity p_192741_1_)voidAdvancementRewards. grant(ServerPlayerEntity p_192113_1_)voidPlayerAdvancements. 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 LootContextEntityPredicate. createContext(ServerPlayerEntity p_234575_0_, Entity p_234575_1_)booleanDamagePredicate. matches(ServerPlayerEntity p_192365_1_, DamageSource p_192365_2_, float p_192365_3_, float p_192365_4_, boolean p_192365_5_)booleanDamageSourcePredicate. matches(ServerPlayerEntity p_193418_1_, DamageSource p_193418_2_)booleanEffectsChangedTrigger.Instance. matches(ServerPlayerEntity p_193195_1_)booleanEntityHurtPlayerTrigger.Instance. matches(ServerPlayerEntity p_192263_1_, DamageSource p_192263_2_, float p_192263_3_, float p_192263_4_, boolean p_192263_5_)booleanEntityPredicate. matches(ServerPlayerEntity p_192482_1_, Entity p_192482_2_)booleanKilledTrigger.Instance. matches(ServerPlayerEntity p_235050_1_, LootContext p_235050_2_, DamageSource p_235050_3_)booleanLevitationTrigger.Instance. matches(ServerPlayerEntity p_193201_1_, Vector3d p_193201_2_, int p_193201_3_)booleanPlayerHurtEntityTrigger.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_)booleanThrownItemPickedUpByEntityTrigger.Instance. matches(ServerPlayerEntity p_234836_1_, ItemStack p_234836_2_, LootContext p_234836_3_)protected voidAbstractCriterionTrigger. trigger(ServerPlayerEntity p_235959_1_, java.util.function.Predicate<T> p_235959_2_)voidBeeNestDestroyedTrigger. trigger(ServerPlayerEntity p_226223_1_, Block p_226223_2_, ItemStack p_226223_3_, int p_226223_4_)voidBredAnimalsTrigger. trigger(ServerPlayerEntity p_192168_1_, AnimalEntity p_192168_2_, AnimalEntity p_192168_3_, AgeableEntity p_192168_4_)voidBrewedPotionTrigger. trigger(ServerPlayerEntity p_192173_1_, Potion p_192173_2_)voidChangeDimensionTrigger. trigger(ServerPlayerEntity p_233551_1_, RegistryKey<World> p_233551_2_, RegistryKey<World> p_233551_3_)voidChanneledLightningTrigger. trigger(ServerPlayerEntity p_204814_1_, java.util.Collection<? extends Entity> p_204814_2_)voidConstructBeaconTrigger. trigger(ServerPlayerEntity p_192180_1_, BeaconTileEntity p_192180_2_)voidConsumeItemTrigger. trigger(ServerPlayerEntity p_193148_1_, ItemStack p_193148_2_)voidCuredZombieVillagerTrigger. trigger(ServerPlayerEntity p_192183_1_, ZombieEntity p_192183_2_, VillagerEntity p_192183_3_)voidEffectsChangedTrigger. trigger(ServerPlayerEntity p_193153_1_)voidEnchantedItemTrigger. trigger(ServerPlayerEntity p_192190_1_, ItemStack p_192190_2_, int p_192190_3_)voidEnterBlockTrigger. trigger(ServerPlayerEntity p_192193_1_, BlockState p_192193_2_)voidEntityHurtPlayerTrigger. trigger(ServerPlayerEntity p_192200_1_, DamageSource p_192200_2_, float p_192200_3_, float p_192200_4_, boolean p_192200_5_)voidFilledBucketTrigger. trigger(ServerPlayerEntity p_204817_1_, ItemStack p_204817_2_)voidFishingRodHookedTrigger. trigger(ServerPlayerEntity p_204820_1_, ItemStack p_204820_2_, FishingBobberEntity p_204820_3_, java.util.Collection<ItemStack> p_204820_4_)voidInventoryChangeTrigger. trigger(ServerPlayerEntity p_234803_1_, PlayerInventory p_234803_2_, ItemStack p_234803_3_)private voidInventoryChangeTrigger. 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_)voidItemDurabilityTrigger. trigger(ServerPlayerEntity p_193158_1_, ItemStack p_193158_2_, int p_193158_3_)voidKilledByCrossbowTrigger. trigger(ServerPlayerEntity p_234941_1_, java.util.Collection<Entity> p_234941_2_)voidKilledTrigger. trigger(ServerPlayerEntity p_192211_1_, Entity p_192211_2_, DamageSource p_192211_3_)voidLevitationTrigger. trigger(ServerPlayerEntity p_193162_1_, Vector3d p_193162_2_, int p_193162_3_)voidNetherTravelTrigger. trigger(ServerPlayerEntity p_193168_1_, Vector3d p_193168_2_)voidPlacedBlockTrigger. trigger(ServerPlayerEntity p_193173_1_, BlockPos p_193173_2_, ItemStack p_193173_3_)voidPlayerEntityInteractionTrigger. trigger(ServerPlayerEntity p_241476_1_, ItemStack p_241476_2_, Entity p_241476_3_)voidPlayerGeneratesContainerLootTrigger. trigger(ServerPlayerEntity p_235478_1_, ResourceLocation p_235478_2_)voidPlayerHurtEntityTrigger. 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_)voidPositionTrigger. trigger(ServerPlayerEntity p_192215_1_)voidRecipeUnlockedTrigger. trigger(ServerPlayerEntity p_192225_1_, IRecipe<?> p_192225_2_)voidRightClickBlockWithItemTrigger. trigger(ServerPlayerEntity p_226695_1_, BlockPos p_226695_2_, ItemStack p_226695_3_)voidShotCrossbowTrigger. trigger(ServerPlayerEntity p_215111_1_, ItemStack p_215111_2_)voidSlideDownBlockTrigger. trigger(ServerPlayerEntity p_227152_1_, BlockState p_227152_2_)voidSummonedEntityTrigger. trigger(ServerPlayerEntity p_192229_1_, Entity p_192229_2_)voidTameAnimalTrigger. trigger(ServerPlayerEntity p_193178_1_, AnimalEntity p_193178_2_)voidTargetHitTrigger. trigger(ServerPlayerEntity p_236350_1_, Entity p_236350_2_, Vector3d p_236350_3_, int p_236350_4_)voidThrownItemPickedUpByEntityTrigger. trigger(ServerPlayerEntity p_234830_1_, ItemStack p_234830_2_, Entity p_234830_3_)voidTickTrigger. trigger(ServerPlayerEntity p_193182_1_)voidUsedEnderEyeTrigger. trigger(ServerPlayerEntity p_192239_1_, BlockPos p_192239_2_)voidUsedTotemTrigger. trigger(ServerPlayerEntity p_193187_1_, ItemStack p_193187_2_)voidVillagerTradeTrigger. 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 ServerPlayerEntityCommandSource. getPlayerOrException()Methods in net.minecraft.command with parameters of type ServerPlayerEntity Modifier and Type Method Description voidCommands. 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 ServerPlayerEntityEntitySelector. findSinglePlayer(CommandSource p_197347_1_)static ServerPlayerEntityEntityArgument. 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. addprivate java.util.function.ToIntFunction<ServerPlayerEntity>ExperienceCommand.Type. queryjava.util.function.BiPredicate<ServerPlayerEntity,java.lang.Integer>ExperienceCommand.Type. setMethods in net.minecraft.command.impl with parameters of type ServerPlayerEntity Modifier and Type Method Description private static ScoreTriggerCommand. getScore(ServerPlayerEntity p_198848_0_, ScoreObjective p_198848_1_)private static voidGameModeCommand. logGamemodeChange(CommandSource p_208517_0_, ServerPlayerEntity p_208517_1_, GameType p_208517_2_)intAdvancementCommand.Action. perform(ServerPlayerEntity p_198180_1_, java.lang.Iterable<Advancement> p_198180_2_)protected abstract booleanAdvancementCommand.Action. perform(ServerPlayerEntity p_198179_1_, Advancement p_198179_2_)protected abstract booleanAdvancementCommand.Action. performCriterion(ServerPlayerEntity p_198182_1_, Advancement p_198182_2_, java.lang.String p_198182_3_)private static intExperienceCommand. queryExperience(CommandSource p_198443_0_, ServerPlayerEntity p_198443_1_, ExperienceCommand.Type p_198443_2_)private static intSpectateCommand. 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 intExperienceCommand. addExperience(CommandSource p_198448_0_, java.util.Collection<? extends ServerPlayerEntity> p_198448_1_, int p_198448_2_, ExperienceCommand.Type p_198448_3_)private static intClearCommand. 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 intTitleCommand. clearTitle(CommandSource p_198840_0_, java.util.Collection<ServerPlayerEntity> p_198840_1_)private static intListCommand. format(CommandSource p_208200_0_, java.util.function.Function<ServerPlayerEntity,ITextComponent> p_208200_1_)private static intGiveCommand. giveItem(CommandSource p_198497_0_, ItemInput p_198497_1_, java.util.Collection<ServerPlayerEntity> p_198497_2_, int p_198497_3_)private static intRecipeCommand. giveRecipes(CommandSource p_198594_0_, java.util.Collection<ServerPlayerEntity> p_198594_1_, java.util.Collection<IRecipe<?>> p_198594_2_)private static intKickCommand. kickPlayers(CommandSource p_198515_0_, java.util.Collection<ServerPlayerEntity> p_198515_1_, ITextComponent p_198515_2_)private static intAdvancementCommand. 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 intAdvancementCommand. 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 intLootCommand. playerGive(java.util.Collection<ServerPlayerEntity> p_218859_0_, java.util.List<ItemStack> p_218859_1_, LootCommand.ISuccessListener p_218859_2_)private static intPlaySoundCommand. 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 intTitleCommand. resetTitle(CommandSource p_198844_0_, java.util.Collection<ServerPlayerEntity> p_198844_1_)private static intMessageCommand. sendMessage(CommandSource p_198538_0_, java.util.Collection<ServerPlayerEntity> p_198538_1_, ITextComponent p_198538_2_)private static intParticleCommand. 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 intExperienceCommand. setExperience(CommandSource p_198438_0_, java.util.Collection<? extends ServerPlayerEntity> p_198438_1_, int p_198438_2_, ExperienceCommand.Type p_198438_3_)private static intGameModeCommand. setMode(com.mojang.brigadier.context.CommandContext<CommandSource> p_198484_0_, java.util.Collection<ServerPlayerEntity> p_198484_1_, GameType p_198484_2_)private static intBossBarCommand. setPlayers(CommandSource p_201405_0_, CustomServerBossInfo p_201405_1_, java.util.Collection<ServerPlayerEntity> p_201405_2_)private static intSpawnPointCommand. setSpawn(CommandSource p_198696_0_, java.util.Collection<ServerPlayerEntity> p_198696_1_, BlockPos p_198696_2_, float p_198696_3_)private static intTitleCommand. 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 intTitleCommand. showTitle(CommandSource p_198846_0_, java.util.Collection<ServerPlayerEntity> p_198846_1_, ITextComponent p_198846_2_, STitlePacket.Type p_198846_3_)private static intStopSoundCommand. stopSound(CommandSource p_198733_0_, java.util.Collection<ServerPlayerEntity> p_198733_1_, SoundCategory p_198733_2_, ResourceLocation p_198733_3_)private static intRecipeCommand. 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 booleanEntity. broadcastToPlayer(ServerPlayerEntity p_174827_1_)voidEntity. startSeenByPlayer(ServerPlayerEntity p_184178_1_)voidEntity. 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 ServerPlayerEntityLandOnOwnersShoulderGoal. 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 voidWitherEntity. startSeenByPlayer(ServerPlayerEntity p_184178_1_)voidWitherEntity. 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 ServerPlayerEntityLightningBoltEntity. causeMethods in net.minecraft.entity.effect with parameters of type ServerPlayerEntity Modifier and Type Method Description voidLightningBoltEntity. 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 ServerPlayerEntityAnimalEntity. getLoveCause()Methods in net.minecraft.entity.passive with parameters of type ServerPlayerEntity Modifier and Type Method Description booleanShoulderRidingEntity. 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 booleanServerPlayerEntity. broadcastToPlayer(ServerPlayerEntity p_174827_1_)voidServerPlayerEntity. 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 booleanIRecipeHolder. 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 voidAbstractFurnaceContainer. handlePlacement(boolean p_217056_1_, IRecipe<?> p_217056_2_, ServerPlayerEntity p_217056_3_)voidRecipeBookContainer. 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 booleanItemStack. 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 intServerRecipeBook. addRecipes(java.util.Collection<IRecipe<?>> p_197926_1_, ServerPlayerEntity p_197926_2_)voidServerRecipePlacer. recipeClicked(ServerPlayerEntity p_194327_1_, IRecipe<C> p_194327_2_, boolean p_194327_3_)intServerRecipeBook. removeRecipes(java.util.Collection<IRecipe<?>> p_197925_1_, ServerPlayerEntity p_197925_2_)voidServerRecipeBook. sendInitialRecipeBook(ServerPlayerEntity p_192826_1_)private voidServerRecipeBook. 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 ServerPlayerEntityServerLoginNetHandler. delayedAcceptPlayer -
Uses of ServerPlayerEntity in net.minecraft.network.play
Fields in net.minecraft.network.play declared as ServerPlayerEntity Modifier and Type Field Description ServerPlayerEntityServerPlayNetHandler. playerMethods in net.minecraft.network.play with parameters of type ServerPlayerEntity Modifier and Type Method Description private static booleanServerPlayNetHandler. 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 voidCustomServerBossInfo. addPlayer(ServerPlayerEntity p_186760_1_)IChatFilterMinecraftServer. createTextFilterForPlayer(ServerPlayerEntity p_244435_1_)voidCustomServerBossInfo. onPlayerConnect(ServerPlayerEntity p_201361_1_)voidCustomServerBossInfoManager. onPlayerConnect(ServerPlayerEntity p_201383_1_)voidCustomServerBossInfo. onPlayerDisconnect(ServerPlayerEntity p_201363_1_)voidCustomServerBossInfoManager. onPlayerDisconnect(ServerPlayerEntity p_201382_1_)voidCustomServerBossInfo. removePlayer(ServerPlayerEntity p_186761_1_)private voidMinecraftServer. sendDifficultyUpdate(ServerPlayerEntity p_213189_1_)Method parameters in net.minecraft.server with type arguments of type ServerPlayerEntity Modifier and Type Method Description booleanCustomServerBossInfo. 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 IChatFilterDedicatedServer. 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 voidIntegratedPlayerList. 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 ServerPlayerEntityPlayerInteractionManager. playerFields in net.minecraft.server.management with type parameters of type ServerPlayerEntity Modifier and Type Field Description private java.util.List<ServerPlayerEntity>PlayerList. playersprivate java.util.Map<java.util.UUID,ServerPlayerEntity>PlayerList. playersByUUIDprivate java.util.List<ServerPlayerEntity>PlayerList. playersViewMethods in net.minecraft.server.management that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityPlayerList. getPlayer(java.util.UUID p_177451_1_)ServerPlayerEntityPlayerList. getPlayerByName(java.lang.String p_152612_1_)ServerPlayerEntityPlayerList. getPlayerForLogin(com.mojang.authlib.GameProfile p_148545_1_)ServerPlayerEntityPlayerList. 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 booleanPlayerList. addPlayer(ServerPlayerEntity player)PlayerAdvancementsPlayerList. getPlayerAdvancements(ServerPlayerEntity p_192054_1_)CompoundNBTPlayerList. load(ServerPlayerEntity p_72380_1_)voidPlayerList. placeNewPlayer(NetworkManager p_72355_1_, ServerPlayerEntity p_72355_2_)voidPlayerList. remove(ServerPlayerEntity p_72367_1_)booleanPlayerList. removePlayer(ServerPlayerEntity player)ServerPlayerEntityPlayerList. respawn(ServerPlayerEntity p_232644_1_, boolean p_232644_2_)protected voidPlayerList. save(ServerPlayerEntity p_72391_1_)voidPlayerList. sendAllPlayerInfo(ServerPlayerEntity p_72385_1_)voidPlayerList. sendLevelInfo(ServerPlayerEntity p_72354_1_, ServerWorld p_72354_2_)voidPlayerList. sendPlayerPermissionLevel(ServerPlayerEntity p_187243_1_)private voidPlayerList. sendPlayerPermissionLevel(ServerPlayerEntity p_187245_1_, int p_187245_2_)protected voidPlayerList. updateEntireScoreboard(ServerScoreboard p_96456_1_, ServerPlayerEntity p_96456_2_)private voidPlayerList. updatePlayerGameMode(ServerPlayerEntity p_72381_1_, ServerPlayerEntity p_72381_2_, ServerWorld p_72381_3_)ActionResultTypeDemoPlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)ActionResultTypePlayerInteractionManager. useItem(ServerPlayerEntity p_187250_1_, World p_187250_2_, ItemStack p_187250_3_, Hand p_187250_4_)ActionResultTypeDemoPlayerInteractionManager. useItemOn(ServerPlayerEntity p_219441_1_, World p_219441_2_, ItemStack p_219441_3_, Hand p_219441_4_, BlockRayTraceResult p_219441_5_)ActionResultTypePlayerInteractionManager. 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 voidServerStatisticsManager. 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 CommandSourceSignTileEntity. 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 ServerPlayerEntityServerCooldownTracker. playerConstructors 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 voidTrackedEntity. addPairing(ServerPlayerEntity p_219455_1_)voidTrackedEntity. 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. playersMethods 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 voidPlayerGenerationTracker. addPlayer(long p_219442_1_, ServerPlayerEntity p_219442_3_, boolean p_219442_4_)booleanPlayerGenerationTracker. ignored(ServerPlayerEntity p_225419_1_)booleanPlayerGenerationTracker. ignoredOrUnknown(ServerPlayerEntity p_219448_1_)voidPlayerGenerationTracker. ignorePlayer(ServerPlayerEntity p_219446_1_)voidPlayerGenerationTracker. removePlayer(long p_219443_1_, ServerPlayerEntity p_219443_3_)voidPlayerGenerationTracker. unIgnorePlayer(ServerPlayerEntity p_219447_1_)voidPlayerGenerationTracker. 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 voidDragonFightManager. addPlayer(ServerPlayerEntity player)voidDragonFightManager. 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 RaidRaidManager. 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. playersprivate java.util.List<ServerPlayerEntity>ServerWorld. playersprivate it.unimi.dsi.fastutil.longs.Long2ObjectMap<it.unimi.dsi.fastutil.objects.ObjectSet<ServerPlayerEntity>>TicketManager. playersPerChunkprivate java.util.Set<ServerPlayerEntity>ChunkManager.EntityTracker. seenByprivate java.util.Set<ServerPlayerEntity>ServerBossInfo. unmodifiablePlayersMethods in net.minecraft.world.server that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityServerWorld. 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 voidServerWorld. addDuringCommandTeleport(ServerPlayerEntity p_217446_1_)voidServerWorld. addDuringPortalTeleport(ServerPlayerEntity p_217447_1_)voidServerWorld. addNewPlayer(ServerPlayerEntity p_217435_1_)voidServerBossInfo. addPlayer(ServerPlayerEntity p_186760_1_)private voidServerWorld. addPlayer(ServerPlayerEntity p_217448_1_)voidTicketManager. addPlayer(SectionPos p_219341_1_, ServerPlayerEntity p_219341_2_)voidServerWorld. addRespawnedPlayer(ServerPlayerEntity p_217433_1_)private static intChunkManager. checkerboardDistance(ChunkPos p_219215_0_, ServerPlayerEntity p_219215_1_, boolean p_219215_2_)voidChunkManager. move(ServerPlayerEntity p_219183_1_)voidServerChunkProvider. move(ServerPlayerEntity p_217221_1_)private voidChunkManager. playerLoadedChunk(ServerPlayerEntity p_219180_1_, IPacket<?>[] p_219180_2_, Chunk p_219180_3_)voidChunkManager.EntityTracker. removePlayer(ServerPlayerEntity p_219399_1_)voidServerBossInfo. removePlayer(ServerPlayerEntity p_186761_1_)voidServerWorld. removePlayer(ServerPlayerEntity p_217434_1_, boolean keepData)voidTicketManager. removePlayer(SectionPos p_219367_1_, ServerPlayerEntity p_219367_2_)voidServerWorld. removePlayerImmediately(ServerPlayerEntity p_217434_1_)private booleanServerWorld. 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 booleanChunkManager. skipPlayer(ServerPlayerEntity p_219187_1_)protected voidChunkManager. updateChunkTracking(ServerPlayerEntity p_219199_1_, ChunkPos p_219199_2_, IPacket<?>[] p_219199_3_, boolean p_219199_4_, boolean p_219199_5_)voidChunkManager.EntityTracker. updatePlayer(ServerPlayerEntity p_219400_1_)private SectionPosChunkManager. updatePlayerPos(ServerPlayerEntity p_223489_1_)(package private) voidChunkManager. 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_)voidChunkManager.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 voidForgeHooks. onAdvancement(ServerPlayerEntity player, Advancement advancement)static intForgeHooks. 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 classFakePlayerMethods in net.minecraftforge.common.util with parameters of type ServerPlayerEntity Modifier and Type Method Description default booleanITeleporter. 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 voidOnDatapackSynctEventTest. syncData(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraftforge.event
Fields in net.minecraftforge.event declared as ServerPlayerEntity Modifier and Type Field Description private ServerPlayerEntityOnDatapackSyncEvent. playerprivate ServerPlayerEntityServerChatEvent. playerMethods in net.minecraftforge.event that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityOnDatapackSyncEvent. getPlayer()ServerPlayerEntityServerChatEvent. getPlayer()Methods in net.minecraftforge.event with parameters of type ServerPlayerEntity Modifier and Type Method Description static voidForgeEventFactory. fireChunkWatch(boolean wasLoaded, boolean load, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world)static voidForgeEventFactory. fireChunkWatch(boolean watch, ServerPlayerEntity entity, ChunkPos chunkpos, ServerWorld world)static EntityTeleportEvent.EnderPearlForgeEventFactory. 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 ServerPlayerEntityEntityTeleportEvent.EnderPearl. playerMethods in net.minecraftforge.event.entity.living that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityEntityTeleportEvent.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 ServerPlayerEntityChunkWatchEvent. playerMethods in net.minecraftforge.event.world that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityChunkWatchEvent. 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 ServerPlayerEntityPacketDistributor.TargetPoint. excludedFields in net.minecraftforge.fml.network with type parameters of type ServerPlayerEntity Modifier and Type Field Description static PacketDistributor<ServerPlayerEntity>PacketDistributor. PLAYERSend to the player specified in the Supplier
PacketDistributor.with(Supplier)PlayerMethods in net.minecraftforge.fml.network that return ServerPlayerEntity Modifier and Type Method Description ServerPlayerEntityNetworkEvent.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 voidNetworkHooks. openGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier)Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORYfor how to provide a function to consume these GUI requests on the client.static voidNetworkHooks. 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#GUIFACTORYfor how to provide a function to consume these GUI requests on the client.static voidNetworkHooks. openGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier, BlockPos pos)Request to open a GUI on the client, from the server Refer tonet.minecraftforge.fml.ExtensionPoint#GUIFACTORYfor how to provide a function to consume these GUI requests on the client.static voidNetworkHooks. syncCustomTagTypes(ServerPlayerEntity player, ITagCollectionSupplier tagCollectionSupplier)Syncs the custom tag types attached to aITagCollectionSupplierto the given player.static booleanNetworkHooks. 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
-