Uses of Enum Class
net.minecraft.network.NetworkSide
Packages that use NetworkSide
Package
Description
-
Uses of NetworkSide in net.minecraft.network
Fields in net.minecraft.network declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideClientConnection.sideThe side this connection is to.private final NetworkSideNetworkState.PacketHandler.sideFields in net.minecraft.network with type parameters of type NetworkSideModifier and TypeFieldDescriptionprivate final Map<NetworkSide,NetworkState.InternalPacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlersprivate final Map<NetworkSide,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.NetworkState.PacketHandler.getSide()static NetworkSideReturns 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.Methods in net.minecraft.network that return types with arguments of type NetworkSideModifier and TypeMethodDescriptionNetworkState.PacketHandlerInitializer.createSideToHandlerMap(NetworkState state) Methods in net.minecraft.network with parameters of type NetworkSideModifier and TypeMethodDescriptionstatic voidClientConnection.addHandlers(ChannelPipeline pipeline, NetworkSide side) static voidClientConnection.addValidator(ChannelPipeline pipeline, NetworkSide side) private static voidClientConnection.addValidatorInternal(ChannelPipeline pipeline, NetworkSide side) NetworkState.getHandler(NetworkSide side) Int2ObjectMap<Class<? extends Packet<?>>>NetworkState.getPacketIdToPacketMap(NetworkSide side) private static AttributeKey<NetworkState.PacketHandler<?>>ClientConnection.getProtocolAttributeKey(NetworkSide side) NetworkState.PacketHandlerInitializer.setup(NetworkSide side, NetworkState.InternalPacketHandler<T> handler) Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection(NetworkSide side) PacketHandler(NetworkState state, NetworkSide side, NetworkState.InternalPacketHandler<T> backingHandler) -
Uses of NetworkSide in net.minecraft.network.listener
Methods in net.minecraft.network.listener that return NetworkSideModifier and TypeMethodDescriptiondefault NetworkSideClientPacketListener.getSide()PacketListener.getSide()default NetworkSideServerPacketListener.getSide() -
Uses of NetworkSide in net.minecraft.util.profiling.jfr.sample
Fields in net.minecraft.util.profiling.jfr.sample declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideNetworkIoStatistics.Packet.sideThe field for thesiderecord component.Methods in net.minecraft.util.profiling.jfr.sample that return NetworkSideModifier and TypeMethodDescriptionNetworkIoStatistics.Packet.side()Returns the value of thesiderecord component.Constructors in net.minecraft.util.profiling.jfr.sample with parameters of type NetworkSide