Uses of Enum Class
net.minecraft.network.NetworkSide
-
Uses of NetworkSide in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final NetworkSide
ClientConnection.side
The side this connection is to.private final NetworkSide
DecoderHandler.side
private final NetworkSide
PacketBundler.side
private final NetworkSide
PacketEncoder.side
private final NetworkSide
PacketUnbundler.side
Modifier and TypeFieldDescription(package private) final Map<NetworkSide,
NetworkState.PacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlers
private final Map<NetworkSide,
? extends NetworkState.PacketHandler<?>> NetworkState.packetHandlers
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.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) NetworkState.getBundler
(NetworkSide side) PacketBundleHandler.BundlerGetter.getBundler
(NetworkSide side) NetworkState.getPacketHandler
(NetworkSide side, int packetId, PacketByteBuf buf) int
NetworkState.getPacketId
(NetworkSide side, Packet<?> packet) Int2ObjectMap<Class<? extends Packet<?>>>
NetworkState.getPacketIdToPacketMap
(NetworkSide side) NetworkState.PacketHandlerInitializer.setup
(NetworkSide side, NetworkState.PacketHandler<T> handler) ModifierConstructorDescriptionClientConnection
(NetworkSide side) DecoderHandler
(NetworkSide side) PacketBundler
(NetworkSide side) PacketEncoder
(NetworkSide side) PacketUnbundler
(NetworkSide side) -
Uses of NetworkSide in net.minecraft.util.profiling.jfr.sample
Modifier and TypeFieldDescriptionprivate final NetworkSide
NetworkIoStatistics.Packet.side
The field for theside
record component.