Uses of Class
net.minecraftforge.fmllegacy.network.PacketDistributor
Packages that use PacketDistributor
-
Uses of PacketDistributor in net.minecraftforge.fmllegacy.network
Fields in net.minecraftforge.fmllegacy.network declared as PacketDistributorModifier and TypeFieldDescriptionstatic PacketDistributor<Void>PacketDistributor.ALLSend to everyone
noArg()static PacketDistributor<ResourceKey<Level>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
with(Supplier)DimensionTypeprivate PacketDistributor<?>PacketDistributor.PacketTarget.distributorPacketDistributor.NEARSend to everyone near thePacketDistributor.TargetPointspecified in the Supplier
with(Supplier)TargetPointstatic PacketDistributor<List<Connection>>PacketDistributor.NMLISTSend to the supplied list of NetworkManager instances in the Supplier
with(Supplier)List of NetworkManagerstatic PacketDistributor<ServerPlayer>PacketDistributor.PLAYERSend to the player specified in the Supplier
with(Supplier)Playerstatic PacketDistributor<Void>PacketDistributor.SERVERSend to the server (CLIENT to SERVER)
noArg()static PacketDistributor<LevelChunk>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.fmllegacy.network with type parameters of type PacketDistributorModifier and TypeFieldDescriptionprivate BiFunction<PacketDistributor<T>,Supplier<T>,Consumer<Packet<?>>>PacketDistributor.functorConstructors in net.minecraftforge.fmllegacy.network with parameters of type PacketDistributorModifierConstructorDescription(package private)PacketTarget(Consumer<Packet<?>> packetConsumer, PacketDistributor<?> distributor)Constructor parameters in net.minecraftforge.fmllegacy.network with type arguments of type PacketDistributorModifierConstructorDescriptionPacketDistributor(BiFunction<PacketDistributor<T>,Supplier<T>,Consumer<Packet<?>>> functor, NetworkDirection direction)