Uses of Enum Class
net.minecraft.network.NetworkSide
Packages that use 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
PacketBundler.side
private final NetworkSide
PacketEncoder.side
private final NetworkSide
PacketUnbundler.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 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) Constructors in net.minecraft.network with parameters of type NetworkSideModifierConstructorDescriptionClientConnection
(NetworkSide side) DecoderHandler
(NetworkSide side) PacketBundler
(NetworkSide side) PacketEncoder
(NetworkSide side) PacketUnbundler
(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