Uses of Enum Class
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 final NetworkSideClientConnection.sideThe side this connection is to.private final NetworkSideDecoderHandler.sideprivate final NetworkSidePacketBundler.sideprivate final NetworkSidePacketEncoder.sideprivate final NetworkSidePacketUnbundler.sideFields in net.minecraft.network with type parameters of type NetworkSideModifier and TypeFieldDescription(package private) final Map<NetworkSide,NetworkState.PacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlersprivate final 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 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 with parameters of type NetworkSideModifier and TypeMethodDescriptionstatic voidClientConnection.addHandlers(ChannelPipeline pipeline, NetworkSide side) NetworkState.getBundler(NetworkSide side) PacketBundleHandler.BundlerGetter.getBundler(NetworkSide side) NetworkState.getPacketHandler(NetworkSide side, int packetId, PacketByteBuf buf) intNetworkState.getPacketId(NetworkSide side, Packet<?> packet) Int2ObjectMap<Class<? extends Packet<?>>>NetworkState.getPacketIdToPacketMap(NetworkSide side) NetworkState.PacketHandlerInitializer.setup(NetworkSide side, NetworkState.PacketHandler<T> handler) Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection(NetworkSide side) DecoderHandler(NetworkSide side) PacketBundler(NetworkSide side) PacketEncoder(NetworkSide side) PacketUnbundler(NetworkSide side) -
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