Uses of Class
net.minecraftforge.fml.network.PacketDistributor
-
Packages that use PacketDistributor Package Description net.minecraftforge.fml.network -
-
Uses of PacketDistributor in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network declared as PacketDistributor Modifier and Type Field Description static PacketDistributor<java.lang.Void>
PacketDistributor. ALL
Send to everyone
noArg()
static PacketDistributor<RegistryKey<World>>
PacketDistributor. DIMENSION
Send to everyone in the dimension specified in the Supplier
with(Supplier)
DimensionTypeprivate PacketDistributor<?>
PacketDistributor.PacketTarget. distributor
static PacketDistributor<PacketDistributor.TargetPoint>
PacketDistributor. NEAR
Send to everyone near thePacketDistributor.TargetPoint
specified in the Supplier
with(Supplier)
TargetPointstatic PacketDistributor<java.util.List<NetworkManager>>
PacketDistributor. NMLIST
Send to the supplied list of NetworkManager instances in the Supplier
with(Supplier)
List of NetworkManagerstatic PacketDistributor<ServerPlayerEntity>
PacketDistributor. PLAYER
Send to the player specified in the Supplier
with(Supplier)
Playerstatic PacketDistributor<java.lang.Void>
PacketDistributor. SERVER
Send to the server (CLIENT to SERVER)
noArg()
static PacketDistributor<Chunk>
PacketDistributor. TRACKING_CHUNK
Send to all tracking the Chunk in the Supplier
with(Supplier)
Chunkstatic PacketDistributor<Entity>
PacketDistributor. TRACKING_ENTITY
Send to all tracking the Entity in the Supplier
with(Supplier)
Entitystatic PacketDistributor<Entity>
PacketDistributor. TRACKING_ENTITY_AND_SELF
Send to all tracking the Entity and Player in the Supplier
with(Supplier)
EntityFields in net.minecraftforge.fml.network with type parameters of type PacketDistributor Modifier and Type Field Description private java.util.function.BiFunction<PacketDistributor<T>,java.util.function.Supplier<T>,java.util.function.Consumer<IPacket<?>>>
PacketDistributor. functor
Constructors in net.minecraftforge.fml.network with parameters of type PacketDistributor Constructor Description PacketTarget(java.util.function.Consumer<IPacket<?>> packetConsumer, PacketDistributor<?> distributor)
Constructor parameters in net.minecraftforge.fml.network with type arguments of type PacketDistributor Constructor Description PacketDistributor(java.util.function.BiFunction<PacketDistributor<T>,java.util.function.Supplier<T>,java.util.function.Consumer<IPacket<?>>> functor, NetworkDirection direction)
-