Uses of Class
net.minecraft.network.FriendlyByteBuf
Packages that use FriendlyByteBuf
Package
Description
-
Uses of FriendlyByteBuf in net.minecraft.advancements
Methods in net.minecraft.advancements with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic AdvancementProgressAdvancementProgress.fromNetwork(FriendlyByteBuf input) static CriterionProgressCriterionProgress.fromNetwork(FriendlyByteBuf input) voidAdvancementProgress.serializeToNetwork(FriendlyByteBuf output) voidCriterionProgress.serializeToNetwork(FriendlyByteBuf output) voidAdvancementRequirements.write(FriendlyByteBuf output) Constructors in net.minecraft.advancements with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionvoidClientChunkCache.replaceBiomes(int chunkX, int chunkZ, FriendlyByteBuf readBuffer) @Nullable LevelChunkClientChunkCache.replaceWithPacketData(int chunkX, int chunkZ, FriendlyByteBuf readBuffer, Map<Heightmap.Types, long[]> heightmaps, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> blockEntities) -
Uses of FriendlyByteBuf in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionEntityArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ResourceArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ResourceKeyArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ResourceOrTagArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ResourceOrTagKeyArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ResourceSelectorArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) ScoreHolderArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) TimeArgument.Info.deserializeFromNetwork(FriendlyByteBuf in) voidEntityArgument.Info.serializeToNetwork(EntityArgument.Info.Template template, FriendlyByteBuf out) voidResourceArgument.Info.serializeToNetwork(ResourceArgument.Info<T>.Template template, FriendlyByteBuf out) voidResourceKeyArgument.Info.serializeToNetwork(ResourceKeyArgument.Info<T>.Template template, FriendlyByteBuf out) voidResourceOrTagArgument.Info.serializeToNetwork(ResourceOrTagArgument.Info<T>.Template template, FriendlyByteBuf out) voidResourceOrTagKeyArgument.Info.serializeToNetwork(ResourceOrTagKeyArgument.Info<T>.Template template, FriendlyByteBuf out) voidResourceSelectorArgument.Info.serializeToNetwork(ResourceSelectorArgument.Info<T>.Template template, FriendlyByteBuf out) voidScoreHolderArgument.Info.serializeToNetwork(ScoreHolderArgument.Info.Template template, FriendlyByteBuf out) voidTimeArgument.Info.serializeToNetwork(TimeArgument.Info.Template template, FriendlyByteBuf out) voidArgumentSignatures.Entry.write(FriendlyByteBuf output) voidArgumentSignatures.write(FriendlyByteBuf output) Constructors in net.minecraft.commands.arguments with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization
Methods in net.minecraft.commands.synchronization with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionArgumentTypeInfo.deserializeFromNetwork(FriendlyByteBuf in) SingletonArgumentInfo.deserializeFromNetwork(FriendlyByteBuf in) voidArgumentTypeInfo.serializeToNetwork(T template, FriendlyByteBuf out) voidSingletonArgumentInfo.serializeToNetwork(SingletonArgumentInfo<A>.Template template, FriendlyByteBuf out) -
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization.brigadier
Methods in net.minecraft.commands.synchronization.brigadier with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionDoubleArgumentInfo.deserializeFromNetwork(FriendlyByteBuf in) FloatArgumentInfo.deserializeFromNetwork(FriendlyByteBuf in) IntegerArgumentInfo.deserializeFromNetwork(FriendlyByteBuf in) LongArgumentInfo.deserializeFromNetwork(FriendlyByteBuf in) StringArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf in) voidDoubleArgumentInfo.serializeToNetwork(DoubleArgumentInfo.Template template, FriendlyByteBuf out) voidFloatArgumentInfo.serializeToNetwork(FloatArgumentInfo.Template template, FriendlyByteBuf out) voidIntegerArgumentInfo.serializeToNetwork(IntegerArgumentInfo.Template template, FriendlyByteBuf out) voidLongArgumentInfo.serializeToNetwork(LongArgumentInfo.Template template, FriendlyByteBuf out) voidStringArgumentSerializer.serializeToNetwork(StringArgumentSerializer.Template template, FriendlyByteBuf out) -
Uses of FriendlyByteBuf in net.minecraft.network
Subclasses of FriendlyByteBuf in net.minecraft.networkMethods in net.minecraft.network that return FriendlyByteBufModifier and TypeMethodDescriptionFriendlyByteBuf.capacity(int newCapacity) FriendlyByteBuf.clear()FriendlyByteBuf.discardReadBytes()FriendlyByteBuf.discardSomeReadBytes()FriendlyByteBuf.ensureWritable(int minWritableBytes) FriendlyByteBuf.getBytes(int index, byte[] dst) FriendlyByteBuf.getBytes(int index, byte[] dst, int dstIndex, int length) FriendlyByteBuf.getBytes(int index, io.netty.buffer.ByteBuf dst) FriendlyByteBuf.getBytes(int index, io.netty.buffer.ByteBuf dst, int length) FriendlyByteBuf.getBytes(int index, io.netty.buffer.ByteBuf dst, int dstIndex, int length) FriendlyByteBuf.getBytes(int index, OutputStream out, int length) FriendlyByteBuf.getBytes(int index, ByteBuffer dst) FriendlyByteBuf.markReaderIndex()FriendlyByteBuf.markWriterIndex()FriendlyByteBuf.readBytes(byte[] dst) FriendlyByteBuf.readBytes(byte[] dst, int dstIndex, int length) FriendlyByteBuf.readBytes(io.netty.buffer.ByteBuf dst) FriendlyByteBuf.readBytes(io.netty.buffer.ByteBuf dst, int length) FriendlyByteBuf.readBytes(io.netty.buffer.ByteBuf dst, int dstIndex, int length) FriendlyByteBuf.readBytes(OutputStream out, int length) FriendlyByteBuf.readBytes(ByteBuffer dst) FriendlyByteBuf.readerIndex(int readerIndex) FriendlyByteBuf.resetReaderIndex()FriendlyByteBuf.resetWriterIndex()FriendlyByteBuf.retain()FriendlyByteBuf.retain(int increment) FriendlyByteBuf.setBoolean(int index, boolean value) FriendlyByteBuf.setByte(int index, int value) FriendlyByteBuf.setBytes(int index, byte[] src) FriendlyByteBuf.setBytes(int index, byte[] src, int srcIndex, int length) FriendlyByteBuf.setBytes(int index, io.netty.buffer.ByteBuf src) FriendlyByteBuf.setBytes(int index, io.netty.buffer.ByteBuf src, int length) FriendlyByteBuf.setBytes(int index, io.netty.buffer.ByteBuf src, int srcIndex, int length) FriendlyByteBuf.setBytes(int index, ByteBuffer src) FriendlyByteBuf.setChar(int index, int value) FriendlyByteBuf.setDouble(int index, double value) FriendlyByteBuf.setFloat(int index, float value) FriendlyByteBuf.setIndex(int readerIndex, int writerIndex) FriendlyByteBuf.setInt(int index, int value) FriendlyByteBuf.setIntLE(int index, int value) FriendlyByteBuf.setLong(int index, long value) FriendlyByteBuf.setLongLE(int index, long value) FriendlyByteBuf.setMedium(int index, int value) FriendlyByteBuf.setMediumLE(int index, int value) FriendlyByteBuf.setShort(int index, int value) FriendlyByteBuf.setShortLE(int index, int value) FriendlyByteBuf.setZero(int index, int length) FriendlyByteBuf.skipBytes(int length) FriendlyByteBuf.touch()FriendlyByteBuf.writeBlockPos(BlockPos pos) Writes a BlockPos encoded as a long to the buffer.FriendlyByteBuf.writeBoolean(boolean value) <T> FriendlyByteBufFriendlyByteBuf.writeById(ToIntFunction<T> converter, T value) FriendlyByteBuf.writeByte(int value) FriendlyByteBuf.writeByteArray(byte[] bytes) FriendlyByteBuf.writeBytes(byte[] src) FriendlyByteBuf.writeBytes(byte[] src, int srcIndex, int length) FriendlyByteBuf.writeBytes(io.netty.buffer.ByteBuf src) FriendlyByteBuf.writeBytes(io.netty.buffer.ByteBuf src, int length) FriendlyByteBuf.writeBytes(io.netty.buffer.ByteBuf src, int srcIndex, int length) FriendlyByteBuf.writeBytes(ByteBuffer src) FriendlyByteBuf.writeChar(int value) FriendlyByteBuf.writeChunkPos(ChunkPos pos) Writes a ChunkPos encoded as a long to the buffer.FriendlyByteBuf.writeDouble(double value) Writes an enum of the given type T using the ordinal encoded as a VarInt to the buffer.FriendlyByteBuf.writeFixedSizeLongArray(long[] longs) FriendlyByteBuf.writeFloat(float value) FriendlyByteBuf.writeIdentifier(Identifier identifier) FriendlyByteBuf.writeInt(int value) FriendlyByteBuf.writeIntLE(int value) FriendlyByteBuf.writeLong(long value) FriendlyByteBuf.writeLongArray(long[] longs) Writes an array of longs to the buffer, prefixed by the length of the array (as a VarInt).FriendlyByteBuf.writeLongLE(long value) FriendlyByteBuf.writeMedium(int value) FriendlyByteBuf.writeMediumLE(int value) FriendlyByteBuf.writePublicKey(PublicKey publicKey) FriendlyByteBuf.writerIndex(int writerIndex) FriendlyByteBuf.writeShort(int value) FriendlyByteBuf.writeShortLE(int value) Writes a String with a maximum length ofShort.MAX_VALUE.Writes a String with a maximum length.Writes a UUID encoded as two longs to this buffer.FriendlyByteBuf.writeVarInt(int value) Writes a compressed int to the buffer.FriendlyByteBuf.writeVarIntArray(int[] ints) Writes an array of VarInts to the buffer, prefixed by the length of the array (as a VarInt).FriendlyByteBuf.writeVarLong(long value) Writes a compressed long to the buffer.<T> FriendlyByteBufFriendlyByteBuf.writeWithCodec(com.mojang.serialization.DynamicOps<Tag> ops, com.mojang.serialization.Codec<T> codec, T value) Deprecated.FriendlyByteBuf.writeZero(int length) Method parameters in net.minecraft.network with type arguments of type FriendlyByteBufModifier and TypeMethodDescription<T, C extends Collection<T>>
CFriendlyByteBuf.readCollection(IntFunction<C> ctor, StreamDecoder<? super FriendlyByteBuf, T> elementDecoder) <L,R> com.mojang.datafixers.util.Either <L, R> FriendlyByteBuf.readEither(StreamDecoder<? super FriendlyByteBuf, L> leftReader, StreamDecoder<? super FriendlyByteBuf, R> rightReader) <T> List<T> FriendlyByteBuf.readList(StreamDecoder<? super FriendlyByteBuf, T> elementDecoder) <K, V, M extends Map<K,V>>
MFriendlyByteBuf.readMap(IntFunction<M> ctor, StreamDecoder<? super FriendlyByteBuf, K> keyDecoder, StreamDecoder<? super FriendlyByteBuf, V> valueDecoder) <K,V> Map <K, V> FriendlyByteBuf.readMap(StreamDecoder<? super FriendlyByteBuf, K> keyDecoder, StreamDecoder<? super FriendlyByteBuf, V> valueDecoder) <T> @Nullable TFriendlyByteBuf.readNullable(StreamDecoder<? super FriendlyByteBuf, T> valueDecoder) <T> Optional<T> FriendlyByteBuf.readOptional(StreamDecoder<? super FriendlyByteBuf, T> valueReader) voidFriendlyByteBuf.readWithCount(Consumer<FriendlyByteBuf> reader) Read a VarInt N from this buffer, then reads N values by callingreader.<T> voidFriendlyByteBuf.writeCollection(Collection<T> collection, StreamEncoder<? super FriendlyByteBuf, T> encoder) <L,R> void FriendlyByteBuf.writeEither(com.mojang.datafixers.util.Either<L, R> value, StreamEncoder<? super FriendlyByteBuf, L> leftWriter, StreamEncoder<? super FriendlyByteBuf, R> rightWriter) <K,V> void FriendlyByteBuf.writeMap(Map<K, V> map, StreamEncoder<? super FriendlyByteBuf, K> keyEncoder, StreamEncoder<? super FriendlyByteBuf, V> valueEncoder) <T> voidFriendlyByteBuf.writeNullable(@Nullable T value, StreamEncoder<? super FriendlyByteBuf, T> valueEncoder) <T> voidFriendlyByteBuf.writeOptional(Optional<T> value, StreamEncoder<? super FriendlyByteBuf, T> valueWriter) -
Uses of FriendlyByteBuf in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic FilterMaskFilterMask.read(FriendlyByteBuf input) static MessageSignature.PackedMessageSignature.Packed.read(FriendlyByteBuf input) static MessageSignatureMessageSignature.read(FriendlyByteBuf input) static RemoteChatSession.DataRemoteChatSession.Data.read(FriendlyByteBuf input) static voidFilterMask.write(FriendlyByteBuf output, FilterMask mask) voidLastSeenMessages.Packed.write(FriendlyByteBuf output) voidLastSeenMessages.Update.write(FriendlyByteBuf output) static voidMessageSignature.Packed.write(FriendlyByteBuf output, MessageSignature.Packed packed) static voidMessageSignature.write(FriendlyByteBuf output, MessageSignature signature) static voidRemoteChatSession.Data.write(FriendlyByteBuf output, RemoteChatSession.Data data) voidSignedMessageBody.Packed.write(FriendlyByteBuf output) Constructors in net.minecraft.network.chat with parameters of type FriendlyByteBufModifierConstructorDescriptionPacked(FriendlyByteBuf input) Packed(FriendlyByteBuf input) Update(FriendlyByteBuf input) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.CONFIG_STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.CONFIG_STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundKeepAlivePacket> ClientboundKeepAlivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPingPacket> ClientboundPingPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundResourcePackPopPacket> ClientboundResourcePackPopPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundStoreCookiePacket> ClientboundStoreCookiePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTransferPacket> ClientboundTransferPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundUpdateTagsPacket> ClientboundUpdateTagsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundClientInformationPacket> ServerboundClientInformationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundKeepAlivePacket> ServerboundKeepAlivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPongPacket> ServerboundPongPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundResourcePackPacket> ServerboundResourcePackPacket.STREAM_CODECMethods in net.minecraft.network.protocol.common with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate voidClientboundKeepAlivePacket.write(FriendlyByteBuf output) private voidClientboundPingPacket.write(FriendlyByteBuf output) private voidClientboundResourcePackPopPacket.write(FriendlyByteBuf output) private voidClientboundStoreCookiePacket.write(FriendlyByteBuf output) private voidClientboundTransferPacket.write(FriendlyByteBuf output) private voidClientboundUpdateTagsPacket.write(FriendlyByteBuf output) private voidServerboundClientInformationPacket.write(FriendlyByteBuf output) private voidServerboundKeepAlivePacket.write(FriendlyByteBuf output) private voidServerboundPongPacket.write(FriendlyByteBuf output) private voidServerboundResourcePackPacket.write(FriendlyByteBuf output) Constructors in net.minecraft.network.protocol.common with parameters of type FriendlyByteBufModifierConstructorDescriptionprivateprivateprivateprivateprivateprivateprivateprivateprivateprivate -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.common.custom
Classes in net.minecraft.network.protocol.common.custom with type parameters of type FriendlyByteBufModifier and TypeInterfaceDescriptionstatic interfacestatic final recordCustomPacketPayload.TypeAndCodec<B extends FriendlyByteBuf, T extends CustomPacketPayload>Fields in net.minecraft.network.protocol.common.custom with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, BrandPayload> BrandPayload.STREAM_CODECMethods in net.minecraft.network.protocol.common.custom with type parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> CustomPacketPayload.codec(CustomPacketPayload.FallbackProvider<B> fallback, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> types, ConnectionProtocol protocol, PacketFlow packetFlow) static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec(Identifier id, int maxPayloadSize) Methods in net.minecraft.network.protocol.common.custom with parameters of type FriendlyByteBufConstructors in net.minecraft.network.protocol.common.custom with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionConfigurationProtocols.CLIENTBOUND_TEMPLATEConfigurationProtocols.SERVERBOUND_TEMPLATEstatic final StreamCodec<FriendlyByteBuf, ClientboundRegistryDataPacket> ClientboundRegistryDataPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundUpdateEnabledFeaturesPacket> ClientboundUpdateEnabledFeaturesPacket.STREAM_CODECMethods in net.minecraft.network.protocol.configuration with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate voidClientboundUpdateEnabledFeaturesPacket.write(FriendlyByteBuf output) Constructors in net.minecraft.network.protocol.configuration with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.cookie
Fields in net.minecraft.network.protocol.cookie with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundCookieRequestPacket> ClientboundCookieRequestPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCookieResponsePacket> ServerboundCookieResponsePacket.STREAM_CODECMethods in net.minecraft.network.protocol.cookie with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate voidClientboundCookieRequestPacket.write(FriendlyByteBuf output) private voidServerboundCookieResponsePacket.write(FriendlyByteBuf output) Constructors in net.minecraft.network.protocol.cookie with parameters of type FriendlyByteBufModifierConstructorDescriptionprivateprivate -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundAnimatePacket> ClientboundAnimatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundBlockChangedAckPacket> ClientboundBlockChangedAckPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundBlockDestructionPacket> ClientboundBlockDestructionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundChunkBatchFinishedPacket> ClientboundChunkBatchFinishedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundChunksBiomesPacket> ClientboundChunksBiomesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundClearTitlesPacket> ClientboundClearTitlesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundCommandsPacket> ClientboundCommandsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundContainerClosePacket> ClientboundContainerClosePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundContainerSetDataPacket> ClientboundContainerSetDataPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomChatCompletionsPacket> ClientboundCustomChatCompletionsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundDebugSamplePacket> ClientboundDebugSamplePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundDeleteChatPacket> ClientboundDeleteChatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundEntityEventPacket> ClientboundEntityEventPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundEntityPositionSyncPacket> ClientboundEntityPositionSyncPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundForgetLevelChunkPacket> ClientboundForgetLevelChunkPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundGameEventPacket> ClientboundGameEventPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundGameRuleValuesPacket> ClientboundGameRuleValuesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundHurtAnimationPacket> ClientboundHurtAnimationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundInitializeBorderPacket> ClientboundInitializeBorderPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLevelEventPacket> ClientboundLevelEventPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLightUpdatePacket> ClientboundLightUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMountScreenOpenPacket> ClientboundMountScreenOpenPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.Pos> ClientboundMoveEntityPacket.Pos.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> ClientboundMoveEntityPacket.PosRot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.Rot> ClientboundMoveEntityPacket.Rot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveMinecartPacket> ClientboundMoveMinecartPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveVehiclePacket> ClientboundMoveVehiclePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundOpenBookPacket> ClientboundOpenBookPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundOpenSignEditorPacket> ClientboundOpenSignEditorPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerAbilitiesPacket> ClientboundPlayerAbilitiesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerCombatEndPacket> ClientboundPlayerCombatEndPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerInfoRemovePacket> ClientboundPlayerInfoRemovePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerLookAtPacket> ClientboundPlayerLookAtPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerPositionPacket> ClientboundPlayerPositionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerRotationPacket> ClientboundPlayerRotationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundProjectilePowerPacket> ClientboundProjectilePowerPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundRemoveEntitiesPacket> ClientboundRemoveEntitiesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundResetScorePacket> ClientboundResetScorePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundRotateHeadPacket> ClientboundRotateHeadPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSectionBlocksUpdatePacket> ClientboundSectionBlocksUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSelectAdvancementsTabPacket> ClientboundSelectAdvancementsTabPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderCenterPacket> ClientboundSetBorderCenterPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderLerpSizePacket> ClientboundSetBorderLerpSizePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderSizePacket> ClientboundSetBorderSizePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderWarningDelayPacket> ClientboundSetBorderWarningDelayPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderWarningDistancePacket> ClientboundSetBorderWarningDistancePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetCameraPacket> ClientboundSetCameraPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheCenterPacket> ClientboundSetChunkCacheCenterPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheRadiusPacket> ClientboundSetChunkCacheRadiusPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetDefaultSpawnPositionPacket> ClientboundSetDefaultSpawnPositionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket> ClientboundSetDisplayObjectivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetEntityLinkPacket> ClientboundSetEntityLinkPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetExperiencePacket> ClientboundSetExperiencePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetHealthPacket> ClientboundSetHealthPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetPassengersPacket> ClientboundSetPassengersPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetSimulationDistancePacket> ClientboundSetSimulationDistancePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> ClientboundSetTitlesAnimationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundStopSoundPacket> ClientboundStopSoundPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTagQueryPacket> ClientboundTagQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTakeItemEntityPacket> ClientboundTakeItemEntityPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTeleportEntityPacket> ClientboundTeleportEntityPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTickingStatePacket> ClientboundTickingStatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTickingStepPacket> ClientboundTickingStepPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundAcceptTeleportationPacket> ServerboundAcceptTeleportationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundBlockEntityTagQueryPacket> ServerboundBlockEntityTagQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatAckPacket> ServerboundChatAckPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatCommandPacket> ServerboundChatCommandPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatCommandSignedPacket> ServerboundChatCommandSignedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatPacket> ServerboundChatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatSessionUpdatePacket> ServerboundChatSessionUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChunkBatchReceivedPacket> ServerboundChunkBatchReceivedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundClientCommandPacket> ServerboundClientCommandPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCommandSuggestionPacket> ServerboundCommandSuggestionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerButtonClickPacket> ServerboundContainerButtonClickPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerClosePacket> ServerboundContainerClosePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerSlotStateChangedPacket> ServerboundContainerSlotStateChangedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEditBookPacket> ServerboundEditBookPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEntityTagQueryPacket> ServerboundEntityTagQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundJigsawGeneratePacket> ServerboundJigsawGeneratePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundLockDifficultyPacket> ServerboundLockDifficultyPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.Pos> ServerboundMovePlayerPacket.Pos.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.PosRot> ServerboundMovePlayerPacket.PosRot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.Rot> ServerboundMovePlayerPacket.Rot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> ServerboundMovePlayerPacket.StatusOnly.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMoveVehiclePacket> ServerboundMoveVehiclePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPaddleBoatPacket> ServerboundPaddleBoatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlaceRecipePacket> ServerboundPlaceRecipePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerAbilitiesPacket> ServerboundPlayerAbilitiesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerActionPacket> ServerboundPlayerActionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerCommandPacket> ServerboundPlayerCommandPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerInputPacket> ServerboundPlayerInputPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRecipeBookChangeSettingsPacket> ServerboundRecipeBookChangeSettingsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRecipeBookSeenRecipePacket> ServerboundRecipeBookSeenRecipePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRenameItemPacket> ServerboundRenameItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSeenAdvancementsPacket> ServerboundSeenAdvancementsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSelectBundleItemPacket> ServerboundSelectBundleItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSelectTradePacket> ServerboundSelectTradePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCarriedItemPacket> ServerboundSetCarriedItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCommandBlockPacket> ServerboundSetCommandBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCommandMinecartPacket> ServerboundSetCommandMinecartPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetJigsawBlockPacket> ServerboundSetJigsawBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetStructureBlockPacket> ServerboundSetStructureBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetTestBlockPacket> ServerboundSetTestBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSignUpdatePacket> ServerboundSignUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSwingPacket> ServerboundSwingPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundTeleportToEntityPacket> ServerboundTeleportToEntityPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket> ServerboundUseItemOnPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundUseItemPacket> ServerboundUseItemPacket.STREAM_CODECMethods in net.minecraft.network.protocol.game that return FriendlyByteBufModifier and TypeMethodDescriptionClientboundChunksBiomesPacket.ChunkBiomeData.getReadBuffer()ClientboundLevelChunkPacketData.getReadBuffer()Methods in net.minecraft.network.protocol.game with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic voidClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData(FriendlyByteBuf buffer, LevelChunk chunk) static voidClientboundLevelChunkPacketData.extractChunkData(FriendlyByteBuf buffer, LevelChunk chunk) private static @Nullable ClientboundCommandsPacket.NodeStubClientboundCommandsPacket.read(FriendlyByteBuf input, byte flags) private static ClientboundMoveEntityPacket.PosClientboundMoveEntityPacket.Pos.read(FriendlyByteBuf input) private static ClientboundMoveEntityPacket.PosRotClientboundMoveEntityPacket.PosRot.read(FriendlyByteBuf input) private static ClientboundMoveEntityPacket.RotClientboundMoveEntityPacket.Rot.read(FriendlyByteBuf input) private static ServerboundMovePlayerPacket.PosServerboundMovePlayerPacket.Pos.read(FriendlyByteBuf input) private static ServerboundMovePlayerPacket.PosRotServerboundMovePlayerPacket.PosRot.read(FriendlyByteBuf input) private static ServerboundMovePlayerPacket.RotServerboundMovePlayerPacket.Rot.read(FriendlyByteBuf input) private static ServerboundMovePlayerPacket.StatusOnlyServerboundMovePlayerPacket.StatusOnly.read(FriendlyByteBuf input) private static ClientboundCommandsPacket.EntryClientboundCommandsPacket.readNode(FriendlyByteBuf input) private static intClientboundDamageEventPacket.readOptionalEntityId(FriendlyByteBuf input) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap(FriendlyByteBuf output, ArgumentTypeInfo.Template<A> argumentType) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>, T extends ArgumentTypeInfo.Template<A>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap(FriendlyByteBuf output, ArgumentTypeInfo<A, T> info, ArgumentTypeInfo.Template<A> argumentType) private voidClientboundAnimatePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundBlockChangedAckPacket.write(FriendlyByteBuf output) private voidClientboundBlockDestructionPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundChunkBatchFinishedPacket.write(FriendlyByteBuf output) voidClientboundChunksBiomesPacket.ChunkBiomeData.write(FriendlyByteBuf output) private voidClientboundChunksBiomesPacket.write(FriendlyByteBuf output) private voidClientboundClearTitlesPacket.write(FriendlyByteBuf output) voidClientboundCommandsPacket.ArgumentNodeStub.write(FriendlyByteBuf output) voidClientboundCommandsPacket.Entry.write(FriendlyByteBuf output) voidClientboundCommandsPacket.LiteralNodeStub.write(FriendlyByteBuf output) voidClientboundCommandsPacket.NodeStub.write(FriendlyByteBuf output) private voidClientboundCommandsPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundContainerClosePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundContainerSetDataPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundCustomChatCompletionsPacket.write(FriendlyByteBuf output) private voidClientboundDebugSamplePacket.write(FriendlyByteBuf output) private voidClientboundDeleteChatPacket.write(FriendlyByteBuf output) private voidClientboundEntityEventPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundForgetLevelChunkPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundGameEventPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundHurtAnimationPacket.write(FriendlyByteBuf output) private voidClientboundInitializeBorderPacket.write(FriendlyByteBuf output) private voidClientboundLevelEventPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundLightUpdatePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.voidClientboundLightUpdatePacketData.write(FriendlyByteBuf output) private voidClientboundMountScreenOpenPacket.write(FriendlyByteBuf output) private voidClientboundMoveEntityPacket.Pos.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundMoveEntityPacket.PosRot.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundMoveEntityPacket.Rot.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundOpenBookPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundOpenSignEditorPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundPlayerAbilitiesPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundPlayerCombatEndPacket.write(FriendlyByteBuf output) private voidClientboundPlayerInfoRemovePacket.write(FriendlyByteBuf output) private voidClientboundPlayerLookAtPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundProjectilePowerPacket.write(FriendlyByteBuf output) private voidClientboundRemoveEntitiesPacket.write(FriendlyByteBuf output) private voidClientboundResetScorePacket.write(FriendlyByteBuf output) private voidClientboundRotateHeadPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSectionBlocksUpdatePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSelectAdvancementsTabPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetBorderCenterPacket.write(FriendlyByteBuf output) private voidClientboundSetBorderLerpSizePacket.write(FriendlyByteBuf output) private voidClientboundSetBorderSizePacket.write(FriendlyByteBuf output) private voidClientboundSetBorderWarningDelayPacket.write(FriendlyByteBuf output) private voidClientboundSetBorderWarningDistancePacket.write(FriendlyByteBuf output) private voidClientboundSetCameraPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetChunkCacheCenterPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetChunkCacheRadiusPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetDisplayObjectivePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetEntityLinkPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetExperiencePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetHealthPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetPassengersPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundSetSimulationDistancePacket.write(FriendlyByteBuf output) private voidClientboundSetTitlesAnimationPacket.write(FriendlyByteBuf output) private voidClientboundStopSoundPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundTagQueryPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundTakeItemEntityPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundTickingStatePacket.write(FriendlyByteBuf output) private voidClientboundTickingStepPacket.write(FriendlyByteBuf output) private voidServerboundAcceptTeleportationPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundBlockEntityTagQueryPacket.write(FriendlyByteBuf output) private voidServerboundChatAckPacket.write(FriendlyByteBuf output) private voidServerboundChatCommandPacket.write(FriendlyByteBuf output) private voidServerboundChatCommandSignedPacket.write(FriendlyByteBuf output) private voidServerboundChatPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundChatSessionUpdatePacket.write(FriendlyByteBuf output) private voidServerboundChunkBatchReceivedPacket.write(FriendlyByteBuf output) private voidServerboundClientCommandPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundCommandSuggestionPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundContainerClosePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundContainerSlotStateChangedPacket.write(FriendlyByteBuf output) private voidServerboundEntityTagQueryPacket.write(FriendlyByteBuf output) private voidServerboundJigsawGeneratePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundLockDifficultyPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundMovePlayerPacket.Pos.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundMovePlayerPacket.PosRot.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundMovePlayerPacket.Rot.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundMovePlayerPacket.StatusOnly.write(FriendlyByteBuf output) private voidServerboundPaddleBoatPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundPlayerAbilitiesPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundPlayerActionPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundPlayerCommandPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundRecipeBookChangeSettingsPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundRenameItemPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSeenAdvancementsPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSelectBundleItemPacket.write(FriendlyByteBuf output) private voidServerboundSelectTradePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSetCarriedItemPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSetCommandBlockPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSetCommandMinecartPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSetJigsawBlockPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSetStructureBlockPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSignUpdatePacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundSwingPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundTeleportToEntityPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundUseItemOnPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundUseItemPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private static voidClientboundDamageEventPacket.writeOptionalEntityId(FriendlyByteBuf output, int id) Constructors in net.minecraft.network.protocol.game with parameters of type FriendlyByteBufModifierConstructorDescriptionChunkBiomeData(FriendlyByteBuf input) privateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateClientboundLightUpdatePacketData(FriendlyByteBuf input, int x, int z) privateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivateprivate -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.handshake
Fields in net.minecraft.network.protocol.handshake with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final SimpleUnboundProtocol<ServerHandshakePacketListener, FriendlyByteBuf> HandshakeProtocols.SERVERBOUND_TEMPLATEstatic final StreamCodec<FriendlyByteBuf, ClientIntentionPacket> ClientIntentionPacket.STREAM_CODECMethods in net.minecraft.network.protocol.handshake with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate voidClientIntentionPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.Constructors in net.minecraft.network.protocol.handshake with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login
Fields in net.minecraft.network.protocol.login with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final SimpleUnboundProtocol<ClientLoginPacketListener, FriendlyByteBuf> LoginProtocols.CLIENTBOUND_TEMPLATEstatic final SimpleUnboundProtocol<ServerLoginPacketListener, FriendlyByteBuf> LoginProtocols.SERVERBOUND_TEMPLATEstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomQueryPacket> ClientboundCustomQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundHelloPacket> ClientboundHelloPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLoginCompressionPacket> ClientboundLoginCompressionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomQueryAnswerPacket> ServerboundCustomQueryAnswerPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundHelloPacket> ServerboundHelloPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundKeyPacket> ServerboundKeyPacket.STREAM_CODECMethods in net.minecraft.network.protocol.login with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate static ServerboundCustomQueryAnswerPacketServerboundCustomQueryAnswerPacket.read(FriendlyByteBuf input) private static CustomQueryPayloadClientboundCustomQueryPacket.readPayload(Identifier identifier, FriendlyByteBuf input) private static CustomQueryAnswerPayloadServerboundCustomQueryAnswerPacket.readPayload(int transactionId, FriendlyByteBuf input) private static DiscardedQueryPayloadClientboundCustomQueryPacket.readUnknownPayload(Identifier identifier, FriendlyByteBuf input) private static CustomQueryAnswerPayloadServerboundCustomQueryAnswerPacket.readUnknownPayload(FriendlyByteBuf input) private voidClientboundCustomQueryPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundHelloPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidClientboundLoginCompressionPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundCustomQueryAnswerPacket.write(FriendlyByteBuf output) private voidServerboundHelloPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.private voidServerboundKeyPacket.write(FriendlyByteBuf output) Writes the raw packet data to the data stream.Constructors in net.minecraft.network.protocol.login with parameters of type FriendlyByteBufModifierConstructorDescriptionprivateprivateprivateprivateprivate -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login.custom
Methods in net.minecraft.network.protocol.login.custom with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionvoidCustomQueryAnswerPayload.write(FriendlyByteBuf output) voidCustomQueryPayload.write(FriendlyByteBuf output) voidDiscardedQueryAnswerPayload.write(FriendlyByteBuf output) voidDiscardedQueryPayload.write(FriendlyByteBuf output) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.ping
Fields in net.minecraft.network.protocol.ping with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundPongResponsePacket> ClientboundPongResponsePacket.STREAM_CODECMethods in net.minecraft.network.protocol.ping with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate voidClientboundPongResponsePacket.write(FriendlyByteBuf output) Constructors in net.minecraft.network.protocol.ping with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.status
Fields in net.minecraft.network.protocol.status with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final SimpleUnboundProtocol<ClientStatusPacketListener, FriendlyByteBuf> StatusProtocols.CLIENTBOUND_TEMPLATEstatic final StreamCodec<FriendlyByteBuf, ClientboundStatusResponsePacket> ClientboundStatusResponsePacket.STREAM_CODEC -
Uses of FriendlyByteBuf in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type FriendlyByteBufConstructors in net.minecraft.server.level with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.tags
Methods in net.minecraft.tags with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionTagNetworkSerialization.NetworkPayload.read(FriendlyByteBuf buf) voidTagNetworkSerialization.NetworkPayload.write(FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.minecraft.util
Methods in net.minecraft.util with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic voidCrypt.SaltSignaturePair.write(FriendlyByteBuf output, Crypt.SaltSignaturePair saltSignaturePair) Constructors in net.minecraft.util with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.util.debug
Fields in net.minecraft.util.debug with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, DebugBrainDump> DebugBrainDump.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, DebugPathInfo> DebugPathInfo.STREAM_CODECMethods in net.minecraft.util.debug with parameters of type FriendlyByteBufConstructors in net.minecraft.util.debug with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, PositionMoveRotation> PositionMoveRotation.STREAM_CODEC -
Uses of FriendlyByteBuf in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Input> Input.STREAM_CODECMethods in net.minecraft.world.entity.player with parameters of type FriendlyByteBufConstructors in net.minecraft.world.entity.player with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionvoidGlobalPalette.read(FriendlyByteBuf buffer, IdMap<T> globalMap) voidHashMapPalette.read(FriendlyByteBuf buffer, IdMap<T> globalMap) voidLevelChunkSection.read(FriendlyByteBuf buffer) voidLinearPalette.read(FriendlyByteBuf buffer, IdMap<T> globalMap) voidPalette.read(FriendlyByteBuf buffer, IdMap<T> globalMap) voidPalettedContainer.read(FriendlyByteBuf buffer) voidSingleValuePalette.read(FriendlyByteBuf buffer, IdMap<T> globalMap) voidLevelChunkSection.readBiomes(FriendlyByteBuf buffer) voidLevelChunk.replaceBiomes(FriendlyByteBuf buffer) voidLevelChunk.replaceWithPacketData(FriendlyByteBuf buffer, Map<Heightmap.Types, long[]> heightmaps, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> blockEntities) voidGlobalPalette.write(FriendlyByteBuf buffer, IdMap<T> globalMap) voidHashMapPalette.write(FriendlyByteBuf buffer, IdMap<T> globalMap) voidLevelChunkSection.write(FriendlyByteBuf buffer) voidLinearPalette.write(FriendlyByteBuf buffer, IdMap<T> globalMap) voidPalette.write(FriendlyByteBuf buffer, IdMap<T> globalMap) voidPalettedContainer.Data.write(FriendlyByteBuf buffer, IdMap<T> globalMap) voidPalettedContainer.write(FriendlyByteBuf buffer) voidPalettedContainerRO.write(FriendlyByteBuf buffer) voidSingleValuePalette.write(FriendlyByteBuf buffer, IdMap<T> globalMap) -
Uses of FriendlyByteBuf in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Path> Path.STREAM_CODECMethods in net.minecraft.world.level.pathfinder with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic NodeNode.createFromStream(FriendlyByteBuf buffer) static PathPath.createFromStream(FriendlyByteBuf buffer) static TargetTarget.createFromStream(FriendlyByteBuf buffer) static Path.DebugDataPath.DebugData.read(FriendlyByteBuf input) protected static voidNode.readContents(FriendlyByteBuf buffer, Node node) private static Node[]Path.readNodeArray(FriendlyByteBuf input) voidPath.DebugData.write(FriendlyByteBuf output) private static voidPath.writeNodeArray(FriendlyByteBuf output, Node[] nodes) voidNode.writeToStream(FriendlyByteBuf buffer) voidPath.writeToStream(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionprivate final org.apache.commons.lang3.function.TriFunction<com.mojang.datafixers.util.Either<UUID, String>, Waypoint.Icon, FriendlyByteBuf, TrackedWaypoint> TrackedWaypoint.Type.constructorConstructors in net.minecraft.world.waypoints with parameters of type FriendlyByteBufModifierConstructorDescriptionAzimuthWaypoint(com.mojang.datafixers.util.Either<UUID, String> identifier, Waypoint.Icon icon, FriendlyByteBuf byteBuf) ChunkWaypoint(com.mojang.datafixers.util.Either<UUID, String> identifier, Waypoint.Icon icon, FriendlyByteBuf byteBuf) privateEmptyWaypoint(com.mojang.datafixers.util.Either<UUID, String> identifier, Waypoint.Icon icon, FriendlyByteBuf byteBuf) Vec3iWaypoint(com.mojang.datafixers.util.Either<UUID, String> identifier, Waypoint.Icon icon, FriendlyByteBuf byteBuf) Constructor parameters in net.minecraft.world.waypoints with type arguments of type FriendlyByteBufModifierConstructorDescriptionprivateType(org.apache.commons.lang3.function.TriFunction<com.mojang.datafixers.util.Either<UUID, String>, Waypoint.Icon, FriendlyByteBuf, TrackedWaypoint> constructor) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return FriendlyByteBufModifier and TypeMethodDescriptionprivate FriendlyByteBufIFriendlyByteBufExtension.self()default <T> FriendlyByteBufIFriendlyByteBufExtension.writeArray(T[] array, StreamEncoder<? super FriendlyByteBuf, T> writer) Writes an array of objects to the buffer.default FriendlyByteBufIFriendlyByteBufExtension.writeByte(byte value) Writes a byte to the bufferMethod parameters in net.neoforged.neoforge.common.extensions with type arguments of type FriendlyByteBufModifier and TypeMethodDescriptiondefault <T> T[]IFriendlyByteBufExtension.readArray(IntFunction<T[]> builder, StreamDecoder<? super FriendlyByteBuf, T> reader) Reads an array of objects from the buffer.default <K,V> Map <K, V> IFriendlyByteBufExtension.readMap(StreamDecoder<? super FriendlyByteBuf, K> keyReader, BiFunction<FriendlyByteBuf, K, V> valueReader) Variant ofFriendlyByteBuf.readMap(StreamDecoder, StreamDecoder)that allows reading values that depend on the key.default <K,V> Map <K, V> IFriendlyByteBufExtension.readMap(StreamDecoder<? super FriendlyByteBuf, K> keyReader, BiFunction<FriendlyByteBuf, K, V> valueReader) Variant ofFriendlyByteBuf.readMap(StreamDecoder, StreamDecoder)that allows reading values that depend on the key.default <T> FriendlyByteBufIFriendlyByteBufExtension.writeArray(T[] array, StreamEncoder<? super FriendlyByteBuf, T> writer) Writes an array of objects to the buffer.default <K,V> void IFriendlyByteBufExtension.writeMap(Map<K, V> map, StreamEncoder<? super FriendlyByteBuf, K> keyWriter, org.apache.commons.lang3.function.TriConsumer<FriendlyByteBuf, K, V> valueWriter) Variant ofFriendlyByteBuf.writeMap(Map, StreamEncoder, StreamEncoder)that allows writing values that depend on the key.default <K,V> void IFriendlyByteBufExtension.writeMap(Map<K, V> map, StreamEncoder<? super FriendlyByteBuf, K> keyWriter, org.apache.commons.lang3.function.TriConsumer<FriendlyByteBuf, K, V> valueWriter) Variant ofFriendlyByteBuf.writeMap(Map, StreamEncoder, StreamEncoder)that allows writing values that depend on the key.default <T> voidIFriendlyByteBufExtension.writeObjectCollection(Collection<T> set, BiConsumer<T, FriendlyByteBuf> writer) Writes the entries in the given set to the buffer, by first writing the count and then writing each entry. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.codec
Fields in net.neoforged.neoforge.network.codec with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ChunkPos> NeoForgeStreamCodecs.CHUNK_POSstatic final StreamCodec<FriendlyByteBuf, byte[]> NeoForgeStreamCodecs.UNBOUNDED_BYTE_ARRAYMethods in net.neoforged.neoforge.network.codec with type parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic <B extends FriendlyByteBuf, V extends Enum<V>>
StreamCodec<B, V> static <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()Creates a stream codec to encode and decode aResourceKeythat identifies a registry. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Set<Identifier>> DinnerboneProtocolUtils.CHANNELS_CODECstatic final StreamCodec<FriendlyByteBuf, AdvancedAddEntityPayload> AdvancedAddEntityPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, CommonRegisterPayload> CommonRegisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, CommonVersionPayload> CommonVersionPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ConfigFilePayload> ConfigFilePayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistryPayload> FrozenRegistryPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistrySyncCompletedPayload> FrozenRegistrySyncCompletedPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistrySyncStartPayload> FrozenRegistrySyncStartPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsPayload.KnownDataMap> KnownRegistryDataMapsPayload.KnownDataMap.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsPayload> KnownRegistryDataMapsPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsReplyPayload> KnownRegistryDataMapsReplyPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, MinecraftRegisterPayload> MinecraftRegisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, MinecraftUnregisterPayload> MinecraftUnregisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkComponent> ModdedNetworkComponent.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkPayload> ModdedNetworkPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkQueryComponent> ModdedNetworkQueryComponent.STREAM_CODECModdedNetworkQueryPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkSetupFailedPayload> ModdedNetworkSetupFailedPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, SplitPacketPayload> SplitPacketPayload.STREAM_CODECMethods in net.neoforged.neoforge.network.payload with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate static Set<Identifier> DinnerboneProtocolUtils.readChannels(FriendlyByteBuf buf) Reads a set of channels from the buffer.private static voidDinnerboneProtocolUtils.writeChannels(FriendlyByteBuf buf, Set<Identifier> channels) Writes a set of channels to the buffer. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionprotected static final Map<Identifier, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADSMap of NeoForge payloads that may be sent before channel negotiation.private final StreamCodec<FriendlyByteBuf, T> ModdedConfigurationPayloadRegistration.readerThe field for thereaderrecord component.static final StreamCodec<FriendlyByteBuf, NetworkChannel> NetworkChannel.STREAM_CODECNetworkPayloadSetup.STREAM_CODECMethods in net.neoforged.neoforge.network.registration with type parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic <T extends CustomPacketPayload, B extends FriendlyByteBuf>
voidNetworkRegistry.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Registers a new payload.private <T extends CustomPacketPayload, B extends FriendlyByteBuf>
voidPayloadRegistrar.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Methods in net.neoforged.neoforge.network.registration that return types with arguments of type FriendlyByteBufModifier and TypeMethodDescriptionstatic @Nullable StreamCodec<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec(Identifier id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodecfor a non-vanilla payload.ModdedConfigurationPayloadRegistration.reader()Returns the value of thereaderrecord component.Method parameters in net.neoforged.neoforge.network.registration with type arguments of type FriendlyByteBufModifier and TypeMethodDescription<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec) Registers a client-bound payload for all phases without a handler.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a client-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToServer(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a server-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec) Registers a client-bound payload for the configuration phase without a handler.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a client-bound payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToServer(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a server-bound payload for the configuration phase.Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type FriendlyByteBufModifierConstructorDescriptionModdedConfigurationPayloadRegistration(Identifier id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistrationrecord class. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, RegistrySnapshot> RegistrySnapshot.STREAM_CODEC -
Uses of FriendlyByteBuf in net.neoforged.neoforge.server.command
Methods in net.neoforged.neoforge.server.command with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionEnumArgument.Info.deserializeFromNetwork(FriendlyByteBuf buffer) voidEnumArgument.Info.serializeToNetwork(EnumArgument.Info<T>.Template template, FriendlyByteBuf buffer)