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>
ProtocolInfo<T> ProtocolInfoBuilder.clientboundProtocol
(ConnectionProtocol p_320428_, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>> p_320292_) static <T extends ClientboundPacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<T, B> ProtocolInfoBuilder.clientboundProtocolUnbound
(ConnectionProtocol p_320864_, Consumer<ProtocolInfoBuilder<T, B>> p_320056_) private static <L extends PacketListener>
ProtocolInfo<L> ProtocolInfoBuilder.protocol
(ConnectionProtocol p_319927_, PacketFlow p_320658_, Consumer<ProtocolInfoBuilder<L, FriendlyByteBuf>> p_320484_) private static <L extends PacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<L, B> ProtocolInfoBuilder.protocolUnbound
(ConnectionProtocol p_320849_, PacketFlow p_320146_, Consumer<ProtocolInfoBuilder<L, B>> p_320140_) static <T extends ServerboundPacketListener>
ProtocolInfo<T> ProtocolInfoBuilder.serverboundProtocol
(ConnectionProtocol p_319767_, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>> p_320799_) static <T extends ServerboundPacketListener,
B extends io.netty.buffer.ByteBuf>
ProtocolInfo.Unbound<T, B> ProtocolInfoBuilder.serverboundProtocolUnbound
(ConnectionProtocol p_320741_, Consumer<ProtocolInfoBuilder<T, B>> p_320299_)