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 NetworkSideclass_9146.field_48615private final NetworkSideclass_9147.field_48617private final NetworkSideclass_9147.class_9149.flowThe field for theflowrecord component.Methods in net.minecraft that return NetworkSideMethods in net.minecraft with parameters of type NetworkSideModifier and TypeMethodDescriptionprivate static <L extends PacketListener>
class_9127<L>class_9147.method_56452(NetworkState networkState, NetworkSide networkSide, Consumer<class_9147<L, PacketByteBuf>> consumer) private static <L extends PacketListener,B extends ByteBuf>
class_9127.class_9128<L,B> class_9147.method_56456(NetworkState networkState, NetworkSide networkSide, Consumer<class_9147<L, B>> consumer) Constructors in net.minecraft with parameters of type NetworkSideModifierConstructorDescriptionclass_9146(NetworkSide networkSide) class_9147(NetworkState networkState, NetworkSide networkSide) (package private)class_9149(NetworkState networkState, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler) -
Uses of NetworkSide in net.minecraft.network
Fields in net.minecraft.network declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideClientConnection.sideThe side this connection is to.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 NetworkSideReturns 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 voidClientConnection.addHandlers(ChannelPipeline pipeline, NetworkSide side, @Nullable PacketSizeLogger packetSizeLogger) static voidClientConnection.addValidator(ChannelPipeline pipeline, NetworkSide side) Constructors in net.minecraft.network with parameters of type NetworkSide -
Uses of NetworkSide in net.minecraft.network.listener
Methods in net.minecraft.network.listener that return NetworkSideModifier and TypeMethodDescriptiondefault NetworkSideClientPacketListener.getSide()PacketListener.getSide()default NetworkSideServerPacketListener.getSide() -
Uses of NetworkSide in net.minecraft.network.packet
Fields in net.minecraft.network.packet declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSidePacketIdentifier.sideThe field for thesiderecord component.Methods in net.minecraft.network.packet that return NetworkSideModifier and TypeMethodDescriptionPacketIdentifier.side()Returns the value of thesiderecord component.Constructors in net.minecraft.network.packet with parameters of type NetworkSide