Uses of Record Class
net.minecraftforge.network.PacketDistributor
Packages that use PacketDistributor
-
Uses of PacketDistributor in net.minecraftforge.network
Fields in net.minecraftforge.network declared as PacketDistributorModifier and TypeFieldDescriptionstatic final PacketDistributor<Void>PacketDistributor.ALLSend to everyone
noArg()static final PacketDistributor<ResourceKey<Level>>PacketDistributor.DIMENSIONSend to everyone in the dimension specified in the Supplier
with(T)DimensionTypestatic final PacketDistributor<PacketDistributor.TargetPoint>PacketDistributor.NEARSend to everyone near thePacketDistributor.TargetPointspecified in the Supplier
with(T)TargetPointstatic final PacketDistributor<List<Connection>>PacketDistributor.NMLISTSend to the supplied list of NetworkManager instances in the Supplier
with(T)List of NetworkManagerstatic final PacketDistributor<ServerPlayer>PacketDistributor.PLAYERSend to the player specified in the Supplier
with(T)Playerstatic final PacketDistributor<Void>PacketDistributor.SERVERSend to the server (CLIENT to SERVER)
noArg()static final PacketDistributor<LevelChunk>PacketDistributor.TRACKING_CHUNKSend to all tracking the Chunk in the Supplier
with(T)Chunkstatic final PacketDistributor<Entity>PacketDistributor.TRACKING_ENTITYSend to all tracking the Entity in the Supplier
with(T)Entitystatic final PacketDistributor<Entity>PacketDistributor.TRACKING_ENTITY_AND_SELFSend to all tracking the Entity and Player in the Supplier
with(T)EntityFields in net.minecraftforge.network with type parameters of type PacketDistributorModifier and TypeFieldDescriptionprivate final BiFunction<PacketDistributor<T>,T, Consumer<Packet<?>>> PacketDistributor.functorThe field for thefunctorrecord component.Methods in net.minecraftforge.network that return types with arguments of type PacketDistributorModifier and TypeMethodDescriptionBiFunction<PacketDistributor<T>,T, Consumer<Packet<?>>> PacketDistributor.functor()Returns the value of thefunctorrecord component.Constructor parameters in net.minecraftforge.network with type arguments of type PacketDistributorModifierConstructorDescriptionPacketDistributor(BiFunction<PacketDistributor<T>, T, Consumer<Packet<?>>> functor) PacketDistributor(BiFunction<PacketDistributor<T>, T, Consumer<Packet<?>>> functor, NetworkDirection direction) Creates an instance of aPacketDistributorrecord class.