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 AdvancementProgress
AdvancementProgress.fromNetwork
(FriendlyByteBuf buffer) static CriterionProgress
CriterionProgress.fromNetwork
(FriendlyByteBuf buffer) void
AdvancementProgress.serializeToNetwork
(FriendlyByteBuf buffer) void
CriterionProgress.serializeToNetwork
(FriendlyByteBuf buffer) void
AdvancementRequirements.write
(FriendlyByteBuf buffer) 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 TypeMethodDescriptionvoid
ClientChunkCache.replaceBiomes
(int x, int z, FriendlyByteBuf buffer) ClientChunkCache.replaceWithPacketData
(int x, int z, FriendlyByteBuf buffer, CompoundTag tag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> consumer) -
Uses of FriendlyByteBuf in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionEntityArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) ResourceArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) ResourceKeyArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) ResourceOrTagArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) ResourceOrTagKeyArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) ScoreHolderArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) TimeArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) void
EntityArgument.Info.serializeToNetwork
(EntityArgument.Info.Template template, FriendlyByteBuf buffer) void
ResourceArgument.Info.serializeToNetwork
(ResourceArgument.Info<T>.Template template, FriendlyByteBuf buffer) void
ResourceKeyArgument.Info.serializeToNetwork
(ResourceKeyArgument.Info<T>.Template template, FriendlyByteBuf buffer) void
ResourceOrTagArgument.Info.serializeToNetwork
(ResourceOrTagArgument.Info<T>.Template template, FriendlyByteBuf buffer) void
ResourceOrTagKeyArgument.Info.serializeToNetwork
(ResourceOrTagKeyArgument.Info<T>.Template template, FriendlyByteBuf buffer) void
ScoreHolderArgument.Info.serializeToNetwork
(ScoreHolderArgument.Info.Template template, FriendlyByteBuf buffer) void
TimeArgument.Info.serializeToNetwork
(TimeArgument.Info.Template template, FriendlyByteBuf buffer) void
ArgumentSignatures.Entry.write
(FriendlyByteBuf buffer) void
ArgumentSignatures.write
(FriendlyByteBuf buffer) Constructors in net.minecraft.commands.arguments with parameters of type FriendlyByteBufModifierConstructorDescriptionArgumentSignatures
(FriendlyByteBuf p_231052_) Entry
(FriendlyByteBuf p_241305_) -
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization
Methods in net.minecraft.commands.synchronization with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionArgumentTypeInfo.deserializeFromNetwork
(FriendlyByteBuf buffer) SingletonArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf buffer) void
ArgumentTypeInfo.serializeToNetwork
(T template, FriendlyByteBuf buffer) void
SingletonArgumentInfo.serializeToNetwork
(SingletonArgumentInfo<A>.Template template, FriendlyByteBuf buffer) -
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 buffer) FloatArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf buffer) IntegerArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf buffer) LongArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf buffer) StringArgumentSerializer.deserializeFromNetwork
(FriendlyByteBuf buffer) void
DoubleArgumentInfo.serializeToNetwork
(DoubleArgumentInfo.Template template, FriendlyByteBuf buffer) void
FloatArgumentInfo.serializeToNetwork
(FloatArgumentInfo.Template template, FriendlyByteBuf buffer) void
IntegerArgumentInfo.serializeToNetwork
(IntegerArgumentInfo.Template template, FriendlyByteBuf buffer) void
LongArgumentInfo.serializeToNetwork
(LongArgumentInfo.Template template, FriendlyByteBuf buffer) void
StringArgumentSerializer.serializeToNetwork
(StringArgumentSerializer.Template template, FriendlyByteBuf buffer) -
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 size) FriendlyByteBuf.getBytes
(int index, byte[] destination) FriendlyByteBuf.getBytes
(int index, byte[] destination, int destinationIndex, int length) FriendlyByteBuf.getBytes
(int index, io.netty.buffer.ByteBuf destination) FriendlyByteBuf.getBytes
(int index, io.netty.buffer.ByteBuf destination, int length) FriendlyByteBuf.getBytes
(int index, io.netty.buffer.ByteBuf destination, int destinationIndex, int length) FriendlyByteBuf.getBytes
(int index, OutputStream out, int length) FriendlyByteBuf.getBytes
(int index, ByteBuffer destination) FriendlyByteBuf.markReaderIndex()
FriendlyByteBuf.markWriterIndex()
FriendlyByteBuf.readBytes
(byte[] destination) FriendlyByteBuf.readBytes
(byte[] destination, int destinationIndex, int length) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf destination) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf destination, int length) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf destination, int destinationIndex, int length) FriendlyByteBuf.readBytes
(OutputStream out, int length) FriendlyByteBuf.readBytes
(ByteBuffer destination) 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[] source) FriendlyByteBuf.setBytes
(int index, byte[] source, int sourceIndex, int length) FriendlyByteBuf.setBytes
(int index, io.netty.buffer.ByteBuf source) FriendlyByteBuf.setBytes
(int index, io.netty.buffer.ByteBuf source, int length) FriendlyByteBuf.setBytes
(int index, io.netty.buffer.ByteBuf source, int sourceIndex, int length) FriendlyByteBuf.setBytes
(int index, ByteBuffer source) 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> FriendlyByteBuf
FriendlyByteBuf.writeById
(ToIntFunction<T> idGetter, T value) FriendlyByteBuf.writeByte
(int value) FriendlyByteBuf.writeByteArray
(byte[] array) FriendlyByteBuf.writeBytes
(byte[] source) FriendlyByteBuf.writeBytes
(byte[] source, int sourceIndex, int length) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf source) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf source, int length) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf source, int sourceIndex, int length) FriendlyByteBuf.writeBytes
(ByteBuffer source) FriendlyByteBuf.writeChar
(int value) FriendlyByteBuf.writeChunkPos
(ChunkPos chunkPos) Writes a ChunkPos encoded as a long to the buffer.Write a timestamp as milliseconds since the unix epoch.FriendlyByteBuf.writeDouble
(double value) Writes an enum of the given type T using the ordinal encoded as a VarInt to the buffer.FriendlyByteBuf.writeFloat
(float value) FriendlyByteBuf.writeInt
(int value) FriendlyByteBuf.writeIntLE
(int value) FriendlyByteBuf.writeLong
(long value) FriendlyByteBuf.writeLongArray
(long[] array) 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.writeResourceLocation
(ResourceLocation resourceLocation) Write a ResourceLocation using its String representation.FriendlyByteBuf.writerIndex
(int writerIndex) FriendlyByteBuf.writeSectionPos
(SectionPos sectionPos) Writes a SectionPos encoded as a long to the buffer.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 input) Writes a compressed int to the buffer.FriendlyByteBuf.writeVarIntArray
(int[] array) 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> FriendlyByteBuf
FriendlyByteBuf.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> collectionFactory, StreamDecoder<? super FriendlyByteBuf, T> elementReader) <T> List
<T> FriendlyByteBuf.readList
(StreamDecoder<? super FriendlyByteBuf, T> elementReader) <K,
V, M extends Map<K, V>>
MFriendlyByteBuf.readMap
(IntFunction<M> mapFactory, StreamDecoder<? super FriendlyByteBuf, K> keyReader, StreamDecoder<? super FriendlyByteBuf, V> valueReader) <K,
V> Map <K, V> FriendlyByteBuf.readMap
(StreamDecoder<? super FriendlyByteBuf, K> keyReader, StreamDecoder<? super FriendlyByteBuf, V> valueReader) <T> T
FriendlyByteBuf.readNullable
(StreamDecoder<? super FriendlyByteBuf, T> reader) <T> Optional
<T> FriendlyByteBuf.readOptional
(StreamDecoder<? super FriendlyByteBuf, T> reader) void
FriendlyByteBuf.readWithCount
(Consumer<FriendlyByteBuf> reader) Read a VarInt N from this buffer, then reads N values by callingreader
.<T> void
FriendlyByteBuf.writeCollection
(Collection<T> collection, StreamEncoder<? super FriendlyByteBuf, T> elementWriter) <K,
V> void FriendlyByteBuf.writeMap
(Map<K, V> map, StreamEncoder<? super FriendlyByteBuf, K> keyWriter, StreamEncoder<? super FriendlyByteBuf, V> valueWriter) <T> void
FriendlyByteBuf.writeNullable
(T value, StreamEncoder<? super FriendlyByteBuf, T> writer) <T> void
FriendlyByteBuf.writeOptional
(Optional<T> optional, StreamEncoder<? super FriendlyByteBuf, T> writer) -
Uses of FriendlyByteBuf in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic FilterMask
FilterMask.read
(FriendlyByteBuf buffer) static MessageSignature.Packed
MessageSignature.Packed.read
(FriendlyByteBuf buffer) static MessageSignature
MessageSignature.read
(FriendlyByteBuf buffer) static RemoteChatSession.Data
RemoteChatSession.Data.read
(FriendlyByteBuf buffer) static void
FilterMask.write
(FriendlyByteBuf buffer, FilterMask mask) void
LastSeenMessages.Packed.write
(FriendlyByteBuf buffer) void
LastSeenMessages.Update.write
(FriendlyByteBuf buffer) static void
MessageSignature.Packed.write
(FriendlyByteBuf buffer, MessageSignature.Packed packed) static void
MessageSignature.write
(FriendlyByteBuf buffer, MessageSignature signature) static void
RemoteChatSession.Data.write
(FriendlyByteBuf buffer, RemoteChatSession.Data data) void
SignedMessageBody.Packed.write
(FriendlyByteBuf buffer) Constructors in net.minecraft.network.chat with parameters of type FriendlyByteBufModifierConstructorDescriptionPacked
(FriendlyByteBuf p_249757_) Packed
(FriendlyByteBuf p_251620_) Update
(FriendlyByteBuf p_242184_) -
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_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.CONFIG_STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundKeepAlivePacket> ClientboundKeepAlivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPingPacket> ClientboundPingPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundResourcePackPopPacket> ClientboundResourcePackPopPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundStoreCookiePacket> ClientboundStoreCookiePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTransferPacket> ClientboundTransferPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundUpdateTagsPacket> ClientboundUpdateTagsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundClientInformationPacket> ServerboundClientInformationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundKeepAlivePacket> ServerboundKeepAlivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPongPacket> ServerboundPongPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundResourcePackPacket> ServerboundResourcePackPacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.common with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientboundKeepAlivePacket.write
(FriendlyByteBuf buffer) private void
ClientboundPingPacket.write
(FriendlyByteBuf buffer) private void
ClientboundResourcePackPopPacket.write
(FriendlyByteBuf buffer) private void
ClientboundStoreCookiePacket.write
(FriendlyByteBuf buffer) private void
ClientboundTransferPacket.write
(FriendlyByteBuf buffer) private void
ClientboundUpdateTagsPacket.write
(FriendlyByteBuf buffer) private void
ServerboundClientInformationPacket.write
(FriendlyByteBuf buffer) private void
ServerboundKeepAlivePacket.write
(FriendlyByteBuf buffer) private void
ServerboundPongPacket.write
(FriendlyByteBuf buffer) private void
ServerboundResourcePackPacket.write
(FriendlyByteBuf buffer) Constructors in net.minecraft.network.protocol.common with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate
private
ClientboundPingPacket
(FriendlyByteBuf buffer) private
ClientboundResourcePackPopPacket
(FriendlyByteBuf p_314659_) private
ClientboundStoreCookiePacket
(FriendlyByteBuf p_320774_) private
ClientboundTransferPacket
(FriendlyByteBuf p_320164_) private
private
private
private
ServerboundPongPacket
(FriendlyByteBuf buffer) private
ServerboundResourcePackPacket
(FriendlyByteBuf p_295986_) -
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 interface
static final record
CustomPacketPayload.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, BeeDebugPayload> BeeDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BrainDebugPayload> BrainDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BrandPayload> BrandPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BreezeDebugPayload> BreezeDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameEventDebugPayload> GameEventDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameTestAddMarkerDebugPayload> GameTestAddMarkerDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameTestClearMarkersDebugPayload> GameTestClearMarkersDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GoalDebugPayload> GoalDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, HiveDebugPayload> HiveDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, NeighborUpdatesDebugPayload> NeighborUpdatesDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PathfindingDebugPayload> PathfindingDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiAddedDebugPayload> PoiAddedDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiRemovedDebugPayload> PoiRemovedDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiTicketCountDebugPayload> PoiTicketCountDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, RaidsDebugPayload> RaidsDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, StructuresDebugPayload> StructuresDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, VillageSectionsDebugPayload> VillageSectionsDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, WorldGenAttemptDebugPayload> WorldGenAttemptDebugPayload.STREAM_CODEC
Methods 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> fallbackProvider, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> typeAndCodecs, ConnectionProtocol protocol, PacketFlow packetFlow) static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec
(ResourceLocation id, int maxSize) Methods in net.minecraft.network.protocol.common.custom with parameters of type FriendlyByteBufModifier and TypeMethodDescription(package private) static BoundingBox
StructuresDebugPayload.readBoundingBox
(FriendlyByteBuf buffer) void
BeeDebugPayload.BeeInfo.write
(FriendlyByteBuf buffer) private void
BeeDebugPayload.write
(FriendlyByteBuf buffer) void
BrainDebugPayload.BrainDump.write
(FriendlyByteBuf buffer) private void
BrainDebugPayload.write
(FriendlyByteBuf buffer) private void
BrandPayload.write
(FriendlyByteBuf buffer) void
BreezeDebugPayload.BreezeInfo.write
(FriendlyByteBuf buffer) private void
BreezeDebugPayload.write
(FriendlyByteBuf buffer) private void
GameEventDebugPayload.write
(FriendlyByteBuf buffer) private void
GameTestAddMarkerDebugPayload.write
(FriendlyByteBuf buffer) private void
GameTestClearMarkersDebugPayload.write
(FriendlyByteBuf buffer) void
GoalDebugPayload.DebugGoal.write
(FriendlyByteBuf buffer) private void
GoalDebugPayload.write
(FriendlyByteBuf buffer) void
HiveDebugPayload.HiveInfo.write
(FriendlyByteBuf buffer) private void
HiveDebugPayload.write
(FriendlyByteBuf buffer) private void
NeighborUpdatesDebugPayload.write
(FriendlyByteBuf buffer) private void
PathfindingDebugPayload.write
(FriendlyByteBuf buffer) private void
PoiAddedDebugPayload.write
(FriendlyByteBuf buffer) private void
PoiRemovedDebugPayload.write
(FriendlyByteBuf buffer) private void
PoiTicketCountDebugPayload.write
(FriendlyByteBuf buffer) private void
RaidsDebugPayload.write
(FriendlyByteBuf buffer) void
StructuresDebugPayload.PieceInfo.write
(FriendlyByteBuf buffer) private void
StructuresDebugPayload.write
(FriendlyByteBuf buffer) private void
VillageSectionsDebugPayload.write
(FriendlyByteBuf buffer) private void
WorldGenAttemptDebugPayload.write
(FriendlyByteBuf buffer) (package private) static void
StructuresDebugPayload.writeBoundingBox
(FriendlyByteBuf buffer, BoundingBox boundingBox) Constructors in net.minecraft.network.protocol.common.custom with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate
BeeDebugPayload
(FriendlyByteBuf p_295882_) BeeInfo
(FriendlyByteBuf p_295195_) private
BrainDebugPayload
(FriendlyByteBuf p_295683_) BrainDump
(FriendlyByteBuf p_294290_) private
BrandPayload
(FriendlyByteBuf p_296001_) private
BreezeDebugPayload
(FriendlyByteBuf p_312069_) BreezeInfo
(FriendlyByteBuf p_311866_) DebugGoal
(FriendlyByteBuf p_294803_) private
GameEventDebugPayload
(FriendlyByteBuf p_294345_) private
GameTestAddMarkerDebugPayload
(FriendlyByteBuf p_294353_) private
GameTestClearMarkersDebugPayload
(FriendlyByteBuf p_294413_) private
GoalDebugPayload
(FriendlyByteBuf p_295257_) private
HiveDebugPayload
(FriendlyByteBuf p_296486_) HiveInfo
(FriendlyByteBuf p_295182_) private
NeighborUpdatesDebugPayload
(FriendlyByteBuf p_295153_) private
PathfindingDebugPayload
(FriendlyByteBuf p_296445_) PieceInfo
(FriendlyByteBuf p_294562_) private
PoiAddedDebugPayload
(FriendlyByteBuf p_294710_) private
PoiRemovedDebugPayload
(FriendlyByteBuf p_295381_) private
PoiTicketCountDebugPayload
(FriendlyByteBuf p_295976_) private
RaidsDebugPayload
(FriendlyByteBuf p_295468_) private
StructuresDebugPayload
(FriendlyByteBuf p_294983_) private
VillageSectionsDebugPayload
(FriendlyByteBuf p_295961_) private
WorldGenAttemptDebugPayload
(FriendlyByteBuf p_295574_) -
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_TEMPLATE
ConfigurationProtocols.SERVERBOUND_TEMPLATE
static final StreamCodec
<FriendlyByteBuf, ClientboundRegistryDataPacket> ClientboundRegistryDataPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundUpdateEnabledFeaturesPacket> ClientboundUpdateEnabledFeaturesPacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.configuration with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientboundUpdateEnabledFeaturesPacket.write
(FriendlyByteBuf buffer) 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_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCookieResponsePacket> ServerboundCookieResponsePacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.cookie with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientboundCookieRequestPacket.write
(FriendlyByteBuf buffer) private void
ServerboundCookieResponsePacket.write
(FriendlyByteBuf buffer) Constructors in net.minecraft.network.protocol.cookie with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate
ClientboundCookieRequestPacket
(FriendlyByteBuf p_320446_) private
ServerboundCookieResponsePacket
(FriendlyByteBuf p_320325_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type FriendlyByteBufModifier and TypeFieldDescription(package private) final Function
<FriendlyByteBuf, ServerboundInteractPacket.Action> ServerboundInteractPacket.ActionType.reader
static final StreamCodec
<FriendlyByteBuf, ClientboundAddExperienceOrbPacket> ClientboundAddExperienceOrbPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundAnimatePacket> ClientboundAnimatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundBlockChangedAckPacket> ClientboundBlockChangedAckPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundBlockDestructionPacket> ClientboundBlockDestructionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChangeDifficultyPacket> ClientboundChangeDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChunkBatchFinishedPacket> ClientboundChunkBatchFinishedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChunksBiomesPacket> ClientboundChunksBiomesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundClearTitlesPacket> ClientboundClearTitlesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundCommandsPacket> ClientboundCommandsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundContainerClosePacket> ClientboundContainerClosePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundContainerSetDataPacket> ClientboundContainerSetDataPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundCustomChatCompletionsPacket> ClientboundCustomChatCompletionsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundDebugSamplePacket> ClientboundDebugSamplePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundDeleteChatPacket> ClientboundDeleteChatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundEntityEventPacket> ClientboundEntityEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundForgetLevelChunkPacket> ClientboundForgetLevelChunkPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundGameEventPacket> ClientboundGameEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHorseScreenOpenPacket> ClientboundHorseScreenOpenPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHurtAnimationPacket> ClientboundHurtAnimationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundInitializeBorderPacket> ClientboundInitializeBorderPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLevelEventPacket> ClientboundLevelEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLightUpdatePacket> ClientboundLightUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.Pos> ClientboundMoveEntityPacket.Pos.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> ClientboundMoveEntityPacket.PosRot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.Rot> ClientboundMoveEntityPacket.Rot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveVehiclePacket> ClientboundMoveVehiclePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundOpenBookPacket> ClientboundOpenBookPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundOpenSignEditorPacket> ClientboundOpenSignEditorPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlaceGhostRecipePacket> ClientboundPlaceGhostRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerAbilitiesPacket> ClientboundPlayerAbilitiesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerCombatEndPacket> ClientboundPlayerCombatEndPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerInfoRemovePacket> ClientboundPlayerInfoRemovePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerLookAtPacket> ClientboundPlayerLookAtPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerPositionPacket> ClientboundPlayerPositionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundProjectilePowerPacket> ClientboundProjectilePowerPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRecipePacket> ClientboundRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRemoveEntitiesPacket> ClientboundRemoveEntitiesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundResetScorePacket> ClientboundResetScorePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRotateHeadPacket> ClientboundRotateHeadPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSectionBlocksUpdatePacket> ClientboundSectionBlocksUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSelectAdvancementsTabPacket> ClientboundSelectAdvancementsTabPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderCenterPacket> ClientboundSetBorderCenterPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderLerpSizePacket> ClientboundSetBorderLerpSizePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderSizePacket> ClientboundSetBorderSizePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderWarningDelayPacket> ClientboundSetBorderWarningDelayPacket.STREAM_CODEC
ClientboundSetBorderWarningDistancePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetCameraPacket> ClientboundSetCameraPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetCarriedItemPacket> ClientboundSetCarriedItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetChunkCacheCenterPacket> ClientboundSetChunkCacheCenterPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetChunkCacheRadiusPacket> ClientboundSetChunkCacheRadiusPacket.STREAM_CODEC
ClientboundSetDefaultSpawnPositionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket> ClientboundSetDisplayObjectivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetEntityLinkPacket> ClientboundSetEntityLinkPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetEntityMotionPacket> ClientboundSetEntityMotionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetExperiencePacket> ClientboundSetExperiencePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetHealthPacket> ClientboundSetHealthPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetPassengersPacket> ClientboundSetPassengersPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetSimulationDistancePacket> ClientboundSetSimulationDistancePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTimePacket> ClientboundSetTimePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> ClientboundSetTitlesAnimationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundStopSoundPacket> ClientboundStopSoundPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTagQueryPacket> ClientboundTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTakeItemEntityPacket> ClientboundTakeItemEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTeleportEntityPacket> ClientboundTeleportEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTickingStatePacket> ClientboundTickingStatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTickingStepPacket> ClientboundTickingStepPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundAcceptTeleportationPacket> ServerboundAcceptTeleportationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundBlockEntityTagQueryPacket> ServerboundBlockEntityTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChangeDifficultyPacket> ServerboundChangeDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatAckPacket> ServerboundChatAckPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatCommandPacket> ServerboundChatCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatCommandSignedPacket> ServerboundChatCommandSignedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatPacket> ServerboundChatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatSessionUpdatePacket> ServerboundChatSessionUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChunkBatchReceivedPacket> ServerboundChunkBatchReceivedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundClientCommandPacket> ServerboundClientCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCommandSuggestionPacket> ServerboundCommandSuggestionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundContainerButtonClickPacket> ServerboundContainerButtonClickPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundContainerClosePacket> ServerboundContainerClosePacket.STREAM_CODEC
ServerboundContainerSlotStateChangedPacket.STREAM_CODEC
ServerboundDebugSampleSubscriptionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundEditBookPacket> ServerboundEditBookPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundEntityTagQueryPacket> ServerboundEntityTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundInteractPacket> ServerboundInteractPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundJigsawGeneratePacket> ServerboundJigsawGeneratePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundLockDifficultyPacket> ServerboundLockDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.Pos> ServerboundMovePlayerPacket.Pos.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.PosRot> ServerboundMovePlayerPacket.PosRot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.Rot> ServerboundMovePlayerPacket.Rot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> ServerboundMovePlayerPacket.StatusOnly.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMoveVehiclePacket> ServerboundMoveVehiclePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPaddleBoatPacket> ServerboundPaddleBoatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPickItemPacket> ServerboundPickItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlaceRecipePacket> ServerboundPlaceRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerAbilitiesPacket> ServerboundPlayerAbilitiesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerActionPacket> ServerboundPlayerActionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerCommandPacket> ServerboundPlayerCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerInputPacket> ServerboundPlayerInputPacket.STREAM_CODEC
ServerboundRecipeBookChangeSettingsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundRecipeBookSeenRecipePacket> ServerboundRecipeBookSeenRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundRenameItemPacket> ServerboundRenameItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSeenAdvancementsPacket> ServerboundSeenAdvancementsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSelectTradePacket> ServerboundSelectTradePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCarriedItemPacket> ServerboundSetCarriedItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCommandBlockPacket> ServerboundSetCommandBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCommandMinecartPacket> ServerboundSetCommandMinecartPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetJigsawBlockPacket> ServerboundSetJigsawBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetStructureBlockPacket> ServerboundSetStructureBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSignUpdatePacket> ServerboundSignUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSwingPacket> ServerboundSwingPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundTeleportToEntityPacket> ServerboundTeleportToEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundUseItemOnPacket> ServerboundUseItemOnPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundUseItemPacket> ServerboundUseItemPacket.STREAM_CODEC
Methods 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 void
ClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData
(FriendlyByteBuf buffer, LevelChunk chunk) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf buffer, LevelChunk chunk) private static ClientboundCommandsPacket.NodeStub
ClientboundCommandsPacket.read
(FriendlyByteBuf buffer, byte flags) private static ClientboundMoveEntityPacket.Pos
ClientboundMoveEntityPacket.Pos.read
(FriendlyByteBuf buffer) private static ClientboundMoveEntityPacket.PosRot
ClientboundMoveEntityPacket.PosRot.read
(FriendlyByteBuf buffer) private static ClientboundMoveEntityPacket.Rot
ClientboundMoveEntityPacket.Rot.read
(FriendlyByteBuf buffer) private static ServerboundMovePlayerPacket.Pos
ServerboundMovePlayerPacket.Pos.read
(FriendlyByteBuf buffer) private static ServerboundMovePlayerPacket.PosRot
ServerboundMovePlayerPacket.PosRot.read
(FriendlyByteBuf buffer) private static ServerboundMovePlayerPacket.Rot
ServerboundMovePlayerPacket.Rot.read
(FriendlyByteBuf buffer) private static ServerboundMovePlayerPacket.StatusOnly
ServerboundMovePlayerPacket.StatusOnly.read
(FriendlyByteBuf buffer) private static ClientboundCommandsPacket.Entry
ClientboundCommandsPacket.readNode
(FriendlyByteBuf buffer) private static int
ClientboundDamageEventPacket.readOptionalEntityId
(FriendlyByteBuf buffer) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf buffer, ArgumentTypeInfo.Template<A> argumentInfoTemplate) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentTypeInfo.Template<A>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf buffer, ArgumentTypeInfo<A, T> argumentInfo, ArgumentTypeInfo.Template<A> argumentInfoTemplate) private void
ClientboundAddExperienceOrbPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundAnimatePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundBlockChangedAckPacket.write
(FriendlyByteBuf buffer) private void
ClientboundBlockDestructionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundChangeDifficultyPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundChunkBatchFinishedPacket.write
(FriendlyByteBuf buffer) void
ClientboundChunksBiomesPacket.ChunkBiomeData.write
(FriendlyByteBuf buffer) private void
ClientboundChunksBiomesPacket.write
(FriendlyByteBuf buffer) private void
ClientboundClearTitlesPacket.write
(FriendlyByteBuf buffer) void
ClientboundCommandsPacket.ArgumentNodeStub.write
(FriendlyByteBuf buffer) void
ClientboundCommandsPacket.Entry.write
(FriendlyByteBuf buffer) void
ClientboundCommandsPacket.LiteralNodeStub.write
(FriendlyByteBuf buffer) void
ClientboundCommandsPacket.NodeStub.write
(FriendlyByteBuf buffer) private void
ClientboundCommandsPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundContainerClosePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundContainerSetDataPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundCustomChatCompletionsPacket.write
(FriendlyByteBuf buffer) private void
ClientboundDebugSamplePacket.write
(FriendlyByteBuf buffer) private void
ClientboundDeleteChatPacket.write
(FriendlyByteBuf buffer) private void
ClientboundEntityEventPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundForgetLevelChunkPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundGameEventPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundHorseScreenOpenPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundHurtAnimationPacket.write
(FriendlyByteBuf buffer) private void
ClientboundInitializeBorderPacket.write
(FriendlyByteBuf buffer) private void
ClientboundLevelEventPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundLightUpdatePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.void
ClientboundLightUpdatePacketData.write
(FriendlyByteBuf buffer) private void
ClientboundMoveEntityPacket.Pos.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundMoveEntityPacket.PosRot.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundMoveEntityPacket.Rot.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundMoveVehiclePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundOpenBookPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundOpenSignEditorPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundPlaceGhostRecipePacket.write
(FriendlyByteBuf byteBuf) Writes the raw packet data to the data stream.private void
ClientboundPlayerAbilitiesPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundPlayerCombatEndPacket.write
(FriendlyByteBuf buffer) private void
ClientboundPlayerInfoRemovePacket.write
(FriendlyByteBuf buffer) private void
ClientboundPlayerLookAtPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundPlayerPositionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundProjectilePowerPacket.write
(FriendlyByteBuf buffer) private void
ClientboundRecipePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundRemoveEntitiesPacket.write
(FriendlyByteBuf buffer) private void
ClientboundResetScorePacket.write
(FriendlyByteBuf buffer) private void
ClientboundRotateHeadPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSectionBlocksUpdatePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSelectAdvancementsTabPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetBorderCenterPacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetBorderLerpSizePacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetBorderSizePacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetBorderWarningDelayPacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetBorderWarningDistancePacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetCameraPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetCarriedItemPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetChunkCacheCenterPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetChunkCacheRadiusPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetDefaultSpawnPositionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetDisplayObjectivePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetEntityLinkPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetEntityMotionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetExperiencePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetHealthPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetPassengersPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetSimulationDistancePacket.write
(FriendlyByteBuf buffer) private void
ClientboundSetTimePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundSetTitlesAnimationPacket.write
(FriendlyByteBuf buffer) private void
ClientboundStopSoundPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundTagQueryPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundTakeItemEntityPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundTeleportEntityPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundTickingStatePacket.write
(FriendlyByteBuf buffer) private void
ClientboundTickingStepPacket.write
(FriendlyByteBuf buffer) private void
ServerboundAcceptTeleportationPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundBlockEntityTagQueryPacket.write
(FriendlyByteBuf buffer) private void
ServerboundChangeDifficultyPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundChatAckPacket.write
(FriendlyByteBuf buffer) private void
ServerboundChatCommandPacket.write
(FriendlyByteBuf buffer) private void
ServerboundChatCommandSignedPacket.write
(FriendlyByteBuf buffer) private void
ServerboundChatPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundChatSessionUpdatePacket.write
(FriendlyByteBuf buffer) private void
ServerboundChunkBatchReceivedPacket.write
(FriendlyByteBuf buffer) private void
ServerboundClientCommandPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundCommandSuggestionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundContainerClosePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundContainerSlotStateChangedPacket.write
(FriendlyByteBuf buffer) private void
ServerboundDebugSampleSubscriptionPacket.write
(FriendlyByteBuf buffer) private void
ServerboundEntityTagQueryPacket.write
(FriendlyByteBuf buffer) void
ServerboundInteractPacket.Action.write
(FriendlyByteBuf buffer) void
ServerboundInteractPacket.InteractionAction.write
(FriendlyByteBuf buffer) void
ServerboundInteractPacket.InteractionAtLocationAction.write
(FriendlyByteBuf buffer) private void
ServerboundInteractPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundJigsawGeneratePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundLockDifficultyPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.Pos.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.PosRot.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.Rot.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.StatusOnly.write
(FriendlyByteBuf buffer) private void
ServerboundMoveVehiclePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPaddleBoatPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPickItemPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPlaceRecipePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerAbilitiesPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerActionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerCommandPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerInputPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundRecipeBookChangeSettingsPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundRecipeBookSeenRecipePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundRenameItemPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSeenAdvancementsPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSelectTradePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSetCarriedItemPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSetCommandBlockPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSetCommandMinecartPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSetJigsawBlockPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSetStructureBlockPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSignUpdatePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundSwingPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundTeleportToEntityPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundUseItemOnPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundUseItemPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private static void
ClientboundDamageEventPacket.writeOptionalEntityId
(FriendlyByteBuf buffer, int optionalEntityId) Constructors in net.minecraft.network.protocol.game with parameters of type FriendlyByteBufModifierConstructorDescriptionChunkBiomeData
(FriendlyByteBuf p_275255_) private
private
private
ClientboundBlockChangedAckPacket
(FriendlyByteBuf p_237582_) private
private
private
private
ClientboundChunksBiomesPacket
(FriendlyByteBuf p_275221_) private
private
private
private
private
private
ClientboundDebugSamplePacket
(FriendlyByteBuf p_323529_) private
ClientboundDeleteChatPacket
(FriendlyByteBuf p_241415_) private
private
ClientboundForgetLevelChunkPacket
(FriendlyByteBuf p_178858_) private
private
private
ClientboundHurtAnimationPacket
(FriendlyByteBuf p_265181_) private
private
private
ClientboundLightUpdatePacketData
(FriendlyByteBuf buffer, int x, int z) private
private
private
private
private
private
private
ClientboundPlayerInfoRemovePacket
(FriendlyByteBuf p_248744_) private
private
private
private
private
private
ClientboundResetScorePacket
(FriendlyByteBuf p_313852_) private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
ClientboundTickingStatePacket
(FriendlyByteBuf p_309182_) private
ClientboundTickingStepPacket
(FriendlyByteBuf p_309129_) private
InteractionAction
(FriendlyByteBuf buffer) private
private
private
private
private
ServerboundChatAckPacket
(FriendlyByteBuf p_242339_) private
ServerboundChatCommandPacket
(FriendlyByteBuf p_237932_) private
private
ServerboundChatPacket
(FriendlyByteBuf p_179545_) private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
private
Constructor parameters in net.minecraft.network.protocol.game with type arguments of type FriendlyByteBufModifierConstructorDescriptionprivate
-
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 ProtocolInfo.Unbound
<ServerHandshakePacketListener, FriendlyByteBuf> HandshakeProtocols.SERVERBOUND_TEMPLATE
static final StreamCodec
<FriendlyByteBuf, ClientIntentionPacket> ClientIntentionPacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.handshake with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientIntentionPacket.write
(FriendlyByteBuf buffer) 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 ProtocolInfo.Unbound
<ClientLoginPacketListener, FriendlyByteBuf> LoginProtocols.CLIENTBOUND_TEMPLATE
static final ProtocolInfo.Unbound
<ServerLoginPacketListener, FriendlyByteBuf> LoginProtocols.SERVERBOUND_TEMPLATE
static final StreamCodec
<FriendlyByteBuf, ClientboundCustomQueryPacket> ClientboundCustomQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHelloPacket> ClientboundHelloPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLoginCompressionPacket> ClientboundLoginCompressionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLoginDisconnectPacket> ClientboundLoginDisconnectPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomQueryAnswerPacket> ServerboundCustomQueryAnswerPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundHelloPacket> ServerboundHelloPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundKeyPacket> ServerboundKeyPacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.login with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate static ServerboundCustomQueryAnswerPacket
ServerboundCustomQueryAnswerPacket.read
(FriendlyByteBuf buffer) private static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation id, FriendlyByteBuf buffer) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readPayload
(int transactionId, FriendlyByteBuf buffer) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation id, FriendlyByteBuf buffer) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readUnknownPayload
(FriendlyByteBuf buffer) private void
ClientboundCustomQueryPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundHelloPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundLoginCompressionPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ClientboundLoginDisconnectPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundCustomQueryAnswerPacket.write
(FriendlyByteBuf buffer) private void
ServerboundHelloPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.private void
ServerboundKeyPacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.Constructors in net.minecraft.network.protocol.login with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate
ClientboundCustomQueryPacket
(FriendlyByteBuf p_179810_) private
private
private
private
ServerboundHelloPacket
(FriendlyByteBuf p_179827_) private
ServerboundKeyPacket
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login.custom
Methods in net.minecraft.network.protocol.login.custom with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionvoid
CustomQueryAnswerPayload.write
(FriendlyByteBuf buffer) void
CustomQueryPayload.write
(FriendlyByteBuf buffer) void
DiscardedQueryAnswerPayload.write
(FriendlyByteBuf p_294372_) void
DiscardedQueryPayload.write
(FriendlyByteBuf p_296443_) -
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_CODEC
Methods in net.minecraft.network.protocol.ping with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientboundPongResponsePacket.write
(FriendlyByteBuf buffer) 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 ProtocolInfo.Unbound
<ClientStatusPacketListener, FriendlyByteBuf> StatusProtocols.CLIENTBOUND_TEMPLATE
static final StreamCodec
<FriendlyByteBuf, ClientboundStatusResponsePacket> ClientboundStatusResponsePacket.STREAM_CODEC
Methods in net.minecraft.network.protocol.status with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate void
ClientboundStatusResponsePacket.write
(FriendlyByteBuf buffer) Writes the raw packet data to the data stream.Constructors in net.minecraft.network.protocol.status with parameters of type FriendlyByteBuf -
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.stats
Methods in net.minecraft.stats with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic RecipeBookSettings
RecipeBookSettings.read
(FriendlyByteBuf buffer) void
RecipeBookSettings.write
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraft.tags
Methods in net.minecraft.tags with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionTagNetworkSerialization.NetworkPayload.read
(FriendlyByteBuf buffer) void
TagNetworkSerialization.NetworkPayload.write
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraft.util
Methods in net.minecraft.util with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic void
Crypt.SaltSignaturePair.write
(FriendlyByteBuf buffer, Crypt.SaltSignaturePair signaturePair) Constructors in net.minecraft.util with parameters of type FriendlyByteBuf -
Uses of FriendlyByteBuf in net.minecraft.world.entity.player
Methods 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 TypeMethodDescriptionvoid
GlobalPalette.read
(FriendlyByteBuf buffer) void
HashMapPalette.read
(FriendlyByteBuf buffer) void
LevelChunkSection.read
(FriendlyByteBuf buffer) void
LinearPalette.read
(FriendlyByteBuf buffer) void
Palette.read
(FriendlyByteBuf buffer) void
PalettedContainer.read
(FriendlyByteBuf buffer) void
SingleValuePalette.read
(FriendlyByteBuf buffer) void
LevelChunkSection.readBiomes
(FriendlyByteBuf buffer) void
LevelChunk.replaceBiomes
(FriendlyByteBuf buffer) void
LevelChunk.replaceWithPacketData
(FriendlyByteBuf buffer, CompoundTag tag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> outputTagConsumer) void
GlobalPalette.write
(FriendlyByteBuf buffer) void
HashMapPalette.write
(FriendlyByteBuf buffer) void
LevelChunkSection.write
(FriendlyByteBuf buffer) void
LinearPalette.write
(FriendlyByteBuf buffer) void
Palette.write
(FriendlyByteBuf buffer) void
PalettedContainer.Data.write
(FriendlyByteBuf buffer) void
PalettedContainer.write
(FriendlyByteBuf buffer) void
PalettedContainerRO.write
(FriendlyByteBuf buffer) void
SingleValuePalette.write
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraft.world.level.pathfinder
Methods in net.minecraft.world.level.pathfinder with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic Node
Node.createFromStream
(FriendlyByteBuf buffer) static Path
Path.createFromStream
(FriendlyByteBuf buf) static Target
Target.createFromStream
(FriendlyByteBuf buffer) static Path.DebugData
Path.DebugData.read
(FriendlyByteBuf buffer) protected static void
Node.readContents
(FriendlyByteBuf buffer, Node node) (package private) static Node[]
Path.readNodeArray
(FriendlyByteBuf buffer) void
Path.DebugData.write
(FriendlyByteBuf buffer) (package private) static void
Path.writeNodeArray
(FriendlyByteBuf buffer, Node[] nodeArray) void
Node.writeToStream
(FriendlyByteBuf buffer) void
Path.writeToStream
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return FriendlyByteBufModifier and TypeMethodDescriptionprivate FriendlyByteBuf
IFriendlyByteBufExtension.self()
default <T> FriendlyByteBuf
IFriendlyByteBufExtension.writeArray
(T[] array, StreamEncoder<? super FriendlyByteBuf, T> writer) Writes an array of objects to the buffer.default FriendlyByteBuf
IFriendlyByteBufExtension.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 ofreadMap(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 ofreadMap(StreamDecoder, StreamDecoder)
that allows reading values that depend on the key.default <T> FriendlyByteBuf
IFriendlyByteBufExtension.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 ofwriteMap(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 ofwriteMap(Map, StreamEncoder, StreamEncoder)
that allows writing values that depend on the key.default <T> void
IFriendlyByteBufExtension.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_POS
static final StreamCodec
<FriendlyByteBuf, byte[]> NeoForgeStreamCodecs.UNBOUNDED_BYTE_ARRAY
Methods 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 aResourceKey
that 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<ResourceLocation>> DinnerboneProtocolUtils.CHANNELS_CODEC
static final StreamCodec
<FriendlyByteBuf, AdvancedAddEntityPayload> AdvancedAddEntityPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, CommonRegisterPayload> CommonRegisterPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, CommonVersionPayload> CommonVersionPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ConfigFilePayload> ConfigFilePayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistryPayload> FrozenRegistryPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistrySyncCompletedPayload> FrozenRegistrySyncCompletedPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistrySyncStartPayload> FrozenRegistrySyncStartPayload.STREAM_CODEC
KnownRegistryDataMapsPayload.KnownDataMap.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, KnownRegistryDataMapsPayload> KnownRegistryDataMapsPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, KnownRegistryDataMapsReplyPayload> KnownRegistryDataMapsReplyPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, MinecraftRegisterPayload> MinecraftRegisterPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, MinecraftUnregisterPayload> MinecraftUnregisterPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkComponent> ModdedNetworkComponent.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkPayload> ModdedNetworkPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkQueryComponent> ModdedNetworkQueryComponent.STREAM_CODEC
ModdedNetworkQueryPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkSetupFailedPayload> ModdedNetworkSetupFailedPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, SplitPacketPayload> SplitPacketPayload.STREAM_CODEC
Methods in net.neoforged.neoforge.network.payload with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate static Set
<ResourceLocation> DinnerboneProtocolUtils.readChannels
(FriendlyByteBuf buf) Reads a set of channels from the buffer.private static void
DinnerboneProtocolUtils.writeChannels
(FriendlyByteBuf buf, Set<ResourceLocation> 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 TypeFieldDescriptionprivate static final Map
<ResourceLocation, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADS
Map of NeoForge payloads that may be sent before channel negotiation.private final StreamCodec
<FriendlyByteBuf, T> ModdedConfigurationPayloadRegistration.reader
The field for thereader
record component.static final StreamCodec
<FriendlyByteBuf, NetworkChannel> NetworkChannel.STREAM_CODEC
NetworkPayloadSetup.STREAM_CODEC
Methods 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, IPayloadHandler<T> handler, 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, IPayloadHandler<T> handler, 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
(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodec
for a non-vanilla payload.ModdedConfigurationPayloadRegistration.reader()
Returns the value of thereader
record 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> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a client-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToServer
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a server-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, 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> reader, 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
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistration
record 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) void
EnumArgument.Info.serializeToNetwork
(EnumArgument.Info<T>.Template template, FriendlyByteBuf buffer)