Uses of Enum Class
net.minecraft.network.NetworkSide
Package
Description
-
Uses of NetworkSide in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final NetworkSide
ClientConnection.side
The side this connection is to.private final NetworkSide
NetworkStateBuilder.NetworkStateImpl.side
The field for theside
record component.(package private) final NetworkSide
NetworkStateBuilder.side
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.NetworkState.Factory.side()
NetworkState.side()
NetworkStateBuilder.NetworkStateImpl.side()
Returns the value of theside
record component.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 TypeMethodDescriptionstatic void
ClientConnection.addHandlers
(ChannelPipeline pipeline, NetworkSide side, boolean local, @Nullable PacketSizeLogger packetSizeLogger) static void
ClientConnection.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) ModifierConstructorDescriptionClientConnection
(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
Modifier and TypeFieldDescriptionprivate final NetworkSide
SideValidatingDispatchingCodecBuilder.side
-
Uses of NetworkSide in net.minecraft.network.listener
Modifier and TypeMethodDescriptiondefault NetworkSide
ClientPacketListener.getSide()
PacketListener.getSide()
default NetworkSide
ServerPacketListener.getSide()
-
Uses of NetworkSide in net.minecraft.network.packet
Modifier and TypeFieldDescriptionprivate final NetworkSide
PacketType.side
The field for theside
record component.