Uses of Class
net.minecraft.network.NetworkState.PacketHandler
-
Uses of NetworkState.PacketHandler in net.minecraft.network
Modifier and TypeFieldDescriptionstatic final AttributeKey<NetworkState.PacketHandler<?>>
ClientConnection.CLIENTBOUND_PROTOCOL_KEY
private final Map<NetworkSide,
NetworkState.PacketHandler<?>> NetworkState.packetHandlers
static final AttributeKey<NetworkState.PacketHandler<?>>
ClientConnection.SERVERBOUND_PROTOCOL_KEY
Modifier and TypeMethodDescriptionNetworkState.PacketHandlerInitializer.createSideToHandlerMap
(NetworkState state) private static AttributeKey<NetworkState.PacketHandler<?>>
ClientConnection.getProtocolAttributeKey
(NetworkSide side) -
Uses of NetworkState.PacketHandler in net.minecraft.network.handler
Modifier and TypeFieldDescriptionprivate final AttributeKey<NetworkState.PacketHandler<?>>
DecoderHandler.protocolKey
private final AttributeKey<NetworkState.PacketHandler<?>>
PacketEncoder.protocolKey
private final AttributeKey<NetworkState.PacketHandler<?>>
PacketValidator.receivingSideKey
private final AttributeKey<NetworkState.PacketHandler<?>>
PacketValidator.sendingSideKey
Modifier and TypeMethodDescriptionstatic void
NetworkStateTransitionHandler.handle
(Attribute<NetworkState.PacketHandler<?>> protocolAttribute, Packet<?> packet) private static void
PacketValidator.handle
(ChannelHandlerContext context, Packet<?> packet, List<Object> packets, AttributeKey<NetworkState.PacketHandler<?>> key) ModifierConstructorDescriptionDecoderHandler
(AttributeKey<NetworkState.PacketHandler<?>> protocolKey) PacketEncoder
(AttributeKey<NetworkState.PacketHandler<?>> protocolKey) PacketValidator
(AttributeKey<NetworkState.PacketHandler<?>> receivingSideKey, AttributeKey<NetworkState.PacketHandler<?>> sendingSideKey)