Uses of Class
net.minecraft.network.protocol.ProtocolInfoBuilder
Packages that use ProtocolInfoBuilder
-
Uses of ProtocolInfoBuilder in net.minecraft.network.protocol
Methods in net.minecraft.network.protocol that return ProtocolInfoBuilderModifier and TypeMethodDescriptionProtocolInfoBuilder.addPacket(PacketType<P> type, StreamCodec<? super B, P> serializer) ProtocolInfoBuilder.addPacket(PacketType<P> type, StreamCodec<? super B, P> serializer, CodecModifier<B, P, C> modifier) <P extends BundlePacket<? super T>,D extends BundleDelimiterPacket<? super T>>
ProtocolInfoBuilder<T, B, C> ProtocolInfoBuilder.withBundlePacket(PacketType<P> type, Function<Iterable<Packet<? super T>>, P> bundler, D packet) Method parameters in net.minecraft.network.protocol with type arguments of type ProtocolInfoBuilderModifier and TypeMethodDescriptionstatic <T extends ClientboundPacketListener,B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<T, B> ProtocolInfoBuilder.clientboundProtocol(ConnectionProtocol protocol, Consumer<ProtocolInfoBuilder<T, B, Unit>> packetAdder) static <T extends ClientboundPacketListener,B extends io.netty.buffer.ByteBuf, C>
UnboundProtocol<T, B, C> ProtocolInfoBuilder.contextClientboundProtocol(ConnectionProtocol protocol, Consumer<ProtocolInfoBuilder<T, B, C>> packetAdder) private static <L extends PacketListener,B extends io.netty.buffer.ByteBuf, C>
UnboundProtocol<L, B, C> ProtocolInfoBuilder.contextProtocol(ConnectionProtocol protocol, PacketFlow flow, Consumer<ProtocolInfoBuilder<L, B, C>> packetAdder) static <T extends ServerboundPacketListener,B extends io.netty.buffer.ByteBuf, C>
UnboundProtocol<T, B, C> ProtocolInfoBuilder.contextServerboundProtocol(ConnectionProtocol protocol, Consumer<ProtocolInfoBuilder<T, B, C>> packetAdder) private static <L extends PacketListener,B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<L, B> ProtocolInfoBuilder.protocol(ConnectionProtocol protocol, PacketFlow flow, Consumer<ProtocolInfoBuilder<L, B, Unit>> packetAdder) static <T extends ServerboundPacketListener,B extends io.netty.buffer.ByteBuf>
SimpleUnboundProtocol<T, B> ProtocolInfoBuilder.serverboundProtocol(ConnectionProtocol protocol, Consumer<ProtocolInfoBuilder<T, B, Unit>> packetAdder)