Uses of Enum
net.minecraft.network.NetworkSide
Packages that use NetworkSide
-
Uses of NetworkSide in net.minecraft.network
Fields in net.minecraft.network declared as NetworkSideModifier and TypeFieldDescriptionprivate NetworkSideClientConnection.sideThe side this connection is to.private NetworkSideDecoderHandler.sideprivate NetworkSidePacketEncoder.sideFields in net.minecraft.network with type parameters of type NetworkSideModifier and TypeFieldDescriptionprivate Map<NetworkSide,NetworkState.PacketHandler<?>>NetworkState.PacketHandlerInitializer.packetHandlersprivate Map<NetworkSide,? extends NetworkState.PacketHandler<?>>NetworkState.packetHandlersMethods in net.minecraft.network that return NetworkSideModifier 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 NetworkSideReturns the enum constant of this type with the specified name.static NetworkSide[]NetworkSide.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.minecraft.network with parameters of type NetworkSideModifier and TypeMethodDescriptionNetworkState.getPacketHandler(NetworkSide side, int packetId, PacketByteBuf buf)NetworkState.getPacketId(NetworkSide side, Packet<?> packet)NetworkState.PacketHandlerInitializer.setup(NetworkSide side, NetworkState.PacketHandler<T> handler)Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection(NetworkSide side)DecoderHandler(NetworkSide side)PacketEncoder(NetworkSide side)