Uses of Enum Class
net.minecraft.network.NetworkSide
-
Uses of NetworkSide in net.minecraft.network
Modifier and TypeFieldDescriptionprivate NetworkSide
ClientConnection.side
The side this connection is to.private NetworkSide
DecoderHandler.side
private NetworkSide
PacketEncoder.side
Modifier and TypeFieldDescription(package private) Map<NetworkSide,NetworkState.PacketHandler<?>>
NetworkState.PacketHandlerInitializer.packetHandlers
private Map<NetworkSide,? extends NetworkState.PacketHandler<?>>
NetworkState.packetHandlers
Modifier and TypeMethodDescriptionNetworkSide.getOpposite()
ClientConnection.getOppositeSide()
Returns the opposite side of this connection, or the direction of the packets sent by this connection.ClientConnection.getSide()
Returns the side of this connection, or the direction of the packets received by this connection.static NetworkSide
Returns the enum constant of this class with the specified name.static NetworkSide[]
NetworkSide.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionNetworkState.getPacketHandler(NetworkSide side, int packetId, PacketByteBuf buf)
NetworkState.getPacketId(NetworkSide side, Packet<?> packet)
NetworkState.PacketHandlerInitializer.setup(NetworkSide side, NetworkState.PacketHandler<T> handler)
ModifierConstructorDescriptionClientConnection(NetworkSide side)
DecoderHandler(NetworkSide side)
PacketEncoder(NetworkSide side)