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 pBuffer) static CriterionProgress
CriterionProgress.fromNetwork
(FriendlyByteBuf pBuffer) void
AdvancementProgress.serializeToNetwork
(FriendlyByteBuf pBuffer) void
CriterionProgress.serializeToNetwork
(FriendlyByteBuf pBuffer) void
AdvancementRequirements.write
(FriendlyByteBuf pBuffer) 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 pX, int pZ, FriendlyByteBuf pBuffer) ClientChunkCache.replaceWithPacketData
(int pX, int pZ, FriendlyByteBuf pReadBuffer, Map<Heightmap.Types, long[]> pHeightmaps, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pConsumer) -
Uses of FriendlyByteBuf in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionEntityArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_231282_) ResourceArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_248958_) ResourceKeyArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_233289_) ResourceOrTagArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_250205_) ResourceOrTagKeyArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_250656_) ResourceSelectorArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_397826_) ScoreHolderArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_233480_) TimeArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_265324_) void
EntityArgument.Info.serializeToNetwork
(EntityArgument.Info.Template p_231271_, FriendlyByteBuf p_231272_) void
ResourceArgument.Info.serializeToNetwork
(ResourceArgument.Info<T>.Template p_250470_, FriendlyByteBuf p_248658_) void
ResourceKeyArgument.Info.serializeToNetwork
(ResourceKeyArgument.Info<T>.Template p_233278_, FriendlyByteBuf p_233279_) void
ResourceOrTagArgument.Info.serializeToNetwork
(ResourceOrTagArgument.Info<T>.Template p_250419_, FriendlyByteBuf p_249726_) void
ResourceOrTagKeyArgument.Info.serializeToNetwork
(ResourceOrTagKeyArgument.Info<T>.Template p_252211_, FriendlyByteBuf p_248784_) void
ResourceSelectorArgument.Info.serializeToNetwork
(ResourceSelectorArgument.Info<T>.Template p_397335_, FriendlyByteBuf p_397499_) void
ScoreHolderArgument.Info.serializeToNetwork
(ScoreHolderArgument.Info.Template p_233469_, FriendlyByteBuf p_233470_) void
TimeArgument.Info.serializeToNetwork
(TimeArgument.Info.Template p_265434_, FriendlyByteBuf p_265320_) void
ArgumentSignatures.Entry.write
(FriendlyByteBuf pBuffer) void
ArgumentSignatures.write
(FriendlyByteBuf pBuffer) 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 pBuffer) SingletonArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf p_235457_) void
ArgumentTypeInfo.serializeToNetwork
(T pTemplate, FriendlyByteBuf pBuffer) void
SingletonArgumentInfo.serializeToNetwork
(SingletonArgumentInfo<A>.Template p_235447_, FriendlyByteBuf p_235448_) -
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 p_235488_) FloatArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf p_235521_) IntegerArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf p_235554_) LongArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf p_235587_) StringArgumentSerializer.deserializeFromNetwork
(FriendlyByteBuf p_235619_) void
DoubleArgumentInfo.serializeToNetwork
(DoubleArgumentInfo.Template p_235485_, FriendlyByteBuf p_235486_) void
FloatArgumentInfo.serializeToNetwork
(FloatArgumentInfo.Template p_235518_, FriendlyByteBuf p_235519_) void
IntegerArgumentInfo.serializeToNetwork
(IntegerArgumentInfo.Template p_235551_, FriendlyByteBuf p_235552_) void
LongArgumentInfo.serializeToNetwork
(LongArgumentInfo.Template p_235584_, FriendlyByteBuf p_235585_) void
StringArgumentSerializer.serializeToNetwork
(StringArgumentSerializer.Template p_235616_, FriendlyByteBuf p_235617_) -
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 pNewCapacity) FriendlyByteBuf.clear()
FriendlyByteBuf.discardReadBytes()
FriendlyByteBuf.discardSomeReadBytes()
FriendlyByteBuf.ensureWritable
(int pSize) FriendlyByteBuf.getBytes
(int pIndex, byte[] pDestination) FriendlyByteBuf.getBytes
(int pIndex, byte[] pDestination, int pDestinationIndex, int pLength) FriendlyByteBuf.getBytes
(int pIndex, io.netty.buffer.ByteBuf pDestination) FriendlyByteBuf.getBytes
(int pIndex, io.netty.buffer.ByteBuf pDestination, int pLength) FriendlyByteBuf.getBytes
(int pIndex, io.netty.buffer.ByteBuf pDestination, int pDestinationIndex, int pLength) FriendlyByteBuf.getBytes
(int pIndex, OutputStream pOut, int pLength) FriendlyByteBuf.getBytes
(int pIndex, ByteBuffer pDestination) FriendlyByteBuf.markReaderIndex()
FriendlyByteBuf.markWriterIndex()
FriendlyByteBuf.readBytes
(byte[] pDestination) FriendlyByteBuf.readBytes
(byte[] pDestination, int pDestinationIndex, int pLength) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf pDestination) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf pDestination, int pLength) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf pDestination, int pDestinationIndex, int pLength) FriendlyByteBuf.readBytes
(OutputStream pOut, int pLength) FriendlyByteBuf.readBytes
(ByteBuffer pDestination) FriendlyByteBuf.readerIndex
(int pReaderIndex) FriendlyByteBuf.resetReaderIndex()
FriendlyByteBuf.resetWriterIndex()
FriendlyByteBuf.retain()
FriendlyByteBuf.retain
(int pIncrement) FriendlyByteBuf.setBoolean
(int pIndex, boolean pValue) FriendlyByteBuf.setByte
(int pIndex, int pValue) FriendlyByteBuf.setBytes
(int pIndex, byte[] pSource) FriendlyByteBuf.setBytes
(int pIndex, byte[] pSource, int pSourceIndex, int pLength) FriendlyByteBuf.setBytes
(int pIndex, io.netty.buffer.ByteBuf pSource) FriendlyByteBuf.setBytes
(int pIndex, io.netty.buffer.ByteBuf pSource, int pLength) FriendlyByteBuf.setBytes
(int pIndex, io.netty.buffer.ByteBuf pSource, int pSourceIndex, int pLength) FriendlyByteBuf.setBytes
(int pIndex, ByteBuffer pSource) FriendlyByteBuf.setChar
(int pIndex, int pValue) FriendlyByteBuf.setDouble
(int pIndex, double pValue) FriendlyByteBuf.setFloat
(int pIndex, float pValue) FriendlyByteBuf.setIndex
(int pReaderIndex, int pWriterIndex) FriendlyByteBuf.setInt
(int pIndex, int pValue) FriendlyByteBuf.setIntLE
(int pIndex, int pValue) FriendlyByteBuf.setLong
(int pIndex, long pValue) FriendlyByteBuf.setLongLE
(int pIndex, long pValue) FriendlyByteBuf.setMedium
(int pIndex, int pValue) FriendlyByteBuf.setMediumLE
(int pIndex, int pValue) FriendlyByteBuf.setShort
(int pIndex, int pValue) FriendlyByteBuf.setShortLE
(int pIndex, int pValue) FriendlyByteBuf.setZero
(int pIndex, int pLength) FriendlyByteBuf.skipBytes
(int pLength) FriendlyByteBuf.touch()
FriendlyByteBuf.writeBlockPos
(BlockPos pPos) Writes a BlockPos encoded as a long to the buffer.FriendlyByteBuf.writeBoolean
(boolean pValue) <T> FriendlyByteBuf
FriendlyByteBuf.writeById
(ToIntFunction<T> pIdGetter, T pValue) FriendlyByteBuf.writeByte
(int pValue) FriendlyByteBuf.writeByteArray
(byte[] pArray) FriendlyByteBuf.writeBytes
(byte[] pSource) FriendlyByteBuf.writeBytes
(byte[] pSource, int pSourceIndex, int pLength) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf pSource) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf pSource, int pLength) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf pSource, int pSourceIndex, int pLength) FriendlyByteBuf.writeBytes
(ByteBuffer pSource) FriendlyByteBuf.writeChar
(int pValue) FriendlyByteBuf.writeChunkPos
(ChunkPos pChunkPos) Writes a ChunkPos encoded as a long to the buffer.Write a timestamp as milliseconds since the unix epoch.FriendlyByteBuf.writeDouble
(double pValue) Writes an enum of the given type T using the ordinal encoded as a VarInt to the buffer.FriendlyByteBuf.writeFixedSizeLongArray
(long[] pArray) FriendlyByteBuf.writeFloat
(float pValue) FriendlyByteBuf.writeInt
(int pValue) FriendlyByteBuf.writeIntLE
(int pValue) FriendlyByteBuf.writeLong
(long pValue) FriendlyByteBuf.writeLongArray
(long[] pArray) Writes an array of longs to the buffer, prefixed by the length of the array (as a VarInt).FriendlyByteBuf.writeLongLE
(long pValue) FriendlyByteBuf.writeMedium
(int pValue) FriendlyByteBuf.writeMediumLE
(int pValue) FriendlyByteBuf.writePublicKey
(PublicKey pPublicKey) FriendlyByteBuf.writeResourceLocation
(ResourceLocation pResourceLocation) Write a ResourceLocation using its String representation.FriendlyByteBuf.writerIndex
(int pWriterIndex) FriendlyByteBuf.writeSectionPos
(SectionPos pSectionPos) Writes a SectionPos encoded as a long to the buffer.FriendlyByteBuf.writeShort
(int pValue) FriendlyByteBuf.writeShortLE
(int pValue) 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 pInput) Writes a compressed int to the buffer.FriendlyByteBuf.writeVarIntArray
(int[] pArray) Writes an array of VarInts to the buffer, prefixed by the length of the array (as a VarInt).FriendlyByteBuf.writeVarLong
(long pValue) Writes a compressed long to the buffer.<T> FriendlyByteBuf
FriendlyByteBuf.writeWithCodec
(com.mojang.serialization.DynamicOps<Tag> pOps, com.mojang.serialization.Codec<T> pCodec, T pValue) Deprecated.FriendlyByteBuf.writeZero
(int pLength) Method parameters in net.minecraft.network with type arguments of type FriendlyByteBufModifier and TypeMethodDescription<T,
C extends Collection<T>>
CFriendlyByteBuf.readCollection
(IntFunction<C> pCollectionFactory, StreamDecoder<? super FriendlyByteBuf, T> pElementReader) <T> List
<T> FriendlyByteBuf.readList
(StreamDecoder<? super FriendlyByteBuf, T> pElementReader) <K,
V, M extends Map<K, V>>
MFriendlyByteBuf.readMap
(IntFunction<M> pMapFactory, StreamDecoder<? super FriendlyByteBuf, K> pKeyReader, StreamDecoder<? super FriendlyByteBuf, V> pValueReader) <K,
V> Map <K, V> FriendlyByteBuf.readMap
(StreamDecoder<? super FriendlyByteBuf, K> pKeyReader, StreamDecoder<? super FriendlyByteBuf, V> pValueReader) <T> T
FriendlyByteBuf.readNullable
(StreamDecoder<? super FriendlyByteBuf, T> pReader) <T> Optional
<T> FriendlyByteBuf.readOptional
(StreamDecoder<? super FriendlyByteBuf, T> pReader) void
FriendlyByteBuf.readWithCount
(Consumer<FriendlyByteBuf> pReader) Read a VarInt N from this buffer, then reads N values by callingreader
.<T> void
FriendlyByteBuf.writeCollection
(Collection<T> pCollection, StreamEncoder<? super FriendlyByteBuf, T> pElementWriter) <K,
V> void FriendlyByteBuf.writeMap
(Map<K, V> pMap, StreamEncoder<? super FriendlyByteBuf, K> pKeyWriter, StreamEncoder<? super FriendlyByteBuf, V> pValueWriter) <T> void
FriendlyByteBuf.writeNullable
(T pValue, StreamEncoder<? super FriendlyByteBuf, T> pWriter) <T> void
FriendlyByteBuf.writeOptional
(Optional<T> pOptional, StreamEncoder<? super FriendlyByteBuf, T> pWriter) -
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 pBuffer) static MessageSignature.Packed
MessageSignature.Packed.read
(FriendlyByteBuf pBuffer) static MessageSignature
MessageSignature.read
(FriendlyByteBuf pBuffer) static RemoteChatSession.Data
RemoteChatSession.Data.read
(FriendlyByteBuf pBuffer) static void
FilterMask.write
(FriendlyByteBuf pBuffer, FilterMask pMask) void
LastSeenMessages.Packed.write
(FriendlyByteBuf pBuffer) void
LastSeenMessages.Update.write
(FriendlyByteBuf pBuffer) static void
MessageSignature.Packed.write
(FriendlyByteBuf pBuffer, MessageSignature.Packed pPacked) static void
MessageSignature.write
(FriendlyByteBuf pBuffer, MessageSignature pSignature) static void
RemoteChatSession.Data.write
(FriendlyByteBuf pBuffer, RemoteChatSession.Data pData) void
SignedMessageBody.Packed.write
(FriendlyByteBuf pBuffer) 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 pBuffer) private void
ClientboundPingPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundResourcePackPopPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundStoreCookiePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundTransferPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundUpdateTagsPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundClientInformationPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundKeepAlivePacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundPongPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundResourcePackPacket.write
(FriendlyByteBuf pBuffer) Constructors in net.minecraft.network.protocol.common with parameters of type FriendlyByteBufModifierConstructorDescriptionprivate
private
ClientboundPingPacket
(FriendlyByteBuf pBuffer) private
ClientboundResourcePackPopPacket
(FriendlyByteBuf p_314659_) private
ClientboundStoreCookiePacket
(FriendlyByteBuf p_320774_) private
ClientboundTransferPacket
(FriendlyByteBuf p_320164_) private
private
private
private
ServerboundPongPacket
(FriendlyByteBuf pBuffer) 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, RedstoneWireOrientationsDebugPayload> RedstoneWireOrientationsDebugPayload.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> pFallbackProvider, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> pTypeAndCodecs, ConnectionProtocol protocol, PacketFlow packetFlow) static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec
(ResourceLocation pId, int pMaxSize) Methods in net.minecraft.network.protocol.common.custom with parameters of type FriendlyByteBufModifier and TypeMethodDescription(package private) static BoundingBox
StructuresDebugPayload.readBoundingBox
(FriendlyByteBuf pBuffer) void
BeeDebugPayload.BeeInfo.write
(FriendlyByteBuf pBuffer) private void
BeeDebugPayload.write
(FriendlyByteBuf pBuffer) void
BrainDebugPayload.BrainDump.write
(FriendlyByteBuf pBuffer) private void
BrainDebugPayload.write
(FriendlyByteBuf pBuffer) private void
BrandPayload.write
(FriendlyByteBuf pBuffer) void
BreezeDebugPayload.BreezeInfo.write
(FriendlyByteBuf pBuffer) private void
BreezeDebugPayload.write
(FriendlyByteBuf pBuffer) private void
GameEventDebugPayload.write
(FriendlyByteBuf pBuffer) private void
GameTestAddMarkerDebugPayload.write
(FriendlyByteBuf pBuffer) private void
GameTestClearMarkersDebugPayload.write
(FriendlyByteBuf pBuffer) void
GoalDebugPayload.DebugGoal.write
(FriendlyByteBuf pBuffer) private void
GoalDebugPayload.write
(FriendlyByteBuf pBuffer) void
HiveDebugPayload.HiveInfo.write
(FriendlyByteBuf pBuffer) private void
HiveDebugPayload.write
(FriendlyByteBuf pBuffer) private void
NeighborUpdatesDebugPayload.write
(FriendlyByteBuf pBuffer) private void
PathfindingDebugPayload.write
(FriendlyByteBuf pBuffer) private void
PoiAddedDebugPayload.write
(FriendlyByteBuf pBuffer) private void
PoiRemovedDebugPayload.write
(FriendlyByteBuf pBuffer) private void
PoiTicketCountDebugPayload.write
(FriendlyByteBuf pBuffer) private void
RaidsDebugPayload.write
(FriendlyByteBuf pBuffer) void
StructuresDebugPayload.PieceInfo.write
(FriendlyByteBuf pBuffer) private void
StructuresDebugPayload.write
(FriendlyByteBuf pBuffer) private void
VillageSectionsDebugPayload.write
(FriendlyByteBuf pBuffer) private void
WorldGenAttemptDebugPayload.write
(FriendlyByteBuf pBuffer) (package private) static void
StructuresDebugPayload.writeBoundingBox
(FriendlyByteBuf pBuffer, BoundingBox pBoundingBox) 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 pBuffer) 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 pBuffer) private void
ServerboundCookieResponsePacket.write
(FriendlyByteBuf pBuffer) 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, 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, ClientboundEntityPositionSyncPacket> ClientboundEntityPositionSyncPacket.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, ClientboundMoveMinecartPacket> ClientboundMoveMinecartPacket.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, 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, ClientboundPlayerRotationPacket> ClientboundPlayerRotationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundProjectilePowerPacket> ClientboundProjectilePowerPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRecipeBookSettingsPacket> ClientboundRecipeBookSettingsPacket.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, 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, 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, ServerboundSelectBundleItemPacket> ServerboundSelectBundleItemPacket.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, ServerboundSetTestBlockPacket> ServerboundSetTestBlockPacket.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 pBuffer, LevelChunk pChunk) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf pBuffer, LevelChunk pChunk) private static ClientboundCommandsPacket.NodeStub
ClientboundCommandsPacket.read
(FriendlyByteBuf pBuffer, byte pFlags) private static ClientboundMoveEntityPacket.Pos
ClientboundMoveEntityPacket.Pos.read
(FriendlyByteBuf pBuffer) private static ClientboundMoveEntityPacket.PosRot
ClientboundMoveEntityPacket.PosRot.read
(FriendlyByteBuf pBuffer) private static ClientboundMoveEntityPacket.Rot
ClientboundMoveEntityPacket.Rot.read
(FriendlyByteBuf pBuffer) private static ServerboundMovePlayerPacket.Pos
ServerboundMovePlayerPacket.Pos.read
(FriendlyByteBuf pBuffer) private static ServerboundMovePlayerPacket.PosRot
ServerboundMovePlayerPacket.PosRot.read
(FriendlyByteBuf pBuffer) private static ServerboundMovePlayerPacket.Rot
ServerboundMovePlayerPacket.Rot.read
(FriendlyByteBuf pBuffer) private static ServerboundMovePlayerPacket.StatusOnly
ServerboundMovePlayerPacket.StatusOnly.read
(FriendlyByteBuf pBuffer) private static ClientboundCommandsPacket.Entry
ClientboundCommandsPacket.readNode
(FriendlyByteBuf pBuffer) private static int
ClientboundDamageEventPacket.readOptionalEntityId
(FriendlyByteBuf pBuffer) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf pBuffer, ArgumentTypeInfo.Template<A> pArgumentInfoTemplate) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentTypeInfo.Template<A>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf pBuffer, ArgumentTypeInfo<A, T> pArgumentInfo, ArgumentTypeInfo.Template<A> pArgumentInfoTemplate) private void
ClientboundAnimatePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundBlockChangedAckPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundBlockDestructionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundChangeDifficultyPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundChunkBatchFinishedPacket.write
(FriendlyByteBuf pBuffer) void
ClientboundChunksBiomesPacket.ChunkBiomeData.write
(FriendlyByteBuf pBuffer) private void
ClientboundChunksBiomesPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundClearTitlesPacket.write
(FriendlyByteBuf pBuffer) void
ClientboundCommandsPacket.ArgumentNodeStub.write
(FriendlyByteBuf p_237658_) void
ClientboundCommandsPacket.Entry.write
(FriendlyByteBuf pBuffer) void
ClientboundCommandsPacket.LiteralNodeStub.write
(FriendlyByteBuf p_237684_) void
ClientboundCommandsPacket.NodeStub.write
(FriendlyByteBuf pBuffer) private void
ClientboundCommandsPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundContainerClosePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundContainerSetDataPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundCustomChatCompletionsPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundDebugSamplePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundDeleteChatPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundEntityEventPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundForgetLevelChunkPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundGameEventPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundHorseScreenOpenPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundHurtAnimationPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundInitializeBorderPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundLevelEventPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundLightUpdatePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.void
ClientboundLightUpdatePacketData.write
(FriendlyByteBuf pBuffer) private void
ClientboundMoveEntityPacket.Pos.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundMoveEntityPacket.PosRot.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundMoveEntityPacket.Rot.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundOpenBookPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundOpenSignEditorPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundPlayerAbilitiesPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundPlayerCombatEndPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundPlayerInfoRemovePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundPlayerLookAtPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundProjectilePowerPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundRemoveEntitiesPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundResetScorePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundRotateHeadPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSectionBlocksUpdatePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSelectAdvancementsTabPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetBorderCenterPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetBorderLerpSizePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetBorderSizePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetBorderWarningDelayPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetBorderWarningDistancePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetCameraPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetChunkCacheCenterPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetChunkCacheRadiusPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetDefaultSpawnPositionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetDisplayObjectivePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetEntityLinkPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetEntityMotionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetExperiencePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetHealthPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetPassengersPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundSetSimulationDistancePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundSetTitlesAnimationPacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundStopSoundPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundTagQueryPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundTakeItemEntityPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundTickingStatePacket.write
(FriendlyByteBuf pBuffer) private void
ClientboundTickingStepPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundAcceptTeleportationPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundBlockEntityTagQueryPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundChangeDifficultyPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundChatAckPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundChatCommandPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundChatCommandSignedPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundChatPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundChatSessionUpdatePacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundChunkBatchReceivedPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundClientCommandPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundCommandSuggestionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundContainerClosePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundContainerSlotStateChangedPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundDebugSampleSubscriptionPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundEntityTagQueryPacket.write
(FriendlyByteBuf pBuffer) void
ServerboundInteractPacket.Action.write
(FriendlyByteBuf pBuffer) void
ServerboundInteractPacket.InteractionAction.write
(FriendlyByteBuf p_179653_) void
ServerboundInteractPacket.InteractionAtLocationAction.write
(FriendlyByteBuf p_179665_) private void
ServerboundInteractPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundJigsawGeneratePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundLockDifficultyPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.Pos.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.PosRot.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.Rot.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundMovePlayerPacket.StatusOnly.write
(FriendlyByteBuf pBuffer) private void
ServerboundPaddleBoatPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerAbilitiesPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerActionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundPlayerCommandPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundRecipeBookChangeSettingsPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundRenameItemPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSeenAdvancementsPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSelectBundleItemPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundSelectTradePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSetCarriedItemPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSetCommandBlockPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSetCommandMinecartPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSetJigsawBlockPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSetStructureBlockPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSignUpdatePacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundSwingPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundTeleportToEntityPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundUseItemOnPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundUseItemPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private static void
ClientboundDamageEventPacket.writeOptionalEntityId
(FriendlyByteBuf pBuffer, int pOptionalEntityId) Constructors in net.minecraft.network.protocol.game with parameters of type FriendlyByteBufModifierConstructorDescriptionChunkBiomeData
(FriendlyByteBuf p_275255_) private
ClientboundAnimatePacket
(FriendlyByteBuf pBuffer) private
ClientboundBlockChangedAckPacket
(FriendlyByteBuf p_237582_) private
private
private
private
ClientboundChunksBiomesPacket
(FriendlyByteBuf p_275221_) private
private
ClientboundCommandsPacket
(FriendlyByteBuf pBuffer) 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 pBuffer, int pX, int pZ) private
ClientboundOpenBookPacket
(FriendlyByteBuf pBuffer) private
private
private
private
ClientboundPlayerInfoRemovePacket
(FriendlyByteBuf p_248744_) 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
ClientboundTagQueryPacket
(FriendlyByteBuf pBuffer) private
private
ClientboundTickingStatePacket
(FriendlyByteBuf p_309182_) private
ClientboundTickingStepPacket
(FriendlyByteBuf p_309129_) private
InteractionAction
(FriendlyByteBuf pBuffer) 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
ServerboundInteractPacket
(FriendlyByteBuf pBuffer) private
private
private
private
private
private
private
private
private
private
ServerboundSelectBundleItemPacket
(FriendlyByteBuf p_365065_) private
private
private
private
private
private
private
private
ServerboundSwingPacket
(FriendlyByteBuf pBuffer) private
private
private
ServerboundUseItemPacket
(FriendlyByteBuf pBuffer) 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 TypeFieldDescriptionHandshakeProtocols.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 pBuffer) 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_TEMPLATE
static final SimpleUnboundProtocol
<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 pBuffer) private static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation pId, FriendlyByteBuf pBuffer) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readPayload
(int pTransactionId, FriendlyByteBuf pBuffer) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation pId, FriendlyByteBuf pBuffer) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readUnknownPayload
(FriendlyByteBuf pBuffer) private void
ClientboundCustomQueryPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundHelloPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundLoginCompressionPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ClientboundLoginDisconnectPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundCustomQueryAnswerPacket.write
(FriendlyByteBuf pBuffer) private void
ServerboundHelloPacket.write
(FriendlyByteBuf pBuffer) Writes the raw packet data to the data stream.private void
ServerboundKeyPacket.write
(FriendlyByteBuf pBuffer) 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
ClientboundHelloPacket
(FriendlyByteBuf pBuffer) private
private
private
ServerboundHelloPacket
(FriendlyByteBuf p_179827_) private
ServerboundKeyPacket
(FriendlyByteBuf pBuffer) -
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 pBuffer) void
CustomQueryPayload.write
(FriendlyByteBuf pBuffer) 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 pBuffer) 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_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 pBuffer) 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
Fields in net.minecraft.stats with type parameters of type FriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, RecipeBookSettings> RecipeBookSettings.STREAM_CODEC
Methods in net.minecraft.stats with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionprivate static RecipeBookSettings
RecipeBookSettings.read
(FriendlyByteBuf pBuffer) private void
RecipeBookSettings.write
(FriendlyByteBuf pBuffer) -
Uses of FriendlyByteBuf in net.minecraft.tags
Methods in net.minecraft.tags with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionTagNetworkSerialization.NetworkPayload.read
(FriendlyByteBuf pBuffer) void
TagNetworkSerialization.NetworkPayload.write
(FriendlyByteBuf pBuffer) -
Uses of FriendlyByteBuf in net.minecraft.util
Methods in net.minecraft.util with parameters of type FriendlyByteBufModifier and TypeMethodDescriptionstatic void
Crypt.SaltSignaturePair.write
(FriendlyByteBuf pBuffer, Crypt.SaltSignaturePair pSignaturePair) Constructors in net.minecraft.util 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_CODEC
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 p_62654_) void
HashMapPalette.read
(FriendlyByteBuf p_62679_) void
LevelChunkSection.read
(FriendlyByteBuf pBuffer) void
LinearPalette.read
(FriendlyByteBuf p_63046_) void
Palette.read
(FriendlyByteBuf pBuffer) void
PalettedContainer.read
(FriendlyByteBuf pBuffer) void
SingleValuePalette.read
(FriendlyByteBuf p_188223_) void
LevelChunkSection.readBiomes
(FriendlyByteBuf pBuffer) void
LevelChunk.replaceBiomes
(FriendlyByteBuf pBuffer) void
LevelChunk.replaceWithPacketData
(FriendlyByteBuf pBuffer, Map<Heightmap.Types, long[]> pHeightmaps, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> pOutputTagConsumer) void
GlobalPalette.write
(FriendlyByteBuf p_62656_) void
HashMapPalette.write
(FriendlyByteBuf p_62684_) void
LevelChunkSection.write
(FriendlyByteBuf pBuffer) void
LinearPalette.write
(FriendlyByteBuf p_63049_) void
Palette.write
(FriendlyByteBuf pBuffer) void
PalettedContainer.Data.write
(FriendlyByteBuf pBuffer) void
PalettedContainer.write
(FriendlyByteBuf pBuffer) void
PalettedContainerRO.write
(FriendlyByteBuf pBuffer) void
SingleValuePalette.write
(FriendlyByteBuf p_188226_) -
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 pBuffer) static Path
Path.createFromStream
(FriendlyByteBuf pBuf) static Target
Target.createFromStream
(FriendlyByteBuf pBuffer) static Path.DebugData
Path.DebugData.read
(FriendlyByteBuf pBuffer) protected static void
Node.readContents
(FriendlyByteBuf pBuffer, Node pNode) (package private) static Node[]
Path.readNodeArray
(FriendlyByteBuf pBuffer) void
Path.DebugData.write
(FriendlyByteBuf pBuffer) (package private) static void
Path.writeNodeArray
(FriendlyByteBuf pBuffer, Node[] pNodeArray) void
Node.writeToStream
(FriendlyByteBuf pBuffer) void
Path.writeToStream
(FriendlyByteBuf pBuffer) -
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)