Package | Description |
---|---|
net.minecraftforge.fml.network | |
net.minecraftforge.fml.network.simple |
Modifier and Type | Method and Description |
---|---|
PacketDistributor.PacketTarget |
PacketDistributor.noArg()
Apply a no argument value to a distributor to generate an instance for sending packets to.
|
PacketDistributor.PacketTarget |
PacketDistributor.with(java.util.function.Supplier<T> input)
Apply the supplied value to the specific distributor to generate an instance for sending packets to.
|
Modifier and Type | Method and Description |
---|---|
<MSG> void |
SimpleChannel.send(PacketDistributor.PacketTarget target,
MSG message)
Send a message to the
PacketDistributor.PacketTarget from a PacketDistributor instance. |