Uses of Enum Class
net.minecraft.network.NetworkPhase
Packages that use NetworkPhase
Package
Description
-
Uses of NetworkPhase in net.minecraft.network
Fields in net.minecraft.network declared as NetworkPhaseModifier and TypeFieldDescriptionprivate final NetworkPhaseNetworkStateBuilder.NetworkStateImpl.idThe field for theidrecord component.(package private) final NetworkPhaseNetworkStateBuilder.typeMethods in net.minecraft.network that return NetworkPhaseModifier and TypeMethodDescriptionNetworkState.id()NetworkStateBuilder.NetworkStateImpl.id()Returns the value of theidrecord component.NetworkState.Factory.phase()static NetworkPhaseReturns the enum constant of this class with the specified name.static NetworkPhase[]NetworkPhase.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 NetworkPhaseModifier and TypeMethodDescriptionprivate static <L extends PacketListener,B extends ByteBuf>
NetworkState.Factory<L, B> NetworkStateBuilder.build(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B>> registrar) static <T extends ServerPacketListener,B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.c2s(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar) static <T extends ClientPacketListener,B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.s2c(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar) Constructors in net.minecraft.network with parameters of type NetworkPhaseModifierConstructorDescriptionNetworkStateBuilder(NetworkPhase type, NetworkSide side) (package private)NetworkStateImpl(NetworkPhase networkPhase, NetworkSide networkSide, PacketCodec<ByteBuf, Packet<? super L>> packetCodec, @Nullable PacketBundleHandler packetBundleHandler) -
Uses of NetworkPhase in net.minecraft.network.listener
Methods in net.minecraft.network.listener that return NetworkPhaseModifier and TypeMethodDescriptiondefault NetworkPhaseClientConfigurationPacketListener.getPhase()default NetworkPhaseClientLoginPacketListener.getPhase()default NetworkPhaseClientPlayPacketListener.getPhase()default NetworkPhaseClientQueryPacketListener.getPhase()PacketListener.getPhase()default NetworkPhaseServerConfigurationPacketListener.getPhase()default NetworkPhaseServerHandshakePacketListener.getPhase()default NetworkPhaseServerLoginPacketListener.getPhase()default NetworkPhaseServerPlayPacketListener.getPhase()default NetworkPhaseServerQueryPacketListener.getPhase() -
Uses of NetworkPhase in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type NetworkPhaseModifier and TypeMethodDescriptionvoidFlightProfiler.NoopProfiler.onPacketReceived(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) voidFlightProfiler.onPacketReceived(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) voidJfrProfiler.onPacketReceived(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) voidFlightProfiler.NoopProfiler.onPacketSent(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) voidFlightProfiler.onPacketSent(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) voidJfrProfiler.onPacketSent(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes)