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 NetworkPhase
NetworkStateBuilder.NetworkStateImpl.id
The field for theid
record component.(package private) final NetworkPhase
NetworkStateBuilder.type
Methods in net.minecraft.network that return NetworkPhaseModifier and TypeMethodDescriptionNetworkState.id()
NetworkStateBuilder.NetworkStateImpl.id()
Returns the value of theid
record component.NetworkState.Factory.phase()
static NetworkPhase
Returns 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 NetworkPhase
ClientConfigurationPacketListener.getPhase()
default NetworkPhase
ClientLoginPacketListener.getPhase()
default NetworkPhase
ClientPlayPacketListener.getPhase()
default NetworkPhase
ClientQueryPacketListener.getPhase()
PacketListener.getPhase()
default NetworkPhase
ServerConfigurationPacketListener.getPhase()
default NetworkPhase
ServerHandshakePacketListener.getPhase()
default NetworkPhase
ServerLoginPacketListener.getPhase()
default NetworkPhase
ServerPlayPacketListener.getPhase()
default NetworkPhase
ServerQueryPacketListener.getPhase()
-
Uses of NetworkPhase in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type NetworkPhaseModifier and TypeMethodDescriptionvoid
FlightProfiler.NoopProfiler.onPacketReceived
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
FlightProfiler.onPacketReceived
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
JfrProfiler.onPacketReceived
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
FlightProfiler.NoopProfiler.onPacketSent
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
FlightProfiler.onPacketSent
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes) void
JfrProfiler.onPacketSent
(NetworkPhase state, PacketType<?> type, SocketAddress remoteAddress, int bytes)