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
NetworkState.PacketHandler.side
Modifier and TypeFieldDescriptionprivate final Map<NetworkSide,
NetworkState.InternalPacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlers
private final Map<NetworkSide,
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.NetworkState.PacketHandler.getSide()
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 TypeMethodDescriptionNetworkState.PacketHandlerInitializer.createSideToHandlerMap
(NetworkState state) Modifier and TypeMethodDescriptionstatic void
ClientConnection.addHandlers
(ChannelPipeline pipeline, NetworkSide side, @Nullable PacketSizeLogger packetSizeLogger) static void
ClientConnection.addValidator
(ChannelPipeline pipeline, NetworkSide side) private static void
ClientConnection.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) ModifierConstructorDescriptionClientConnection
(NetworkSide side) PacketHandler
(NetworkState state, NetworkSide side, NetworkState.InternalPacketHandler<T> backingHandler) -
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.util.profiling.jfr.sample
Modifier and TypeFieldDescriptionprivate final NetworkSide
NetworkIoStatistics.Packet.side
The field for theside
record component.