Uses of 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.ALL
Send to everyone
noArg()
static final PacketDistributor<ResourceKey<Level>>
PacketDistributor.DIMENSION
Send to everyone in the dimension specified in the Supplier
with(Supplier)
DimensionTypeprivate final PacketDistributor<?>
PacketDistributor.PacketTarget.distributor
static final PacketDistributor<PacketDistributor.TargetPoint>
PacketDistributor.NEAR
Send to everyone near thePacketDistributor.TargetPoint
specified in the Supplier
with(Supplier)
TargetPointstatic final PacketDistributor<List<Connection>>
PacketDistributor.NMLIST
Send to the supplied list of NetworkManager instances in the Supplier
with(Supplier)
List of NetworkManagerstatic final PacketDistributor<ServerPlayer>
PacketDistributor.PLAYER
Send to the player specified in the Supplier
with(Supplier)
Playerstatic final PacketDistributor<Void>
PacketDistributor.SERVER
Send to the server (CLIENT to SERVER)
noArg()
static final PacketDistributor<LevelChunk>
PacketDistributor.TRACKING_CHUNK
Send to all tracking the Chunk in the Supplier
with(Supplier)
Chunkstatic final PacketDistributor<Entity>
PacketDistributor.TRACKING_ENTITY
Send to all tracking the Entity in the Supplier
with(Supplier)
Entitystatic final PacketDistributor<Entity>
PacketDistributor.TRACKING_ENTITY_AND_SELF
Send to all tracking the Entity and Player in the Supplier
with(Supplier)
EntityFields in net.minecraftforge.network with type parameters of type PacketDistributorModifier and TypeFieldDescriptionprivate final BiFunction<PacketDistributor<T>,
Supplier<T>, Consumer<Packet<?>>> PacketDistributor.functor
Constructors in net.minecraftforge.network with parameters of type PacketDistributorModifierConstructorDescription(package private)
PacketTarget
(Consumer<Packet<?>> packetConsumer, PacketDistributor<?> distributor) Constructor parameters in net.minecraftforge.network with type arguments of type PacketDistributorModifierConstructorDescriptionPacketDistributor
(BiFunction<PacketDistributor<T>, Supplier<T>, Consumer<Packet<?>>> functor, NetworkDirection direction)