Uses of Enum Class
net.minecraft.network.NetworkSide
Packages that use NetworkSide
Package
Description
-
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, boolean local, @Nullable PacketSizeLogger packetSizeLogger) static voidClientConnection.addLocalValidator(ChannelPipeline pipeline, NetworkSide side) Constructors in net.minecraft.network with parameters of type NetworkSide -
Uses of NetworkSide in net.minecraft.network.handler
Fields in net.minecraft.network.handler declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideSideValidatingDispatchingCodecBuilder.sideConstructors in net.minecraft.network.handler 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 NetworkSidePacketType.sideThe field for thesiderecord component.Methods in net.minecraft.network.packet that return NetworkSideModifier and TypeMethodDescriptionPacketType.side()Returns the value of thesiderecord component.Constructors in net.minecraft.network.packet with parameters of type NetworkSide -
Uses of NetworkSide in net.minecraft.network.state
Fields in net.minecraft.network.state declared as NetworkSideModifier and TypeFieldDescriptionprivate final NetworkSideNetworkStateBuilder.NetworkStateImpl.sideThe field for thesiderecord component.(package private) final NetworkSideNetworkStateBuilder.sideMethods in net.minecraft.network.state that return NetworkSideModifier and TypeMethodDescriptionNetworkState.side()NetworkState.Unbound.side()NetworkStateBuilder.NetworkStateImpl.side()Returns the value of thesiderecord component.Methods in net.minecraft.network.state with parameters of type NetworkSideModifier and TypeMethodDescriptionprivate static <L extends PacketListener,B extends ByteBuf>
NetworkStateFactory<L, B> NetworkStateBuilder.build(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B, Unit>> registrar) private static <L extends PacketListener,B extends ByteBuf, C>
ContextAwareNetworkStateFactory<L, B, C> NetworkStateBuilder.buildContextAware(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B, C>> registrar) private static NetworkState.UnboundNetworkStateBuilder.createState(NetworkPhase phase, NetworkSide side, List<? extends NetworkStateBuilder.PacketType<?, ?, ?, ?>> types) Constructors in net.minecraft.network.state with parameters of type NetworkSideModifierConstructorDescriptionNetworkStateBuilder(NetworkPhase phase, NetworkSide side) (package private)NetworkStateImpl(NetworkPhase networkPhase, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler)