Uses of Class
net.minecraft.network.protocol.ProtocolInfoBuilder
-
Uses of ProtocolInfoBuilder in net.minecraft.network.protocol
Modifier and TypeMethodDescription<P extends Packet<? super T>>
ProtocolInfoBuilder<T, B> ProtocolInfoBuilder.addPacket
(PacketType<P> p_320673_, StreamCodec<? super B, P> p_319828_) <P extends BundlePacket<? super T>,
D extends BundleDelimiterPacket<? super T>>
ProtocolInfoBuilder<T, B> ProtocolInfoBuilder.withBundlePacket
(PacketType<P> p_320954_, Function<Iterable<Packet<? super T>>, P> p_320241_, D p_320202_) Modifier and TypeMethodDescriptionstatic <T extends ClientboundPacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<T, B> ProtocolInfoBuilder.clientboundProtocol
(ConnectionProtocol p_320428_, Consumer<ProtocolInfoBuilder<T, B>> p_320292_) private static <L extends PacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<L, B> ProtocolInfoBuilder.protocol
(ConnectionProtocol p_320849_, PacketFlow p_320146_, Consumer<ProtocolInfoBuilder<L, B>> p_320140_) static <T extends ServerboundPacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<T, B> ProtocolInfoBuilder.serverboundProtocol
(ConnectionProtocol p_319767_, Consumer<ProtocolInfoBuilder<T, B>> p_320799_)