Uses of Interface
net.minecraft.network.NetworkState.Factory
-
Uses of NetworkState.Factory in net.minecraft.network
Modifier and TypeMethodDescriptionprivate static <L extends PacketListener,
B extends ByteBuf>
NetworkState.Factory<L, B> NetworkStateBuilder.build
(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B>> registrar) NetworkStateBuilder.buildFactory()
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) -
Uses of NetworkState.Factory in net.minecraft.network.state
Modifier and TypeFieldDescriptionstatic final NetworkState.Factory
<ServerPlayPacketListener, RegistryByteBuf> PlayStateFactories.C2S
ConfigurationStates.C2S_FACTORY
static final NetworkState.Factory
<ServerHandshakePacketListener, PacketByteBuf> HandshakeStates.C2S_FACTORY
static final NetworkState.Factory
<ServerLoginPacketListener, PacketByteBuf> LoginStates.C2S_FACTORY
static final NetworkState.Factory
<ServerQueryPacketListener, ByteBuf> QueryStates.C2S_FACTORY
static final NetworkState.Factory
<ClientPlayPacketListener, RegistryByteBuf> PlayStateFactories.S2C
ConfigurationStates.S2C_FACTORY
static final NetworkState.Factory
<ClientLoginPacketListener, PacketByteBuf> LoginStates.S2C_FACTORY
static final NetworkState.Factory
<ClientQueryPacketListener, PacketByteBuf> QueryStates.S2C_FACTORY