Package codechicken.lib.packet
Interface StreamNetworkChannel.ConfigurationContext
- Enclosing class:
StreamNetworkChannel
public static interface StreamNetworkChannel.ConfigurationContext
The context available when executing a configuration task.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new packet to be sent on the configuration channel.net.minecraft.network.protocol.configuration.ServerConfigurationPacketListener
-
Method Details
-
newPacket
ConfigurationStreamPacket newPacket()Create a new packet to be sent on the configuration channel.- Returns:
- The packet.
-
packetListener
net.minecraft.network.protocol.configuration.ServerConfigurationPacketListener packetListener()- Returns:
- The active configuration packet listener.
-