Uses of Class
net.minecraft.network.NetworkStateBuilder
-
Uses of NetworkStateBuilder in net.minecraft.network
Modifier and TypeMethodDescription<P extends Packet<? super T>>
NetworkStateBuilder<T, B> NetworkStateBuilder.add
(PacketType<P> id, PacketCodec<? super B, P> codec) <P extends BundlePacket<? super T>,
D extends BundleSplitterPacket<? super T>>
NetworkStateBuilder<T, B> NetworkStateBuilder.addBundle
(PacketType<P> id, Function<Iterable<Packet<? super T>>, P> bundler, D splitter) Modifier and TypeMethodDescriptionprivate static <L extends PacketListener>
NetworkState<L> NetworkStateBuilder.build
(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, PacketByteBuf>> registrar) 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>
NetworkState<T> NetworkStateBuilder.c2s
(NetworkPhase type, Consumer<NetworkStateBuilder<T, PacketByteBuf>> 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>
NetworkState<T> NetworkStateBuilder.s2c
(NetworkPhase type, Consumer<NetworkStateBuilder<T, PacketByteBuf>> registrar) static <T extends ClientPacketListener,
B extends ByteBuf>
NetworkState.Factory<T, B> NetworkStateBuilder.s2cFactory
(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar)