Package net.fabricmc.fabric.api.server
Class PlayerStream
java.lang.Object
net.fabricmc.fabric.api.server.PlayerStream
Deprecated.
Helper streams for looking up players on a server.
In general, most of these methods will only function with a ServerWorld
instance.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<ServerPlayerEntity>
all
(MinecraftServer server) Deprecated.static Stream<PlayerEntity>
Deprecated.static Stream<PlayerEntity>
Deprecated.static Stream<PlayerEntity>
watching
(BlockEntity entity) Deprecated.static Stream<PlayerEntity>
Deprecated.Warning: If the provided entity is a PlayerEntity themselves, it is not guaranteed by the contract that said PlayerEntity is included in the resulting stream.static Stream<PlayerEntity>
Deprecated.static Stream<PlayerEntity>
Deprecated.static Stream<PlayerEntity>
Deprecated.
-
Method Details
-
all
Deprecated. -
world
Deprecated. -
watching
Deprecated. -
watching
Deprecated.Warning: If the provided entity is a PlayerEntity themselves, it is not guaranteed by the contract that said PlayerEntity is included in the resulting stream. -
watching
Deprecated. -
watching
Deprecated. -
around
Deprecated. -
around
Deprecated.
-
PlayerLookup
instead.