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. ALLSend to everyone
noArg()static PacketDistributor<RegistryKey<World>>PacketDistributor. DIMENSIONSend to everyone in the dimension specified in the Supplier
with(Supplier)DimensionTypeprivate PacketDistributor<?>PacketDistributor.PacketTarget. distributorstatic PacketDistributor<PacketDistributor.TargetPoint>PacketDistributor. NEARSend to everyone near thePacketDistributor.TargetPointspecified in the Supplier
with(Supplier)TargetPointstatic PacketDistributor<java.util.List<NetworkManager>>PacketDistributor. NMLISTSend to the supplied list of NetworkManager instances in the Supplier
with(Supplier)List of NetworkManagerstatic PacketDistributor<ServerPlayerEntity>PacketDistributor. PLAYERSend to the player specified in the Supplier
with(Supplier)Playerstatic PacketDistributor<java.lang.Void>PacketDistributor. SERVERSend to the server (CLIENT to SERVER)
noArg()static PacketDistributor<Chunk>PacketDistributor. TRACKING_CHUNKSend to all tracking the Chunk in the Supplier
with(Supplier)Chunkstatic PacketDistributor<Entity>PacketDistributor. TRACKING_ENTITYSend to all tracking the Entity in the Supplier
with(Supplier)Entitystatic PacketDistributor<Entity>PacketDistributor. TRACKING_ENTITY_AND_SELFSend 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. functorConstructors 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)
-