Uses of Class
net.minecraft.server.network.ServerPlayerEntity
Packages that use ServerPlayerEntity
Package
Description
The base package for all Minecraft classes.
-
Uses of ServerPlayerEntity in net.minecraft
Methods in net.minecraft with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidclass_6405.method_37240(ServerPlayerEntity serverPlayerEntity, LightningEntity lightningEntity, List<Entity> list)voidclass_6407.method_37257(ServerPlayerEntity serverPlayerEntity)voidclass_6409.method_37262(ServerPlayerEntity serverPlayerEntity, ItemStack itemStack) -
Uses of ServerPlayerEntity in net.minecraft.advancement
Fields in net.minecraft.advancement declared as ServerPlayerEntityMethods in net.minecraft.advancement with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidAdvancementRewards.apply(ServerPlayerEntity player)voidPlayerAdvancementTracker.sendUpdate(ServerPlayerEntity player)voidPlayerAdvancementTracker.setOwner(ServerPlayerEntity owner)Constructors in net.minecraft.advancement with parameters of type ServerPlayerEntityModifierConstructorDescriptionPlayerAdvancementTracker(com.mojang.datafixers.DataFixer dataFixer, PlayerManager playerManager, ServerAdvancementLoader advancementLoader, File advancementFile, ServerPlayerEntity owner) -
Uses of ServerPlayerEntity in net.minecraft.advancement.criterion
Methods in net.minecraft.advancement.criterion with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidVillagerTradeCriterion.handle(ServerPlayerEntity player, MerchantEntity merchant, ItemStack stack)booleanEffectsChangedCriterion.Conditions.matches(ServerPlayerEntity player, @Nullable LootContext lootContext)booleanEntityHurtPlayerCriterion.Conditions.matches(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)booleanLevitationCriterion.Conditions.matches(ServerPlayerEntity player, Vec3d startPos, int duration)booleanPlayerHurtEntityCriterion.Conditions.matches(ServerPlayerEntity player, LootContext entityContext, DamageSource source, float dealt, float taken, boolean blocked)protected voidAbstractCriterion.test(ServerPlayerEntity player, Predicate<T> tester)voidBeeNestDestroyedCriterion.test(ServerPlayerEntity player, BlockState state, ItemStack stack, int beeCount)voidItemUsedOnBlockCriterion.test(ServerPlayerEntity player, BlockPos pos, ItemStack stack)booleanOnKilledCriterion.Conditions.test(ServerPlayerEntity player, LootContext killedEntityContext, DamageSource killingBlow)voidPlayerGeneratesContainerLootCriterion.test(ServerPlayerEntity player, Identifier id)voidPlayerInteractedWithEntityCriterion.test(ServerPlayerEntity player, ItemStack stack, Entity entity)voidSlideDownBlockCriterion.test(ServerPlayerEntity player, BlockState state)booleanThrownItemPickedUpByEntityCriterion.Conditions.test(ServerPlayerEntity player, ItemStack stack, LootContext entityContext)voidBredAnimalsCriterion.trigger(ServerPlayerEntity player, AnimalEntity parent, AnimalEntity partner, @Nullable PassiveEntity child)voidBrewedPotionCriterion.trigger(ServerPlayerEntity player, Potion potion)voidChangedDimensionCriterion.trigger(ServerPlayerEntity player, RegistryKey<World> from, RegistryKey<World> to)voidChanneledLightningCriterion.trigger(ServerPlayerEntity player, Collection<? extends Entity> victims)voidConstructBeaconCriterion.trigger(ServerPlayerEntity player, int level)voidConsumeItemCriterion.trigger(ServerPlayerEntity player, ItemStack stack)voidCuredZombieVillagerCriterion.trigger(ServerPlayerEntity player, ZombieEntity zombie, VillagerEntity villager)voidEffectsChangedCriterion.trigger(ServerPlayerEntity serverPlayerEntity, @Nullable Entity entity)voidEnchantedItemCriterion.trigger(ServerPlayerEntity player, ItemStack stack, int levels)voidEnterBlockCriterion.trigger(ServerPlayerEntity player, BlockState state)voidEntityHurtPlayerCriterion.trigger(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked)voidFilledBucketCriterion.trigger(ServerPlayerEntity player, ItemStack stack)voidFishingRodHookedCriterion.trigger(ServerPlayerEntity player, ItemStack rod, FishingBobberEntity bobber, Collection<ItemStack> fishingLoots)voidInventoryChangedCriterion.trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack)private voidInventoryChangedCriterion.trigger(ServerPlayerEntity player, PlayerInventory inventory, ItemStack stack, int full, int empty, int occupied)voidItemDurabilityChangedCriterion.trigger(ServerPlayerEntity player, ItemStack stack, int durability)voidKilledByCrossbowCriterion.trigger(ServerPlayerEntity player, Collection<Entity> piercingKilledEntities)voidLevitationCriterion.trigger(ServerPlayerEntity player, Vec3d startPos, int duration)voidLocationArrivalCriterion.trigger(ServerPlayerEntity player)voidNetherTravelCriterion.trigger(ServerPlayerEntity player, Vec3d enteredPos)voidOnKilledCriterion.trigger(ServerPlayerEntity player, Entity entity, DamageSource killingDamage)voidPlacedBlockCriterion.trigger(ServerPlayerEntity player, BlockPos blockPos, ItemStack stack)voidPlayerHurtEntityCriterion.trigger(ServerPlayerEntity player, Entity entity, DamageSource damage, float dealt, float taken, boolean blocked)voidRecipeUnlockedCriterion.trigger(ServerPlayerEntity player, Recipe<?> recipe)voidShotCrossbowCriterion.trigger(ServerPlayerEntity player, ItemStack stack)voidSummonedEntityCriterion.trigger(ServerPlayerEntity player, Entity entity)voidTameAnimalCriterion.trigger(ServerPlayerEntity player, AnimalEntity entity)voidTargetHitCriterion.trigger(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength)voidThrownItemPickedUpByEntityCriterion.trigger(ServerPlayerEntity player, ItemStack stack, Entity entity)voidTickCriterion.trigger(ServerPlayerEntity player)voidUsedEnderEyeCriterion.trigger(ServerPlayerEntity player, BlockPos strongholdPos)voidUsedTotemCriterion.trigger(ServerPlayerEntity player, ItemStack stack) -
Uses of ServerPlayerEntity in net.minecraft.block.entity
Methods in net.minecraft.block.entity with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidAbstractFurnaceBlockEntity.dropExperienceForRecipesUsed(ServerPlayerEntity player)SignBlockEntity.getCommandSource(@Nullable ServerPlayerEntity player)booleanSignBlockEntity.onActivate(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.command
Methods in net.minecraft.command that return ServerPlayerEntityModifier and TypeMethodDescriptionEntitySelector.getPlayer(ServerCommandSource serverCommandSource)Methods in net.minecraft.command that return types with arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionEntitySelector.getPlayers(ServerCommandSource serverCommandSource) -
Uses of ServerPlayerEntity in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ServerPlayerEntityModifier and TypeMethodDescriptionstatic ServerPlayerEntityEntityArgumentType.getPlayer(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)Methods in net.minecraft.command.argument that return types with arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionstatic Collection<ServerPlayerEntity>EntityArgumentType.getOptionalPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string)static Collection<ServerPlayerEntity>EntityArgumentType.getPlayers(com.mojang.brigadier.context.CommandContext<ServerCommandSource> commandContext, String string) -
Uses of ServerPlayerEntity in net.minecraft.entity
Fields in net.minecraft.entity declared as ServerPlayerEntityMethods in net.minecraft.entity that return ServerPlayerEntityMethods in net.minecraft.entity with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanEntity.canBeSpectated(ServerPlayerEntity spectator)voidEntity.onStartedTrackingBy(ServerPlayerEntity player)voidEntity.onStoppedTrackingBy(ServerPlayerEntity player)voidLightningEntity.setChanneler(@Nullable ServerPlayerEntity channeler) -
Uses of ServerPlayerEntity in net.minecraft.entity.ai.goal
Fields in net.minecraft.entity.ai.goal declared as ServerPlayerEntity -
Uses of ServerPlayerEntity in net.minecraft.entity.boss
Fields in net.minecraft.entity.boss with type parameters of type ServerPlayerEntityModifier and TypeFieldDescriptionprivate Set<ServerPlayerEntity>ServerBossBar.playersprivate Set<ServerPlayerEntity>ServerBossBar.unmodifiablePlayersMethods in net.minecraft.entity.boss that return types with arguments of type ServerPlayerEntityMethods in net.minecraft.entity.boss with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidCommandBossBar.addPlayer(ServerPlayerEntity player)voidServerBossBar.addPlayer(ServerPlayerEntity player)voidBossBarManager.onPlayerConnect(ServerPlayerEntity player)voidCommandBossBar.onPlayerConnect(ServerPlayerEntity player)voidBossBarManager.onPlayerDisconnect(ServerPlayerEntity player)voidCommandBossBar.onPlayerDisconnect(ServerPlayerEntity player)voidWitherEntity.onStartedTrackingBy(ServerPlayerEntity player)voidWitherEntity.onStoppedTrackingBy(ServerPlayerEntity player)voidCommandBossBar.removePlayer(ServerPlayerEntity player)voidServerBossBar.removePlayer(ServerPlayerEntity player)Method parameters in net.minecraft.entity.boss with type arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanCommandBossBar.addPlayers(Collection<ServerPlayerEntity> players) -
Uses of ServerPlayerEntity in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return ServerPlayerEntityMethods in net.minecraft.entity.passive with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanTameableShoulderEntity.mountOnto(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.item
Methods in net.minecraft.item with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanItemStack.damage(int amount, Random random, @Nullable ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ServerPlayerEntityModifierConstructorDescriptionPlayerListS2CPacket(PlayerListS2CPacket.Action action, ServerPlayerEntity[] players)Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type ServerPlayerEntityModifierConstructorDescriptionPlayerListS2CPacket(PlayerListS2CPacket.Action action, Collection<ServerPlayerEntity> players) -
Uses of ServerPlayerEntity in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanDamagePredicate.test(ServerPlayerEntity player, DamageSource source, float dealt, float taken, boolean blocked) -
Uses of ServerPlayerEntity in net.minecraft.predicate.entity
Methods in net.minecraft.predicate.entity with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionstatic LootContextEntityPredicate.createAdvancementEntityLootContext(ServerPlayerEntity player, Entity target)booleanDamageSourcePredicate.test(ServerPlayerEntity player, DamageSource damageSource)booleanEntityPredicate.test(ServerPlayerEntity player, @Nullable Entity entity) -
Uses of ServerPlayerEntity in net.minecraft.recipe
Methods in net.minecraft.recipe with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidInputSlotFiller.fillInputSlots(ServerPlayerEntity entity, @Nullable Recipe<C> recipe, boolean craftAll)default booleanRecipeUnlocker.shouldCraftRecipe(World world, ServerPlayerEntity player, Recipe<?> recipe) -
Uses of ServerPlayerEntity in net.minecraft.screen
Methods in net.minecraft.screen with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidAbstractRecipeScreenHandler.fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ServerPlayerEntityModifier and TypeFieldDescriptionprivate Map<UUID,ServerPlayerEntity>PlayerManager.playerMapprivate List<ServerPlayerEntity>PlayerManager.playersMethods in net.minecraft.server that return ServerPlayerEntityModifier and TypeMethodDescriptionPlayerManager.createPlayer(com.mojang.authlib.GameProfile profile)PlayerManager.respawnPlayer(ServerPlayerEntity player, boolean alive)Methods in net.minecraft.server that return types with arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionPlayerManager.getPlayerList()Gets a list of all players on a Minecraft server.PlayerManager.getPlayersByIp(String ip)Methods in net.minecraft.server with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionMinecraftServer.createFilterer(ServerPlayerEntity player)PlayerManager.getAdvancementTracker(ServerPlayerEntity player)MinecraftServer.getPlayerInteractionManager(ServerPlayerEntity player)PlayerManager.loadPlayerData(ServerPlayerEntity player)voidPlayerManager.onPlayerConnect(ClientConnection connection, ServerPlayerEntity player)voidPlayerManager.remove(ServerPlayerEntity player)PlayerManager.respawnPlayer(ServerPlayerEntity player, boolean alive)protected voidPlayerManager.savePlayerData(ServerPlayerEntity player)voidPlayerManager.sendCommandTree(ServerPlayerEntity player)private voidPlayerManager.sendCommandTree(ServerPlayerEntity player, int permissionLevel)private voidMinecraftServer.sendDifficulty(ServerPlayerEntity player)voidPlayerManager.sendPlayerStatus(ServerPlayerEntity player)protected voidPlayerManager.sendScoreboard(ServerScoreboard scoreboard, ServerPlayerEntity player)voidPlayerManager.sendWorldInfo(ServerPlayerEntity player, ServerWorld world)Method parameters in net.minecraft.server with type arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(Text serverMessage, Function<ServerPlayerEntity,Text> playerMessageFactory, MessageType playerMessageType, UUID sender) -
Uses of ServerPlayerEntity in net.minecraft.server.command
Fields in net.minecraft.server.command with type parameters of type ServerPlayerEntityModifier and TypeFieldDescriptionExperienceCommand.Component.adder(package private) ToIntFunction<ServerPlayerEntity>ExperienceCommand.Component.getterExperienceCommand.Component.setterMethods in net.minecraft.server.command that return ServerPlayerEntityModifier and TypeMethodDescriptionServerCommandSource.getPlayer()Gets the player from this command source or throws a command syntax exception if this command source is not a player.Methods in net.minecraft.server.command with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionprivate static intSpectateCommand.execute(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player)private static intExperienceCommand.executeQuery(ServerCommandSource source, ServerPlayerEntity player, ExperienceCommand.Component component)RaidCommand.getRaid(ServerPlayerEntity player)private static ScoreboardPlayerScoreTriggerCommand.getScore(ServerPlayerEntity player, ScoreboardObjective objective)intAdvancementCommand.Operation.processAll(ServerPlayerEntity player, Iterable<Advancement> advancements)protected abstract booleanAdvancementCommand.Operation.processEach(ServerPlayerEntity player, Advancement advancement)protected abstract booleanAdvancementCommand.Operation.processEachCriterion(ServerPlayerEntity player, Advancement advancement, String criterion)voidCommandManager.sendCommandTree(ServerPlayerEntity player)private static voidGameModeCommand.sendFeedback(ServerCommandSource source, ServerPlayerEntity player, GameMode gameMode)Method parameters in net.minecraft.server.command with type arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionprivate static intClearCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Predicate<ItemStack> item, int maxCount)private static intGameModeCommand.execute(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, Collection<ServerPlayerEntity> targets, GameMode gameMode)private static intGiveCommand.execute(ServerCommandSource source, ItemStackArgument item, Collection<ServerPlayerEntity> targets, int count)private static intKickCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text reason)private static intListCommand.execute(ServerCommandSource source, Function<ServerPlayerEntity,Text> nameProvider)private static intMessageCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text message)private static intParticleCommand.execute(ServerCommandSource source, ParticleEffect parameters, Vec3d pos, Vec3d delta, float speed, int count, boolean force, Collection<ServerPlayerEntity> viewers)private static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)private static intSpawnPointCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, BlockPos pos, float angle)private static intStopSoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound)private static intExperienceCommand.executeAdd(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)private static intAdvancementCommand.executeAdvancement(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Collection<Advancement> selection)private static intTitleCommand.executeClear(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intAdvancementCommand.executeCriterion(ServerCommandSource source, Collection<ServerPlayerEntity> targets, AdvancementCommand.Operation operation, Advancement advancement, String criterion)private static intLootCommand.executeGive(Collection<ServerPlayerEntity> players, List<ItemStack> stacks, LootCommand.FeedbackMessage messageSender)private static intRecipeCommand.executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)private static intTitleCommand.executeReset(ServerCommandSource source, Collection<ServerPlayerEntity> targets)private static intExperienceCommand.executeSet(ServerCommandSource source, Collection<? extends ServerPlayerEntity> targets, int amount, ExperienceCommand.Component component)private static intRecipeCommand.executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)private static intTitleCommand.executeTimes(ServerCommandSource source, Collection<ServerPlayerEntity> targets, int fadeIn, int stay, int fadeOut)private static intTitleCommand.executeTitle(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Text title, String titleType, Function<Text,Packet<?>> constructor)private static intBossBarCommand.setPlayers(ServerCommandSource source, CommandBossBar bossBar, Collection<ServerPlayerEntity> players)Constructor parameters in net.minecraft.server.command with type arguments of type ServerPlayerEntityModifierConstructorDescriptionprivateComponent(String name, BiConsumer<ServerPlayerEntity,Integer> adder, BiPredicate<ServerPlayerEntity,Integer> setter, ToIntFunction<ServerPlayerEntity> getter)privateComponent(String name, BiConsumer<ServerPlayerEntity,Integer> adder, BiPredicate<ServerPlayerEntity,Integer> setter, ToIntFunction<ServerPlayerEntity> getter)privateComponent(String name, BiConsumer<ServerPlayerEntity,Integer> adder, BiPredicate<ServerPlayerEntity,Integer> setter, ToIntFunction<ServerPlayerEntity> getter) -
Uses of ServerPlayerEntity in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionMinecraftDedicatedServer.createFilterer(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionprotected voidIntegratedPlayerManager.savePlayerData(ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ServerPlayerEntityModifier and TypeFieldDescriptionprivate @Nullable ServerPlayerEntityServerLoginNetworkHandler.delayedPlayerThe delayed player, waiting to join the server once the existing player with the same UUID is gone.private ServerPlayerEntityServerItemCooldownManager.playerprotected ServerPlayerEntityServerPlayerInteractionManager.playerServerPlayNetworkHandler.playerMethods in net.minecraft.server.network that return ServerPlayerEntityMethods in net.minecraft.server.network with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionprivate voidServerLoginNetworkHandler.addToServer(ServerPlayerEntity player)booleanServerPlayerEntity.canBeSpectated(ServerPlayerEntity spectator)private static booleanServerPlayNetworkHandler.canPlace(ServerPlayerEntity player, ItemStack stack)Checks if a player can place a block or fluid from a bucket.voidServerPlayerEntity.copyFrom(ServerPlayerEntity oldPlayer, boolean alive)DemoServerPlayerInteractionManager.interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)ServerPlayerInteractionManager.interactBlock(ServerPlayerEntity player, World world, ItemStack stack, Hand hand, BlockHitResult hitResult)DemoServerPlayerInteractionManager.interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)ServerPlayerInteractionManager.interactItem(ServerPlayerEntity player, World world, ItemStack stack, Hand hand)intServerRecipeBook.lockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)ServerPlayNetworkHandler.Interaction.run(ServerPlayerEntity player, Entity entity, Hand hand)voidServerRecipeBook.sendInitRecipesPacket(ServerPlayerEntity player)private voidServerRecipeBook.sendUnlockRecipesPacket(UnlockRecipesS2CPacket.Action action, ServerPlayerEntity player, List<Identifier> recipeIds)booleanServerPlayerEntity.shouldFilterMessagesSentTo(ServerPlayerEntity player)voidEntityTrackerEntry.startTracking(ServerPlayerEntity player)voidEntityTrackerEntry.stopTracking(ServerPlayerEntity player)intServerRecipeBook.unlockRecipes(Collection<Recipe<?>> recipes, ServerPlayerEntity player)Constructors in net.minecraft.server.network with parameters of type ServerPlayerEntityModifierConstructorDescriptionServerPlayNetworkHandler(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player) -
Uses of ServerPlayerEntity in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type ServerPlayerEntityModifier and TypeFieldDescription(package private) List<ServerPlayerEntity>ServerWorld.players(package private) Long2ObjectMap<ObjectSet<ServerPlayerEntity>>ChunkTicketManager.playersByChunkPosprivate Object2BooleanMap<ServerPlayerEntity>PlayerChunkWatchingManager.watchingPlayersMethods in net.minecraft.server.world that return ServerPlayerEntityModifier and TypeMethodDescriptionEntityTrackingListener.getPlayer()ServerWorld.getRandomAlivePlayer()Methods in net.minecraft.server.world that return types with arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionServerWorld.getPlayers()ServerWorld.getPlayers(Predicate<? super ServerPlayerEntity> predicate)ChunkHolder.PlayersWatchingChunkProvider.getPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge)PlayerChunkWatchingManager.getPlayersWatchingChunk(long long2)ThreadedAnvilChunkStorage.getPlayersWatchingChunk(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge)Methods in net.minecraft.server.world with parameters of type ServerPlayerEntityModifier and TypeMethodDescriptionvoidPlayerChunkWatchingManager.add(long long2, ServerPlayerEntity player, boolean watchDisabled)private voidServerWorld.addPlayer(ServerPlayerEntity player)voidPlayerChunkWatchingManager.disableWatch(ServerPlayerEntity player)private booleanThreadedAnvilChunkStorage.doesNotGenerateChunks(ServerPlayerEntity player)voidPlayerChunkWatchingManager.enableWatch(ServerPlayerEntity player)private static intThreadedAnvilChunkStorage.getChebyshevDistance(ChunkPos pos, ServerPlayerEntity player, boolean useWatchedPosition)voidChunkTicketManager.handleChunkEnter(ChunkSectionPos pos, ServerPlayerEntity player)voidChunkTicketManager.handleChunkLeave(ChunkSectionPos pos, ServerPlayerEntity player)(package private) voidThreadedAnvilChunkStorage.handlePlayerAddedOrRemoved(ServerPlayerEntity player, boolean added)booleanPlayerChunkWatchingManager.isWatchDisabled(ServerPlayerEntity player)booleanPlayerChunkWatchingManager.isWatchInactive(ServerPlayerEntity player)voidPlayerChunkWatchingManager.movePlayer(long prevPos, long currentPos, ServerPlayerEntity player)voidServerWorld.onPlayerChangeDimension(ServerPlayerEntity player)voidServerWorld.onPlayerConnected(ServerPlayerEntity player)voidServerWorld.onPlayerRespawned(ServerPlayerEntity player)voidServerWorld.onPlayerTeleport(ServerPlayerEntity player)voidPlayerChunkWatchingManager.remove(long long2, ServerPlayerEntity player)voidServerWorld.removePlayer(ServerPlayerEntity player, Entity.RemovalReason reason)private voidThreadedAnvilChunkStorage.sendChunkDataPackets(ServerPlayerEntity player, Packet<?>[] packets, WorldChunk chunk)private booleanServerWorld.sendToPlayerIfNearby(ServerPlayerEntity player, boolean force, double x, double y, double z, Packet<?> packet)protected voidThreadedAnvilChunkStorage.sendWatchPackets(ServerPlayerEntity player, ChunkPos pos, Packet<?>[] packets, boolean withinMaxWatchDistance, boolean withinViewDistance)<T extends ParticleEffect>
booleanServerWorld.spawnParticles(ServerPlayerEntity viewer, T particle, boolean force, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed)voidThreadedAnvilChunkStorage.EntityTracker.stopTracking(ServerPlayerEntity player)voidServerChunkManager.updatePosition(ServerPlayerEntity player)Updates the chunk section position of theplayer.voidThreadedAnvilChunkStorage.updatePosition(ServerPlayerEntity player)Updates the chunk section position of theplayer.voidThreadedAnvilChunkStorage.EntityTracker.updateTrackedStatus(ServerPlayerEntity player)Updates the tracked status of this tracker's entity for theplayer.private ChunkSectionPosThreadedAnvilChunkStorage.updateWatchedSection(ServerPlayerEntity player)Updates the watched chunk section position for theplayer, and sends a render distance update packet to the client.Method parameters in net.minecraft.server.world with type arguments of type ServerPlayerEntityModifier and TypeMethodDescriptionbooleanSleepManager.canResetTime(int percentage, List<ServerPlayerEntity> players)Returns if the night can actually be skipped at the tick this is called.ServerWorld.getPlayers(Predicate<? super ServerPlayerEntity> predicate)booleanSleepManager.update(List<ServerPlayerEntity> players)Updates the sleeping player and total player counts.voidThreadedAnvilChunkStorage.EntityTracker.updateTrackedStatus(List<ServerPlayerEntity> players)Updates the tracked status of this tracker's entity for the given players. -
Uses of ServerPlayerEntity in net.minecraft.stat
Methods in net.minecraft.stat with parameters of type ServerPlayerEntity -
Uses of ServerPlayerEntity in net.minecraft.village.raid
Methods in net.minecraft.village.raid that return types with arguments of type ServerPlayerEntityMethods in net.minecraft.village.raid with parameters of type ServerPlayerEntity