Uses of Enum Class
net.minecraft.network.NetworkSide
Packages that use NetworkSide
Package
Description
The base package for all Minecraft classes.
-
Uses of NetworkSide in net.minecraft
Fields in net.minecraft declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSide
class_8035.field_41871
private final NetworkSide
class_8036.field_41872
Methods in net.minecraft with parameters of type NetworkSideConstructors in net.minecraft with parameters of type NetworkSideModifierConstructorDescriptionclass_8035
(NetworkSide networkSide) class_8036
(NetworkSide networkSide) -
Uses of NetworkSide in net.minecraft.network
Fields in net.minecraft.network declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSide
ClientConnection.side
The side this connection is to.private final NetworkSide
DecoderHandler.side
private final NetworkSide
PacketEncoder.side
Fields in net.minecraft.network with type parameters of type NetworkSideModifier and TypeFieldDescription(package private) final Map<NetworkSide,
NetworkState.PacketHandler<?>> NetworkState.PacketHandlerInitializer.packetHandlers
private final Map<NetworkSide,
? extends NetworkState.PacketHandler<?>> NetworkState.packetHandlers
Methods 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 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.Methods in net.minecraft.network with parameters of type NetworkSideModifier and TypeMethodDescriptionNetworkState.getPacketHandler
(NetworkSide side, int packetId, PacketByteBuf buf) int
NetworkState.getPacketId
(NetworkSide side, Packet<?> packet) Int2ObjectMap<Class<? extends Packet<?>>>
NetworkState.getPacketIdToPacketMap
(NetworkSide side) static void
ClientConnection.method_48311
(ChannelPipeline channelPipeline, NetworkSide networkSide) NetworkState.method_48312
(NetworkSide networkSide) NetworkState.PacketHandlerInitializer.setup
(NetworkSide side, NetworkState.PacketHandler<T> handler) Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection
(NetworkSide side) DecoderHandler
(NetworkSide side) PacketEncoder
(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 NetworkSide
NetworkIoStatistics.Packet.side
The field for theside
record component.Methods in net.minecraft.util.profiling.jfr.sample that return NetworkSideModifier and TypeMethodDescriptionNetworkIoStatistics.Packet.side()
Returns the value of theside
record component.Constructors in net.minecraft.util.profiling.jfr.sample with parameters of type NetworkSide