Uses of Class
net.minecraftforge.fml.network.PacketDistributor
Packages that use PacketDistributor
-
Uses of PacketDistributor in net.minecraftforge.fml.network
Fields in net.minecraftforge.fml.network declared as PacketDistributorModifier and TypeFieldDescriptionstatic final PacketDistributor<Void>PacketDistributor.ALLSend to everyone
noArg()static final PacketDistributor<RegistryKey<World>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
with(Supplier)DimensionTypeprivate final PacketDistributor<?>PacketDistributor.PacketTarget.distributorstatic final PacketDistributor<PacketDistributor.TargetPoint>PacketDistributor.NEARSend to everyone near thePacketDistributor.TargetPointspecified in the Supplier
with(Supplier)TargetPointstatic final PacketDistributor<List<NetworkManager>>PacketDistributor.NMLISTSend to the supplied list of NetworkManager instances in the Supplier
with(Supplier)List of NetworkManagerstatic final PacketDistributor<ServerPlayerEntity>PacketDistributor.PLAYERSend to the player specified in the Supplier
with(Supplier)Playerstatic final PacketDistributor<Void>PacketDistributor.SERVERSend to the server (CLIENT to SERVER)
noArg()static final PacketDistributor<Chunk>PacketDistributor.TRACKING_CHUNKSend to all tracking the Chunk in the Supplier
with(Supplier)Chunkstatic final PacketDistributor<Entity>PacketDistributor.TRACKING_ENTITYSend to all tracking the Entity in the Supplier
with(Supplier)Entitystatic final 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 PacketDistributorModifier and TypeFieldDescriptionprivate final BiFunction<PacketDistributor<T>,Supplier<T>, Consumer<IPacket<?>>> PacketDistributor.functorConstructors in net.minecraftforge.fml.network with parameters of type PacketDistributorModifierConstructorDescription(package private)PacketTarget(Consumer<IPacket<?>> packetConsumer, PacketDistributor<?> distributor) Constructor parameters in net.minecraftforge.fml.network with type arguments of type PacketDistributorModifierConstructorDescriptionPacketDistributor(BiFunction<PacketDistributor<T>, Supplier<T>, Consumer<IPacket<?>>> functor, NetworkDirection direction)