Uses of Interface
net.minecraft.network.NetworkState.Factory
-
Uses of NetworkState.Factory in net.minecraft.network
Modifier and TypeMethodDescriptionNetworkStateBuilder.buildFactory()
private static <L extends PacketListener,
B extends ByteBuf>
NetworkState.Factory<L, B> NetworkStateBuilder.buildFactory
(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B>> registrar) static <T extends ServerPacketListener,
B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.c2sFactory
(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar) static <T extends ClientPacketListener,
B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.s2cFactory
(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
static final NetworkState.Factory
<ClientPlayPacketListener, RegistryByteBuf> PlayStateFactories.S2C