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 NetworkSideNetworkStateBuilder.NetworkStateImpl.sideThe field for thesiderecord component.(package private) final NetworkSideNetworkStateBuilder.sideMethods 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.Factory.side()NetworkState.side()NetworkStateBuilder.NetworkStateImpl.side()Returns the value of thesiderecord component.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, boolean local, @Nullable PacketSizeLogger packetSizeLogger) static voidClientConnection.addLocalValidator(ChannelPipeline pipeline, NetworkSide side) private static <L extends PacketListener,B extends ByteBuf>
NetworkState.Factory<L, B> NetworkStateBuilder.build(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B>> registrar) Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection(NetworkSide side) NetworkStateBuilder(NetworkPhase type, NetworkSide side) (package private)NetworkStateImpl(NetworkPhase networkPhase, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler) -
Uses of NetworkSide in net.minecraft.network.handler
Fields in net.minecraft.network.handler declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideSideValidatingDispatchingCodecBuilder.sideConstructors in net.minecraft.network.handler with parameters of type NetworkSide -
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.network.packet
Fields in net.minecraft.network.packet declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSidePacketType.sideThe field for thesiderecord component.Methods in net.minecraft.network.packet that return NetworkSideModifier and TypeMethodDescriptionPacketType.side()Returns the value of thesiderecord component.Constructors in net.minecraft.network.packet with parameters of type NetworkSide