Uses of Class
net.minecraft.network.FriendlyByteBuf
Package
Description
-
Uses of FriendlyByteBuf in net.minecraft.advancements
Modifier and TypeMethodDescriptionstatic AdvancementProgress
AdvancementProgress.fromNetwork
(FriendlyByteBuf p_8212_) static CriterionProgress
CriterionProgress.fromNetwork
(FriendlyByteBuf p_12918_) static DisplayInfo
DisplayInfo.fromNetwork
(FriendlyByteBuf p_14989_) static Advancement
Advancement.read
(FriendlyByteBuf p_301040_) static AdvancementHolder
AdvancementHolder.read
(FriendlyByteBuf p_301204_) void
AdvancementProgress.serializeToNetwork
(FriendlyByteBuf p_8205_) void
CriterionProgress.serializeToNetwork
(FriendlyByteBuf p_12915_) void
DisplayInfo.serializeToNetwork
(FriendlyByteBuf p_14984_) void
Advancement.write
(FriendlyByteBuf p_301055_) void
AdvancementHolder.write
(FriendlyByteBuf p_300966_) void
AdvancementRequirements.write
(FriendlyByteBuf p_301190_) -
Uses of FriendlyByteBuf in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientChunkCache.replaceBiomes
(int p_275374_, int p_275226_, FriendlyByteBuf p_275745_) ClientChunkCache.replaceWithPacketData
(int p_194117_, int p_194118_, FriendlyByteBuf p_194119_, CompoundTag p_194120_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_194121_) -
Uses of FriendlyByteBuf in net.minecraft.commands.arguments
Modifier 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_) 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
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 p_241403_) void
ArgumentSignatures.write
(FriendlyByteBuf p_231062_) ModifierConstructorDescriptionArgumentSignatures
(FriendlyByteBuf p_231052_) Entry
(FriendlyByteBuf p_241305_) -
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization
Modifier and TypeMethodDescriptionArgumentTypeInfo.deserializeFromNetwork
(FriendlyByteBuf p_235377_) SingletonArgumentInfo.deserializeFromNetwork
(FriendlyByteBuf p_235457_) void
ArgumentTypeInfo.serializeToNetwork
(T p_235375_, FriendlyByteBuf p_235376_) void
SingletonArgumentInfo.serializeToNetwork
(SingletonArgumentInfo<A>.Template p_235447_, FriendlyByteBuf p_235448_) -
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization.brigadier
Modifier 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.core.particles
Modifier and TypeMethodDescriptionParticleOptions.Deserializer.fromNetwork
(ParticleType<T> p_123735_, FriendlyByteBuf p_123736_) Deprecated.static org.joml.Vector3f
DustParticleOptionsBase.readVector3f
(FriendlyByteBuf p_254279_) void
BlockParticleOption.writeToNetwork
(FriendlyByteBuf p_123640_) void
DustColorTransitionOptions.writeToNetwork
(FriendlyByteBuf p_175767_) void
DustParticleOptionsBase.writeToNetwork
(FriendlyByteBuf p_175809_) void
ItemParticleOption.writeToNetwork
(FriendlyByteBuf p_123716_) void
ParticleOptions.writeToNetwork
(FriendlyByteBuf p_123732_) void
SculkChargeParticleOptions.writeToNetwork
(FriendlyByteBuf p_235924_) void
ShriekParticleOption.writeToNetwork
(FriendlyByteBuf p_235956_) void
SimpleParticleType.writeToNetwork
(FriendlyByteBuf p_123840_) void
VibrationParticleOption.writeToNetwork
(FriendlyByteBuf p_175854_) -
Uses of FriendlyByteBuf in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final List<BiFunction<FriendlyByteBuf,
io.netty.channel.ChannelHandlerContext, ? extends Packet<? super T>>> ConnectionProtocol.PacketSet.contextualIdToDeserializer
private final List<Function<FriendlyByteBuf,
? extends Packet<? super T>>> ConnectionProtocol.PacketSet.idToDeserializer
Deprecated.Modifier and TypeMethodDescriptionFriendlyByteBuf.capacity
(int p_295325_) FriendlyByteBuf.clear()
FriendlyByteBuf.discardReadBytes()
FriendlyByteBuf.discardSomeReadBytes()
FriendlyByteBuf.ensureWritable
(int p_294903_) FriendlyByteBuf.getBytes
(int p_294557_, byte[] p_295660_) FriendlyByteBuf.getBytes
(int p_295128_, byte[] p_296337_, int p_294659_, int p_294779_) FriendlyByteBuf.getBytes
(int p_296115_, io.netty.buffer.ByteBuf p_295805_) FriendlyByteBuf.getBytes
(int p_294876_, io.netty.buffer.ByteBuf p_295864_, int p_294524_) FriendlyByteBuf.getBytes
(int p_294107_, io.netty.buffer.ByteBuf p_296448_, int p_295017_, int p_294733_) FriendlyByteBuf.getBytes
(int p_294277_, OutputStream p_296069_, int p_296395_) FriendlyByteBuf.getBytes
(int p_296377_, ByteBuffer p_295139_) FriendlyByteBuf.markReaderIndex()
FriendlyByteBuf.markWriterIndex()
FriendlyByteBuf.readBytes
(byte[] p_295557_) FriendlyByteBuf.readBytes
(byte[] p_294152_, int p_294331_, int p_295481_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_296080_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_296068_, int p_295259_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_295701_, int p_294970_, int p_294610_) FriendlyByteBuf.readBytes
(OutputStream p_296425_, int p_295786_) FriendlyByteBuf.readBytes
(ByteBuffer p_294641_) FriendlyByteBuf.readerIndex
(int p_295519_) FriendlyByteBuf.resetReaderIndex()
FriendlyByteBuf.resetWriterIndex()
FriendlyByteBuf.retain()
FriendlyByteBuf.retain
(int p_294685_) FriendlyByteBuf.setBoolean
(int p_295254_, boolean p_295072_) FriendlyByteBuf.setByte
(int p_294776_, int p_295119_) FriendlyByteBuf.setBytes
(int p_295696_, byte[] p_295990_) FriendlyByteBuf.setBytes
(int p_295030_, byte[] p_295276_, int p_295073_, int p_295926_) FriendlyByteBuf.setBytes
(int p_294134_, io.netty.buffer.ByteBuf p_294238_) FriendlyByteBuf.setBytes
(int p_295824_, io.netty.buffer.ByteBuf p_294581_, int p_295654_) FriendlyByteBuf.setBytes
(int p_296236_, io.netty.buffer.ByteBuf p_295709_, int p_294354_, int p_295897_) FriendlyByteBuf.setBytes
(int p_294827_, ByteBuffer p_295408_) FriendlyByteBuf.setChar
(int p_295571_, int p_295295_) FriendlyByteBuf.setDouble
(int p_294330_, double p_295264_) FriendlyByteBuf.setFloat
(int p_295320_, float p_296028_) FriendlyByteBuf.setIndex
(int p_296056_, int p_295480_) FriendlyByteBuf.setInt
(int p_295466_, int p_295351_) FriendlyByteBuf.setIntLE
(int p_296041_, int p_295343_) FriendlyByteBuf.setLong
(int p_295413_, long p_294370_) FriendlyByteBuf.setLongLE
(int p_294242_, long p_295126_) FriendlyByteBuf.setMedium
(int p_295726_, int p_296052_) FriendlyByteBuf.setMediumLE
(int p_296476_, int p_295239_) FriendlyByteBuf.setShort
(int p_295713_, int p_296093_) FriendlyByteBuf.setShortLE
(int p_295748_, int p_294784_) FriendlyByteBuf.setZero
(int p_295002_, int p_295655_) FriendlyByteBuf.skipBytes
(int p_296015_) FriendlyByteBuf.touch()
FriendlyByteBuf.writeBlockPos
(BlockPos p_130065_) FriendlyByteBuf.writeBoolean
(boolean p_295682_) <T> FriendlyByteBuf
FriendlyByteBuf.writeById
(ToIntFunction<T> p_295233_, T p_294192_) FriendlyByteBuf.writeByte
(int p_295618_) FriendlyByteBuf.writeByteArray
(byte[] p_130088_) FriendlyByteBuf.writeBytes
(byte[] p_296194_) FriendlyByteBuf.writeBytes
(byte[] p_294409_, int p_295416_, int p_294380_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_295011_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_295384_, int p_295311_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_295348_, int p_294807_, int p_294737_) FriendlyByteBuf.writeBytes
(ByteBuffer p_295937_) FriendlyByteBuf.writeChar
(int p_295369_) FriendlyByteBuf.writeChunkPos
(ChunkPos p_178342_) FriendlyByteBuf.writeComponent
(Component p_130084_) FriendlyByteBuf.writeDouble
(double p_295463_) FriendlyByteBuf.writeFloat
(float p_294332_) FriendlyByteBuf.writeInt
(int p_296090_) FriendlyByteBuf.writeIntLE
(int p_294626_) FriendlyByteBuf.writeLong
(long p_295423_) FriendlyByteBuf.writeLongArray
(long[] p_130092_) FriendlyByteBuf.writeLongLE
(long p_294730_) FriendlyByteBuf.writeMedium
(int p_296189_) FriendlyByteBuf.writeMediumLE
(int p_295508_) FriendlyByteBuf.writePublicKey
(PublicKey p_236825_) FriendlyByteBuf.writeResourceLocation
(ResourceLocation p_130086_) FriendlyByteBuf.writerIndex
(int p_294907_) FriendlyByteBuf.writeSectionPos
(SectionPos p_178344_) FriendlyByteBuf.writeShort
(int p_294734_) FriendlyByteBuf.writeShortLE
(int p_295772_) FriendlyByteBuf.writeVarInt
(int p_130131_) FriendlyByteBuf.writeVarIntArray
(int[] p_130090_) FriendlyByteBuf.writeVarLong
(long p_130104_) <T> FriendlyByteBuf
FriendlyByteBuf.writeWithCodec
(com.mojang.serialization.DynamicOps<Tag> p_266702_, com.mojang.serialization.Codec<T> p_267245_, T p_266783_) Deprecated.FriendlyByteBuf.writeZero
(int p_295016_) Modifier and TypeMethodDescriptionPacket<?>
ConnectionProtocol.CodecData.createPacket
(int p_294972_, FriendlyByteBuf p_296217_) Deprecated.UseConnectionProtocol.CodecData.createPacket(int, FriendlyByteBuf, io.netty.channel.ChannelHandlerContext)
instead, which provides the channel context for creating custom packet payloads.Packet<?>
ConnectionProtocol.CodecData.createPacket
(int p_294972_, FriendlyByteBuf p_296217_, io.netty.channel.ChannelHandlerContext p_130535_) Creates a new packet from the discriminator and the buffer.Packet<?>
ConnectionProtocol.PacketSet.createPacket
(int p_178328_, FriendlyByteBuf p_178329_) Deprecated.UseConnectionProtocol.PacketSet.createPacket(int, FriendlyByteBuf, io.netty.channel.ChannelHandlerContext)
instead, which provides the channel context for creating custom packet payloads.Packet<?>
ConnectionProtocol.PacketSet.createPacket
(int p_178328_, FriendlyByteBuf p_178329_, io.netty.channel.ChannelHandlerContext p_130535_) Creates a new packet from the given discriminator and buffer.Modifier and TypeMethodDescription<P extends Packet<? super T>>
ConnectionProtocol.PacketSet<T>ConnectionProtocol.PacketSet.addContextualPacket
(Class<P> p_178331_, BiFunction<FriendlyByteBuf, io.netty.channel.ChannelHandlerContext, P> readerBuilder) <P extends Packet<? super T>>
ConnectionProtocol.PacketSet<T>ConnectionProtocol.PacketSet.addPacket
(Class<P> p_178331_, Function<FriendlyByteBuf, P> p_178332_) void
FriendlyByteBuf.readWithCount
(Consumer<FriendlyByteBuf> p_178365_) -
Uses of FriendlyByteBuf in net.minecraft.network.chat
Modifier and TypeMethodDescriptionstatic FilterMask
FilterMask.read
(FriendlyByteBuf p_243205_) static MessageSignature.Packed
MessageSignature.Packed.read
(FriendlyByteBuf p_250810_) static MessageSignature
MessageSignature.read
(FriendlyByteBuf p_249837_) static RemoteChatSession.Data
RemoteChatSession.Data.read
(FriendlyByteBuf p_252181_) void
ChatType.BoundNetwork.write
(FriendlyByteBuf p_241522_) static void
FilterMask.write
(FriendlyByteBuf p_243308_, FilterMask p_243231_) void
LastSeenMessages.Packed.write
(FriendlyByteBuf p_250725_) void
LastSeenMessages.Update.write
(FriendlyByteBuf p_242221_) static void
MessageSignature.Packed.write
(FriendlyByteBuf p_251691_, MessageSignature.Packed p_252193_) static void
MessageSignature.write
(FriendlyByteBuf p_250642_, MessageSignature p_249714_) static void
RemoteChatSession.Data.write
(FriendlyByteBuf p_248910_, RemoteChatSession.Data p_250537_) void
SignedMessageBody.Packed.write
(FriendlyByteBuf p_250247_) ModifierConstructorDescriptionBoundNetwork
(FriendlyByteBuf p_241341_) Packed
(FriendlyByteBuf p_249757_) Packed
(FriendlyByteBuf p_251620_) Update
(FriendlyByteBuf p_242184_) -
Uses of FriendlyByteBuf in net.minecraft.network.chat.numbers
Modifier and TypeMethodDescriptionNumberFormatType.readFromStream
(FriendlyByteBuf p_313914_) static NumberFormat
NumberFormatTypes.readFromStream
(FriendlyByteBuf p_313691_) void
NumberFormatType.writeToStream
(FriendlyByteBuf p_313774_, T p_313723_) static <T extends NumberFormat>
voidNumberFormatTypes.writeToStream
(FriendlyByteBuf p_313772_, T p_313732_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol
Modifier and TypeMethodDescriptionfinal void
BundleDelimiterPacket.write
(FriendlyByteBuf p_265437_) final void
BundlePacket.write
(FriendlyByteBuf p_265519_) void
Packet.write
(FriendlyByteBuf p_131343_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.common
Modifier and TypeMethodDescriptionprivate static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_294802_, FriendlyByteBuf p_294886_) Deprecated.UseClientboundCustomPayloadPacket.readPayload(ResourceLocation, FriendlyByteBuf, io.netty.channel.ChannelHandlerContext, net.minecraft.network.ConnectionProtocol)
instead, as this variant can only read vanilla payloads.private static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads the payload from the given buffer.private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_) Deprecated.UseServerboundCustomPayloadPacket.readPayload(ResourceLocation, FriendlyByteBuf, io.netty.channel.ChannelHandlerContext, net.minecraft.network.ConnectionProtocol)
instead, as this variant can only read vanilla payloads.private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads the payload from the given buffer.private static DiscardedPayload
ClientboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_295991_, FriendlyByteBuf p_295803_) private static DiscardedPayload
ServerboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_294973_, FriendlyByteBuf p_296037_) void
ClientboundCustomPayloadPacket.write
(FriendlyByteBuf p_295630_) void
ClientboundDisconnectPacket.write
(FriendlyByteBuf p_295069_) void
ClientboundKeepAlivePacket.write
(FriendlyByteBuf p_295294_) void
ClientboundPingPacket.write
(FriendlyByteBuf p_295570_) void
ClientboundResourcePackPopPacket.write
(FriendlyByteBuf p_314564_) void
ClientboundResourcePackPushPacket.write
(FriendlyByteBuf p_314511_) void
ClientboundUpdateTagsPacket.write
(FriendlyByteBuf p_295095_) void
ServerboundClientInformationPacket.write
(FriendlyByteBuf p_301974_) void
ServerboundCustomPayloadPacket.write
(FriendlyByteBuf p_295621_) void
ServerboundKeepAlivePacket.write
(FriendlyByteBuf p_295504_) void
ServerboundPongPacket.write
(FriendlyByteBuf p_295843_) void
ServerboundResourcePackPacket.write
(FriendlyByteBuf p_295360_) ModifierConstructorDescriptionClientboundCustomPayloadPacket
(FriendlyByteBuf p_295835_) Deprecated.UseClientboundCustomPayloadPacket(FriendlyByteBuf, io.netty.channel.ChannelHandlerContext, net.minecraft.network.ConnectionProtocol)
instead, as this variant can only read vanilla payloads.ClientboundCustomPayloadPacket
(FriendlyByteBuf buffer, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads a custom payload packet from the given buffer.ClientboundDisconnectPacket
(FriendlyByteBuf p_295309_) ClientboundKeepAlivePacket
(FriendlyByteBuf p_296088_) ClientboundPingPacket
(FriendlyByteBuf p_294565_) ClientboundResourcePackPopPacket
(FriendlyByteBuf p_314659_) ClientboundResourcePackPushPacket
(FriendlyByteBuf p_314581_) ClientboundUpdateTagsPacket
(FriendlyByteBuf p_296024_) ServerboundCustomPayloadPacket
(FriendlyByteBuf p_296108_) Deprecated.UseServerboundCustomPayloadPacket(FriendlyByteBuf, io.netty.channel.ChannelHandlerContext, net.minecraft.network.ConnectionProtocol)
instead, as this variant can only read vanilla payloads.ServerboundCustomPayloadPacket
(FriendlyByteBuf p_296108_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Creates a new packet with a custom payload from the network.ServerboundKeepAlivePacket
(FriendlyByteBuf p_294566_) ServerboundPongPacket
(FriendlyByteBuf p_295215_) ServerboundResourcePackPacket
(FriendlyByteBuf p_295986_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.common.custom
Modifier and TypeMethodDescription(package private) static BoundingBox
StructuresDebugPayload.readBoundingBox
(FriendlyByteBuf p_294387_) void
BeeDebugPayload.BeeInfo.write
(FriendlyByteBuf p_294673_) void
BeeDebugPayload.write
(FriendlyByteBuf p_295949_) void
BrainDebugPayload.BrainDump.write
(FriendlyByteBuf p_296077_) void
BrainDebugPayload.write
(FriendlyByteBuf p_294240_) void
BrandPayload.write
(FriendlyByteBuf p_294892_) void
BreezeDebugPayload.BreezeInfo.write
(FriendlyByteBuf p_311804_) void
BreezeDebugPayload.write
(FriendlyByteBuf p_312126_) void
CustomPacketPayload.write
(FriendlyByteBuf p_294947_) void
DiscardedPayload.write
(FriendlyByteBuf p_296394_) void
GameEventDebugPayload.write
(FriendlyByteBuf p_295680_) void
GameEventListenerDebugPayload.write
(FriendlyByteBuf p_295260_) void
GameTestAddMarkerDebugPayload.write
(FriendlyByteBuf p_294856_) void
GameTestClearMarkersDebugPayload.write
(FriendlyByteBuf p_294656_) void
GoalDebugPayload.DebugGoal.write
(FriendlyByteBuf p_294258_) void
GoalDebugPayload.write
(FriendlyByteBuf p_295543_) void
HiveDebugPayload.HiveInfo.write
(FriendlyByteBuf p_295315_) void
HiveDebugPayload.write
(FriendlyByteBuf p_294516_) void
NeighborUpdatesDebugPayload.write
(FriendlyByteBuf p_296340_) void
PathfindingDebugPayload.write
(FriendlyByteBuf p_295342_) void
PoiAddedDebugPayload.write
(FriendlyByteBuf p_295635_) void
PoiRemovedDebugPayload.write
(FriendlyByteBuf p_295470_) void
PoiTicketCountDebugPayload.write
(FriendlyByteBuf p_295476_) void
RaidsDebugPayload.write
(FriendlyByteBuf p_294905_) void
StructuresDebugPayload.PieceInfo.write
(FriendlyByteBuf p_295794_) void
StructuresDebugPayload.write
(FriendlyByteBuf p_295318_) void
VillageSectionsDebugPayload.write
(FriendlyByteBuf p_295698_) void
WorldGenAttemptDebugPayload.write
(FriendlyByteBuf p_295822_) (package private) static void
StructuresDebugPayload.writeBoundingBox
(FriendlyByteBuf p_296195_, BoundingBox p_294095_) ModifierConstructorDescriptionBeeDebugPayload
(FriendlyByteBuf p_295882_) BeeInfo
(FriendlyByteBuf p_295195_) BrainDebugPayload
(FriendlyByteBuf p_295683_) BrainDump
(FriendlyByteBuf p_294290_) BrandPayload
(FriendlyByteBuf p_296001_) BreezeDebugPayload
(FriendlyByteBuf p_312069_) BreezeInfo
(FriendlyByteBuf p_311866_) DebugGoal
(FriendlyByteBuf p_294803_) GameEventDebugPayload
(FriendlyByteBuf p_294345_) GameEventListenerDebugPayload
(FriendlyByteBuf p_294634_) GameTestAddMarkerDebugPayload
(FriendlyByteBuf p_294353_) GameTestClearMarkersDebugPayload
(FriendlyByteBuf p_294413_) GoalDebugPayload
(FriendlyByteBuf p_295257_) HiveDebugPayload
(FriendlyByteBuf p_296486_) HiveInfo
(FriendlyByteBuf p_295182_) NeighborUpdatesDebugPayload
(FriendlyByteBuf p_295153_) PathfindingDebugPayload
(FriendlyByteBuf p_296445_) PieceInfo
(FriendlyByteBuf p_294562_) PoiAddedDebugPayload
(FriendlyByteBuf p_294710_) PoiRemovedDebugPayload
(FriendlyByteBuf p_295381_) PoiTicketCountDebugPayload
(FriendlyByteBuf p_295976_) RaidsDebugPayload
(FriendlyByteBuf p_295468_) StructuresDebugPayload
(FriendlyByteBuf p_294983_) VillageSectionsDebugPayload
(FriendlyByteBuf p_295961_) WorldGenAttemptDebugPayload
(FriendlyByteBuf p_295574_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.configuration
Modifier and TypeMethodDescriptionvoid
ClientboundFinishConfigurationPacket.write
(FriendlyByteBuf p_294478_) void
ClientboundRegistryDataPacket.write
(FriendlyByteBuf p_294322_) void
ClientboundUpdateEnabledFeaturesPacket.write
(FriendlyByteBuf p_294891_) void
ServerboundFinishConfigurationPacket.write
(FriendlyByteBuf p_294657_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.game
Modifier and TypeFieldDescription(package private) final Function<FriendlyByteBuf,
ClientboundBossEventPacket.Operation> ClientboundBossEventPacket.OperationType.reader
(package private) final Function<FriendlyByteBuf,
ServerboundInteractPacket.Action> ServerboundInteractPacket.ActionType.reader
Modifier and TypeMethodDescriptionClientboundChunksBiomesPacket.ChunkBiomeData.getReadBuffer()
ClientboundLevelChunkPacketData.getReadBuffer()
Modifier and TypeMethodDescriptionstatic void
ClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData
(FriendlyByteBuf p_275626_, LevelChunk p_275570_) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf p_195669_, LevelChunk p_195670_) private static RecipeHolder<?>
ClientboundUpdateRecipesPacket.fromNetwork
(FriendlyByteBuf p_133648_) private static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> p_253940_, FriendlyByteBuf p_253901_) private static ClientboundCommandsPacket.NodeStub
ClientboundCommandsPacket.read
(FriendlyByteBuf p_237639_, byte p_237640_) ClientboundMoveEntityPacket.Pos.read
(FriendlyByteBuf p_179001_) ClientboundMoveEntityPacket.PosRot.read
(FriendlyByteBuf p_179003_) ClientboundMoveEntityPacket.Rot.read
(FriendlyByteBuf p_179005_) void
ClientboundPlayerInfoUpdatePacket.Action.Reader.read
(ClientboundPlayerInfoUpdatePacket.EntryBuilder p_251859_, FriendlyByteBuf p_249972_) ServerboundMovePlayerPacket.Pos.read
(FriendlyByteBuf p_179686_) ServerboundMovePlayerPacket.PosRot.read
(FriendlyByteBuf p_179688_) ServerboundMovePlayerPacket.Rot.read
(FriendlyByteBuf p_179690_) ServerboundMovePlayerPacket.StatusOnly.read
(FriendlyByteBuf p_179698_) private static ClientboundCommandsPacket.Entry
ClientboundCommandsPacket.readNode
(FriendlyByteBuf p_131888_) private static int
ClientboundDamageEventPacket.readOptionalEntityId
(FriendlyByteBuf p_270462_) private <T extends ParticleOptions>
TClientboundExplodePacket.readParticle
(FriendlyByteBuf p_312342_, ParticleType<T> p_312162_) private <T extends ParticleOptions>
TClientboundLevelParticlesPacket.readParticle
(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_) private static <T> Stat<T>
ClientboundAwardStatsPacket.readStatCap
(FriendlyByteBuf p_237573_, StatType<T> p_237574_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf p_237660_, ArgumentTypeInfo.Template<A> p_237661_) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentTypeInfo.Template<A>>
voidClientboundCommandsPacket.ArgumentNodeStub.serializeCap
(FriendlyByteBuf p_237663_, ArgumentTypeInfo<A, T> p_237664_, ArgumentTypeInfo.Template<A> p_237665_) static <T extends Recipe<?>>
voidClientboundUpdateRecipesPacket.toNetwork
(FriendlyByteBuf p_179470_, RecipeHolder<?> p_301050_) private static List<SynchedEntityData.DataValue<?>>
ClientboundSetEntityDataPacket.unpack
(FriendlyByteBuf p_253726_) void
ClientboundAddEntityPacket.write
(FriendlyByteBuf p_131498_) void
ClientboundAddExperienceOrbPacket.write
(FriendlyByteBuf p_131526_) void
ClientboundAnimatePacket.write
(FriendlyByteBuf p_131626_) void
ClientboundAwardStatsPacket.write
(FriendlyByteBuf p_131645_) void
ClientboundBlockChangedAckPacket.write
(FriendlyByteBuf p_237584_) void
ClientboundBlockDestructionPacket.write
(FriendlyByteBuf p_131687_) void
ClientboundBlockEntityDataPacket.write
(FriendlyByteBuf p_131706_) void
ClientboundBlockEventPacket.write
(FriendlyByteBuf p_131727_) void
ClientboundBlockUpdatePacket.write
(FriendlyByteBuf p_131748_) void
ClientboundBossEventPacket.AddOperation.write
(FriendlyByteBuf p_178680_) void
ClientboundBossEventPacket.Operation.write
(FriendlyByteBuf p_178703_) void
ClientboundBossEventPacket.UpdateNameOperation.write
(FriendlyByteBuf p_178733_) void
ClientboundBossEventPacket.UpdateProgressOperation.write
(FriendlyByteBuf p_178744_) void
ClientboundBossEventPacket.UpdatePropertiesOperation.write
(FriendlyByteBuf p_178759_) void
ClientboundBossEventPacket.UpdateStyleOperation.write
(FriendlyByteBuf p_178772_) void
ClientboundBossEventPacket.write
(FriendlyByteBuf p_131773_) void
ClientboundChangeDifficultyPacket.write
(FriendlyByteBuf p_131819_) void
ClientboundChunkBatchFinishedPacket.write
(FriendlyByteBuf p_294533_) void
ClientboundChunkBatchStartPacket.write
(FriendlyByteBuf p_295744_) void
ClientboundChunksBiomesPacket.ChunkBiomeData.write
(FriendlyByteBuf p_275467_) void
ClientboundChunksBiomesPacket.write
(FriendlyByteBuf p_275376_) void
ClientboundClearTitlesPacket.write
(FriendlyByteBuf p_178783_) void
ClientboundCommandsPacket.ArgumentNodeStub.write
(FriendlyByteBuf p_237658_) void
ClientboundCommandsPacket.Entry.write
(FriendlyByteBuf p_237675_) void
ClientboundCommandsPacket.LiteralNodeStub.write
(FriendlyByteBuf p_237684_) void
ClientboundCommandsPacket.NodeStub.write
(FriendlyByteBuf p_237696_) void
ClientboundCommandsPacket.write
(FriendlyByteBuf p_131886_) void
ClientboundCommandSuggestionsPacket.write
(FriendlyByteBuf p_131856_) void
ClientboundContainerClosePacket.write
(FriendlyByteBuf p_131941_) void
ClientboundContainerSetContentPacket.write
(FriendlyByteBuf p_131956_) void
ClientboundContainerSetDataPacket.write
(FriendlyByteBuf p_131974_) void
ClientboundContainerSetSlotPacket.write
(FriendlyByteBuf p_131993_) void
ClientboundCooldownPacket.write
(FriendlyByteBuf p_132010_) void
ClientboundCustomChatCompletionsPacket.write
(FriendlyByteBuf p_240782_) void
ClientboundDamageEventPacket.write
(FriendlyByteBuf p_270971_) void
ClientboundDeleteChatPacket.write
(FriendlyByteBuf p_241358_) void
ClientboundDisguisedChatPacket.write
(FriendlyByteBuf p_250975_) void
ClientboundEntityEventPacket.write
(FriendlyByteBuf p_132104_) void
ClientboundExplodePacket.write
(FriendlyByteBuf p_132129_) void
ClientboundForgetLevelChunkPacket.write
(FriendlyByteBuf p_132151_) void
ClientboundGameEventPacket.write
(FriendlyByteBuf p_132180_) void
ClientboundHorseScreenOpenPacket.write
(FriendlyByteBuf p_132206_) void
ClientboundHurtAnimationPacket.write
(FriendlyByteBuf p_265156_) void
ClientboundInitializeBorderPacket.write
(FriendlyByteBuf p_178881_) (package private) void
ClientboundLevelChunkPacketData.BlockEntityInfo.write
(FriendlyByteBuf p_195694_) void
ClientboundLevelChunkPacketData.write
(FriendlyByteBuf p_195667_) void
ClientboundLevelChunkWithLightPacket.write
(FriendlyByteBuf p_195712_) void
ClientboundLevelEventPacket.write
(FriendlyByteBuf p_132276_) void
ClientboundLevelParticlesPacket.write
(FriendlyByteBuf p_132313_) void
ClientboundLightUpdatePacket.write
(FriendlyByteBuf p_132351_) void
ClientboundLightUpdatePacketData.write
(FriendlyByteBuf p_195750_) void
ClientboundLoginPacket.write
(FriendlyByteBuf p_132400_) void
ClientboundMapItemDataPacket.write
(FriendlyByteBuf p_132447_) void
ClientboundMerchantOffersPacket.write
(FriendlyByteBuf p_132470_) void
ClientboundMoveEntityPacket.Pos.write
(FriendlyByteBuf p_132549_) void
ClientboundMoveEntityPacket.PosRot.write
(FriendlyByteBuf p_132564_) void
ClientboundMoveEntityPacket.Rot.write
(FriendlyByteBuf p_132576_) void
ClientboundMoveVehiclePacket.write
(FriendlyByteBuf p_132593_) void
ClientboundOpenBookPacket.write
(FriendlyByteBuf p_132610_) void
ClientboundOpenScreenPacket.write
(FriendlyByteBuf p_132627_) void
ClientboundOpenSignEditorPacket.write
(FriendlyByteBuf p_132642_) void
ClientboundPlaceGhostRecipePacket.write
(FriendlyByteBuf p_132657_) void
ClientboundPlayerAbilitiesPacket.write
(FriendlyByteBuf p_132676_) void
ClientboundPlayerChatPacket.write
(FriendlyByteBuf p_237755_) void
ClientboundPlayerCombatEndPacket.write
(FriendlyByteBuf p_179044_) void
ClientboundPlayerCombatEnterPacket.write
(FriendlyByteBuf p_179053_) void
ClientboundPlayerCombatKillPacket.write
(FriendlyByteBuf p_179072_) void
ClientboundPlayerInfoRemovePacket.write
(FriendlyByteBuf p_249263_) void
ClientboundPlayerInfoUpdatePacket.Action.Writer.write
(FriendlyByteBuf p_249775_, ClientboundPlayerInfoUpdatePacket.Entry p_249783_) void
ClientboundPlayerInfoUpdatePacket.write
(FriendlyByteBuf p_249907_) void
ClientboundPlayerLookAtPacket.write
(FriendlyByteBuf p_132795_) void
ClientboundPlayerPositionPacket.write
(FriendlyByteBuf p_132820_) void
ClientboundRecipePacket.write
(FriendlyByteBuf p_132867_) void
ClientboundRemoveEntitiesPacket.write
(FriendlyByteBuf p_182725_) void
ClientboundRemoveMobEffectPacket.write
(FriendlyByteBuf p_132911_) void
ClientboundResetScorePacket.write
(FriendlyByteBuf p_313825_) void
ClientboundRespawnPacket.write
(FriendlyByteBuf p_132954_) void
ClientboundRotateHeadPacket.write
(FriendlyByteBuf p_132979_) void
ClientboundSectionBlocksUpdatePacket.write
(FriendlyByteBuf p_133002_) void
ClientboundSelectAdvancementsTabPacket.write
(FriendlyByteBuf p_133015_) void
ClientboundServerDataPacket.write
(FriendlyByteBuf p_237805_) void
ClientboundSetActionBarTextPacket.write
(FriendlyByteBuf p_179205_) void
ClientboundSetBorderCenterPacket.write
(FriendlyByteBuf p_179218_) void
ClientboundSetBorderLerpSizePacket.write
(FriendlyByteBuf p_179233_) void
ClientboundSetBorderSizePacket.write
(FriendlyByteBuf p_179247_) void
ClientboundSetBorderWarningDelayPacket.write
(FriendlyByteBuf p_179259_) void
ClientboundSetBorderWarningDistancePacket.write
(FriendlyByteBuf p_179271_) void
ClientboundSetCameraPacket.write
(FriendlyByteBuf p_133068_) void
ClientboundSetCarriedItemPacket.write
(FriendlyByteBuf p_133081_) void
ClientboundSetChunkCacheCenterPacket.write
(FriendlyByteBuf p_133096_) void
ClientboundSetChunkCacheRadiusPacket.write
(FriendlyByteBuf p_133110_) void
ClientboundSetDefaultSpawnPositionPacket.write
(FriendlyByteBuf p_133125_) void
ClientboundSetDisplayObjectivePacket.write
(FriendlyByteBuf p_133141_) void
ClientboundSetEntityDataPacket.write
(FriendlyByteBuf p_133158_) void
ClientboundSetEntityLinkPacket.write
(FriendlyByteBuf p_133174_) void
ClientboundSetEntityMotionPacket.write
(FriendlyByteBuf p_133194_) void
ClientboundSetEquipmentPacket.write
(FriendlyByteBuf p_133212_) void
ClientboundSetExperiencePacket.write
(FriendlyByteBuf p_133230_) void
ClientboundSetHealthPacket.write
(FriendlyByteBuf p_133249_) void
ClientboundSetObjectivePacket.write
(FriendlyByteBuf p_133268_) void
ClientboundSetPassengersPacket.write
(FriendlyByteBuf p_133285_) void
ClientboundSetPlayerTeamPacket.Parameters.write
(FriendlyByteBuf p_179365_) void
ClientboundSetPlayerTeamPacket.write
(FriendlyByteBuf p_133313_) void
ClientboundSetScorePacket.write
(FriendlyByteBuf p_133341_) void
ClientboundSetSimulationDistancePacket.write
(FriendlyByteBuf p_195802_) void
ClientboundSetSubtitleTextPacket.write
(FriendlyByteBuf p_179380_) void
ClientboundSetTimePacket.write
(FriendlyByteBuf p_133360_) void
ClientboundSetTitlesAnimationPacket.write
(FriendlyByteBuf p_179410_) void
ClientboundSetTitleTextPacket.write
(FriendlyByteBuf p_179394_) void
ClientboundSoundEntityPacket.write
(FriendlyByteBuf p_133428_) void
ClientboundSoundPacket.write
(FriendlyByteBuf p_133457_) void
ClientboundStartConfigurationPacket.write
(FriendlyByteBuf p_295895_) void
ClientboundStopSoundPacket.write
(FriendlyByteBuf p_133478_) void
ClientboundSystemChatPacket.write
(FriendlyByteBuf p_237860_) void
ClientboundTabListPacket.write
(FriendlyByteBuf p_133491_) void
ClientboundTagQueryPacket.write
(FriendlyByteBuf p_133508_) void
ClientboundTakeItemEntityPacket.write
(FriendlyByteBuf p_133526_) void
ClientboundTeleportEntityPacket.write
(FriendlyByteBuf p_133547_) void
ClientboundTickingStatePacket.write
(FriendlyByteBuf p_309152_) void
ClientboundTickingStepPacket.write
(FriendlyByteBuf p_309179_) void
ClientboundUpdateAdvancementsPacket.write
(FriendlyByteBuf p_133572_) void
ClientboundUpdateAttributesPacket.write
(FriendlyByteBuf p_133590_) void
ClientboundUpdateMobEffectPacket.write
(FriendlyByteBuf p_133621_) void
ClientboundUpdateRecipesPacket.write
(FriendlyByteBuf p_133646_) void
CommonPlayerSpawnInfo.write
(FriendlyByteBuf p_294161_) void
ServerboundAcceptTeleportationPacket.write
(FriendlyByteBuf p_133797_) void
ServerboundBlockEntityTagQuery.write
(FriendlyByteBuf p_133812_) void
ServerboundChangeDifficultyPacket.write
(FriendlyByteBuf p_133826_) void
ServerboundChatAckPacket.write
(FriendlyByteBuf p_242345_) void
ServerboundChatCommandPacket.write
(FriendlyByteBuf p_237936_) void
ServerboundChatPacket.write
(FriendlyByteBuf p_133839_) void
ServerboundChatSessionUpdatePacket.write
(FriendlyByteBuf p_253690_) void
ServerboundChunkBatchReceivedPacket.write
(FriendlyByteBuf p_294492_) void
ServerboundClientCommandPacket.write
(FriendlyByteBuf p_133852_) void
ServerboundCommandSuggestionPacket.write
(FriendlyByteBuf p_133903_) void
ServerboundConfigurationAcknowledgedPacket.write
(FriendlyByteBuf p_294932_) void
ServerboundContainerButtonClickPacket.write
(FriendlyByteBuf p_133937_) void
ServerboundContainerClickPacket.write
(FriendlyByteBuf p_133961_) void
ServerboundContainerClosePacket.write
(FriendlyByteBuf p_133978_) void
ServerboundContainerSlotStateChangedPacket.write
(FriendlyByteBuf p_307330_) void
ServerboundEditBookPacket.write
(FriendlyByteBuf p_134011_) void
ServerboundEntityTagQuery.write
(FriendlyByteBuf p_134028_) void
ServerboundInteractPacket.Action.write
(FriendlyByteBuf p_179625_) void
ServerboundInteractPacket.InteractionAction.write
(FriendlyByteBuf p_179653_) void
ServerboundInteractPacket.InteractionAtLocationAction.write
(FriendlyByteBuf p_179665_) void
ServerboundInteractPacket.write
(FriendlyByteBuf p_134058_) void
ServerboundJigsawGeneratePacket.write
(FriendlyByteBuf p_134089_) void
ServerboundLockDifficultyPacket.write
(FriendlyByteBuf p_134117_) void
ServerboundMovePlayerPacket.Pos.write
(FriendlyByteBuf p_134159_) void
ServerboundMovePlayerPacket.PosRot.write
(FriendlyByteBuf p_134173_) void
ServerboundMovePlayerPacket.Rot.write
(FriendlyByteBuf p_134184_) void
ServerboundMovePlayerPacket.StatusOnly.write
(FriendlyByteBuf p_179694_) void
ServerboundMoveVehiclePacket.write
(FriendlyByteBuf p_134201_) void
ServerboundPaddleBoatPacket.write
(FriendlyByteBuf p_134220_) void
ServerboundPickItemPacket.write
(FriendlyByteBuf p_134234_) void
ServerboundPlaceRecipePacket.write
(FriendlyByteBuf p_134251_) void
ServerboundPlayerAbilitiesPacket.write
(FriendlyByteBuf p_134266_) void
ServerboundPlayerActionPacket.write
(FriendlyByteBuf p_134283_) void
ServerboundPlayerCommandPacket.write
(FriendlyByteBuf p_134319_) void
ServerboundPlayerInputPacket.write
(FriendlyByteBuf p_134357_) void
ServerboundRecipeBookChangeSettingsPacket.write
(FriendlyByteBuf p_134377_) void
ServerboundRecipeBookSeenRecipePacket.write
(FriendlyByteBuf p_134392_) void
ServerboundRenameItemPacket.write
(FriendlyByteBuf p_134405_) void
ServerboundSeenAdvancementsPacket.write
(FriendlyByteBuf p_134446_) void
ServerboundSelectTradePacket.write
(FriendlyByteBuf p_134471_) void
ServerboundSetBeaconPacket.write
(FriendlyByteBuf p_134486_) void
ServerboundSetCarriedItemPacket.write
(FriendlyByteBuf p_134500_) void
ServerboundSetCommandBlockPacket.write
(FriendlyByteBuf p_134523_) void
ServerboundSetCommandMinecartPacket.write
(FriendlyByteBuf p_134547_) void
ServerboundSetCreativeModeSlotPacket.write
(FriendlyByteBuf p_134563_) void
ServerboundSetJigsawBlockPacket.write
(FriendlyByteBuf p_134587_) void
ServerboundSetStructureBlockPacket.write
(FriendlyByteBuf p_134631_) void
ServerboundSignUpdatePacket.write
(FriendlyByteBuf p_134662_) void
ServerboundSwingPacket.write
(FriendlyByteBuf p_134676_) void
ServerboundTeleportToEntityPacket.write
(FriendlyByteBuf p_134690_) void
ServerboundUseItemOnPacket.write
(FriendlyByteBuf p_134705_) void
ServerboundUseItemPacket.write
(FriendlyByteBuf p_134719_) private static void
ClientboundDamageEventPacket.writeOptionalEntityId
(FriendlyByteBuf p_270812_, int p_270852_) void
ClientboundExplodePacket.writeParticle
(FriendlyByteBuf p_315020_, ParticleOptions p_315019_) private static <T> void
ClientboundAwardStatsPacket.writeStatCap
(FriendlyByteBuf p_237570_, Stat<T> p_237571_) ModifierConstructorDescriptionprivate
AddOperation
(FriendlyByteBuf p_178674_) private
BlockEntityInfo
(FriendlyByteBuf p_195690_) ChunkBiomeData
(FriendlyByteBuf p_275255_) ClientboundAddEntityPacket
(FriendlyByteBuf p_178562_) ClientboundAddExperienceOrbPacket
(FriendlyByteBuf p_178564_) ClientboundAnimatePacket
(FriendlyByteBuf p_178590_) ClientboundAwardStatsPacket
(FriendlyByteBuf p_178592_) ClientboundBlockChangedAckPacket
(FriendlyByteBuf p_237582_) ClientboundBlockDestructionPacket
(FriendlyByteBuf p_178606_) ClientboundBlockEntityDataPacket
(FriendlyByteBuf p_178621_) ClientboundBlockEventPacket
(FriendlyByteBuf p_178623_) ClientboundBlockUpdatePacket
(FriendlyByteBuf p_178628_) ClientboundBossEventPacket
(FriendlyByteBuf p_178638_) ClientboundChangeDifficultyPacket
(FriendlyByteBuf p_178774_) ClientboundChunkBatchStartPacket
(FriendlyByteBuf p_295580_) ClientboundChunksBiomesPacket
(FriendlyByteBuf p_275221_) ClientboundClearTitlesPacket
(FriendlyByteBuf p_178779_) ClientboundCommandsPacket
(FriendlyByteBuf p_178805_) ClientboundContainerClosePacket
(FriendlyByteBuf p_178820_) ClientboundContainerSetDataPacket
(FriendlyByteBuf p_178825_) ClientboundContainerSetSlotPacket
(FriendlyByteBuf p_178829_) ClientboundCooldownPacket
(FriendlyByteBuf p_178831_) ClientboundDamageEventPacket
(FriendlyByteBuf p_270722_) ClientboundDeleteChatPacket
(FriendlyByteBuf p_241415_) ClientboundDisguisedChatPacket
(FriendlyByteBuf p_249018_) ClientboundEntityEventPacket
(FriendlyByteBuf p_178843_) ClientboundExplodePacket
(FriendlyByteBuf p_178845_) ClientboundForgetLevelChunkPacket
(FriendlyByteBuf p_178858_) ClientboundGameEventPacket
(FriendlyByteBuf p_178865_) ClientboundHorseScreenOpenPacket
(FriendlyByteBuf p_178867_) ClientboundHurtAnimationPacket
(FriendlyByteBuf p_265181_) ClientboundInitializeBorderPacket
(FriendlyByteBuf p_178879_) ClientboundLevelChunkPacketData
(FriendlyByteBuf p_195653_, int p_195654_, int p_195655_) ClientboundLevelEventPacket
(FriendlyByteBuf p_178908_) ClientboundLevelParticlesPacket
(FriendlyByteBuf p_178910_) ClientboundLightUpdatePacket
(FriendlyByteBuf p_178918_) ClientboundLightUpdatePacketData
(FriendlyByteBuf p_195737_, int p_195738_, int p_195739_) ClientboundLoginPacket
(FriendlyByteBuf p_178960_) ClientboundMapItemDataPacket
(FriendlyByteBuf p_178976_) ClientboundMerchantOffersPacket
(FriendlyByteBuf p_178985_) ClientboundMoveVehiclePacket
(FriendlyByteBuf p_179007_) ClientboundOpenBookPacket
(FriendlyByteBuf p_179009_) ClientboundOpenScreenPacket
(FriendlyByteBuf p_179011_) ClientboundOpenSignEditorPacket
(FriendlyByteBuf p_179013_) ClientboundPlaceGhostRecipePacket
(FriendlyByteBuf p_179027_) ClientboundPlayerAbilitiesPacket
(FriendlyByteBuf p_179033_) ClientboundPlayerChatPacket
(FriendlyByteBuf p_237741_) ClientboundPlayerCombatEndPacket
(FriendlyByteBuf p_179042_) ClientboundPlayerCombatKillPacket
(FriendlyByteBuf p_179069_) ClientboundPlayerInfoRemovePacket
(FriendlyByteBuf p_248744_) ClientboundPlayerInfoUpdatePacket
(FriendlyByteBuf p_251820_) ClientboundPlayerLookAtPacket
(FriendlyByteBuf p_179146_) ClientboundPlayerPositionPacket
(FriendlyByteBuf p_179158_) ClientboundRecipePacket
(FriendlyByteBuf p_179162_) ClientboundRemoveEntitiesPacket
(FriendlyByteBuf p_182721_) ClientboundRemoveMobEffectPacket
(FriendlyByteBuf p_179177_) ClientboundResetScorePacket
(FriendlyByteBuf p_313852_) ClientboundRespawnPacket
(FriendlyByteBuf p_179191_) ClientboundRotateHeadPacket
(FriendlyByteBuf p_179193_) ClientboundServerDataPacket
(FriendlyByteBuf p_237799_) ClientboundSetActionBarTextPacket
(FriendlyByteBuf p_179201_) ClientboundSetBorderCenterPacket
(FriendlyByteBuf p_179216_) ClientboundSetBorderSizePacket
(FriendlyByteBuf p_179245_) ClientboundSetCameraPacket
(FriendlyByteBuf p_179278_) ClientboundSetCarriedItemPacket
(FriendlyByteBuf p_179280_) ClientboundSetEntityDataPacket
(FriendlyByteBuf p_179290_) ClientboundSetEntityLinkPacket
(FriendlyByteBuf p_179292_) ClientboundSetEntityMotionPacket
(FriendlyByteBuf p_179294_) ClientboundSetEquipmentPacket
(FriendlyByteBuf p_179297_) ClientboundSetExperiencePacket
(FriendlyByteBuf p_179299_) ClientboundSetHealthPacket
(FriendlyByteBuf p_179301_) ClientboundSetObjectivePacket
(FriendlyByteBuf p_179306_) ClientboundSetPassengersPacket
(FriendlyByteBuf p_179308_) ClientboundSetPlayerTeamPacket
(FriendlyByteBuf p_179323_) ClientboundSetScorePacket
(FriendlyByteBuf p_179373_) ClientboundSetSubtitleTextPacket
(FriendlyByteBuf p_179376_) ClientboundSetTimePacket
(FriendlyByteBuf p_179387_) ClientboundSetTitleTextPacket
(FriendlyByteBuf p_179390_) ClientboundSoundEntityPacket
(FriendlyByteBuf p_179419_) ClientboundSoundPacket
(FriendlyByteBuf p_179422_) ClientboundStopSoundPacket
(FriendlyByteBuf p_179426_) ClientboundSystemChatPacket
(FriendlyByteBuf p_237852_) ClientboundTabListPacket
(FriendlyByteBuf p_179428_) ClientboundTagQueryPacket
(FriendlyByteBuf p_179433_) ClientboundTakeItemEntityPacket
(FriendlyByteBuf p_179435_) ClientboundTeleportEntityPacket
(FriendlyByteBuf p_179437_) ClientboundTickingStatePacket
(FriendlyByteBuf p_309182_) ClientboundTickingStepPacket
(FriendlyByteBuf p_309129_) ClientboundUpdateAttributesPacket
(FriendlyByteBuf p_179447_) ClientboundUpdateMobEffectPacket
(FriendlyByteBuf p_179466_) ClientboundUpdateRecipesPacket
(FriendlyByteBuf p_179468_) CommonPlayerSpawnInfo
(FriendlyByteBuf p_294338_) private
InteractionAction
(FriendlyByteBuf p_179650_) private
InteractionAtLocationAction
(FriendlyByteBuf p_179662_) Parameters
(FriendlyByteBuf p_179362_) ServerboundBlockEntityTagQuery
(FriendlyByteBuf p_179540_) ServerboundChangeDifficultyPacket
(FriendlyByteBuf p_179542_) ServerboundChatAckPacket
(FriendlyByteBuf p_242339_) ServerboundChatCommandPacket
(FriendlyByteBuf p_237932_) ServerboundChatPacket
(FriendlyByteBuf p_179545_) ServerboundClientCommandPacket
(FriendlyByteBuf p_179547_) ServerboundContainerClickPacket
(FriendlyByteBuf p_179578_) ServerboundContainerClosePacket
(FriendlyByteBuf p_179584_) ServerboundEditBookPacket
(FriendlyByteBuf p_179592_) ServerboundEntityTagQuery
(FriendlyByteBuf p_179594_) ServerboundInteractPacket
(FriendlyByteBuf p_179602_) ServerboundJigsawGeneratePacket
(FriendlyByteBuf p_179669_) ServerboundLockDifficultyPacket
(FriendlyByteBuf p_179673_) ServerboundMoveVehiclePacket
(FriendlyByteBuf p_179700_) ServerboundPaddleBoatPacket
(FriendlyByteBuf p_179702_) ServerboundPickItemPacket
(FriendlyByteBuf p_179704_) ServerboundPlaceRecipePacket
(FriendlyByteBuf p_179706_) ServerboundPlayerAbilitiesPacket
(FriendlyByteBuf p_179709_) ServerboundPlayerActionPacket
(FriendlyByteBuf p_179711_) ServerboundPlayerCommandPacket
(FriendlyByteBuf p_179714_) ServerboundPlayerInputPacket
(FriendlyByteBuf p_179720_) ServerboundRenameItemPacket
(FriendlyByteBuf p_179738_) ServerboundSeenAdvancementsPacket
(FriendlyByteBuf p_179744_) ServerboundSelectTradePacket
(FriendlyByteBuf p_179747_) ServerboundSetBeaconPacket
(FriendlyByteBuf p_179749_) ServerboundSetCarriedItemPacket
(FriendlyByteBuf p_179751_) ServerboundSetCommandBlockPacket
(FriendlyByteBuf p_179756_) ServerboundSetJigsawBlockPacket
(FriendlyByteBuf p_179766_) ServerboundSignUpdatePacket
(FriendlyByteBuf p_179790_) ServerboundSwingPacket
(FriendlyByteBuf p_179792_) ServerboundTeleportToEntityPacket
(FriendlyByteBuf p_179794_) ServerboundUseItemOnPacket
(FriendlyByteBuf p_179796_) ServerboundUseItemPacket
(FriendlyByteBuf p_179798_) private
UpdateNameOperation
(FriendlyByteBuf p_178725_) private
UpdateProgressOperation
(FriendlyByteBuf p_178738_) private
UpdatePropertiesOperation
(FriendlyByteBuf p_178749_) private
UpdateStyleOperation
(FriendlyByteBuf p_178766_) ModifierConstructorDescriptionprivate
private
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.handshake
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login
Modifier and TypeMethodDescriptionServerboundCustomQueryAnswerPacket.read
(FriendlyByteBuf p_295711_) private static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation p_295267_, FriendlyByteBuf p_295117_) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readPayload
(int p_296215_, FriendlyByteBuf p_295168_) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation p_294837_, FriendlyByteBuf p_296380_) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readUnknownPayload
(FriendlyByteBuf p_294928_) void
ClientboundCustomQueryPacket.write
(FriendlyByteBuf p_134757_) void
ClientboundGameProfilePacket.write
(FriendlyByteBuf p_134776_) void
ClientboundHelloPacket.write
(FriendlyByteBuf p_134793_) void
ClientboundLoginCompressionPacket.write
(FriendlyByteBuf p_134808_) void
ClientboundLoginDisconnectPacket.write
(FriendlyByteBuf p_134821_) void
ServerboundCustomQueryAnswerPacket.write
(FriendlyByteBuf p_296127_) void
ServerboundHelloPacket.write
(FriendlyByteBuf p_134851_) void
ServerboundKeyPacket.write
(FriendlyByteBuf p_134870_) void
ServerboundLoginAcknowledgedPacket.write
(FriendlyByteBuf p_295478_) ModifierConstructorDescriptionClientboundCustomQueryPacket
(FriendlyByteBuf p_179810_) ClientboundGameProfilePacket
(FriendlyByteBuf p_179814_) ClientboundHelloPacket
(FriendlyByteBuf p_179816_) ClientboundLoginCompressionPacket
(FriendlyByteBuf p_179818_) ClientboundLoginDisconnectPacket
(FriendlyByteBuf p_179820_) ServerboundHelloPacket
(FriendlyByteBuf p_179827_) ServerboundKeyPacket
(FriendlyByteBuf p_179829_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login.custom
Modifier and TypeMethodDescriptionvoid
CustomQueryAnswerPayload.write
(FriendlyByteBuf p_295452_) void
CustomQueryPayload.write
(FriendlyByteBuf p_295179_) void
DiscardedQueryAnswerPayload.write
(FriendlyByteBuf p_294372_) void
DiscardedQueryPayload.write
(FriendlyByteBuf p_296443_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.status
Modifier and TypeMethodDescriptionvoid
ClientboundPongResponsePacket.write
(FriendlyByteBuf p_134884_) void
ClientboundStatusResponsePacket.write
(FriendlyByteBuf p_134899_) void
ServerboundPingRequestPacket.write
(FriendlyByteBuf p_135000_) void
ServerboundStatusRequestPacket.write
(FriendlyByteBuf p_135009_) ModifierConstructorDescriptionClientboundPongResponsePacket
(FriendlyByteBuf p_179831_) ClientboundStatusResponsePacket
(FriendlyByteBuf p_179834_) ServerboundPingRequestPacket
(FriendlyByteBuf p_179838_) ServerboundStatusRequestPacket
(FriendlyByteBuf p_179840_) -
Uses of FriendlyByteBuf in net.minecraft.network.syncher
Modifier and TypeMethodDescriptionEntityDataSerializer.read
(FriendlyByteBuf p_135024_) static SynchedEntityData.DataValue<?>
SynchedEntityData.DataValue.read
(FriendlyByteBuf p_254314_, int p_254356_) private static <T> SynchedEntityData.DataValue<T>
SynchedEntityData.DataValue.read
(FriendlyByteBuf p_254224_, int p_253899_, EntityDataSerializer<T> p_254222_) void
EntityDataSerializer.write
(FriendlyByteBuf p_135025_, T p_135026_) void
SynchedEntityData.DataValue.write
(FriendlyByteBuf p_253709_) -
Uses of FriendlyByteBuf in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerPlayer.openMenu
(MenuProvider p_9033_, Consumer<FriendlyByteBuf> extraDataWriter) -
Uses of FriendlyByteBuf in net.minecraft.sounds
Modifier and TypeMethodDescriptionstatic SoundEvent
SoundEvent.readFromNetwork
(FriendlyByteBuf p_263371_) void
SoundEvent.writeToNetwork
(FriendlyByteBuf p_263344_) -
Uses of FriendlyByteBuf in net.minecraft.stats
Modifier and TypeMethodDescriptionstatic RecipeBookSettings
RecipeBookSettings.read
(FriendlyByteBuf p_12753_) void
RecipeBookSettings.write
(FriendlyByteBuf p_12762_) -
Uses of FriendlyByteBuf in net.minecraft.tags
Modifier and TypeMethodDescriptionTagNetworkSerialization.NetworkPayload.read
(FriendlyByteBuf p_203970_) void
TagNetworkSerialization.NetworkPayload.write
(FriendlyByteBuf p_203968_) -
Uses of FriendlyByteBuf in net.minecraft.util
Modifier and TypeMethodDescriptionstatic void
Crypt.SaltSignaturePair.write
(FriendlyByteBuf p_216101_, Crypt.SaltSignaturePair p_216102_) -
Uses of FriendlyByteBuf in net.minecraft.world.entity.player
-
Uses of FriendlyByteBuf in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionMenuType.create
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) -
Uses of FriendlyByteBuf in net.minecraft.world.item.crafting
Modifier and TypeMethodDescriptionstatic Ingredient
Ingredient.fromNetwork
(FriendlyByteBuf p_43941_) RecipeSerializer.fromNetwork
(FriendlyByteBuf p_44106_) ShapedRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_44240_) static ShapedRecipePattern
ShapedRecipePattern.fromNetwork
(FriendlyByteBuf p_312006_) ShapelessRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_44294_) SimpleCookingSerializer.fromNetwork
(FriendlyByteBuf p_44345_) SimpleCraftingRecipeSerializer.fromNetwork
(FriendlyByteBuf p_249712_) SingleItemRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_44453_) SmithingTransformRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_267139_) SmithingTrimRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_266888_) final void
Ingredient.toNetwork
(FriendlyByteBuf p_43924_) void
RecipeSerializer.toNetwork
(FriendlyByteBuf p_44101_, T p_44102_) void
ShapedRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44227_, ShapedRecipe p_44228_) void
ShapedRecipePattern.toNetwork
(FriendlyByteBuf p_312479_) void
ShapelessRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44281_, ShapelessRecipe p_44282_) void
SimpleCookingSerializer.toNetwork
(FriendlyByteBuf p_44335_, T p_44336_) void
SimpleCraftingRecipeSerializer.toNetwork
(FriendlyByteBuf p_248968_, T p_250179_) void
SingleItemRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44440_, T p_44441_) void
SmithingTransformRecipe.Serializer.toNetwork
(FriendlyByteBuf p_266746_, SmithingTransformRecipe p_266927_) void
SmithingTrimRecipe.Serializer.toNetwork
(FriendlyByteBuf p_266901_, SmithingTrimRecipe p_266893_) -
Uses of FriendlyByteBuf in net.minecraft.world.item.trading
Modifier and TypeMethodDescriptionstatic MerchantOffers
MerchantOffers.createFromStream
(FriendlyByteBuf p_45396_) void
MerchantOffers.writeToStream
(FriendlyByteBuf p_45394_) -
Uses of FriendlyByteBuf in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionvoid
GlobalPalette.read
(FriendlyByteBuf p_62654_) void
HashMapPalette.read
(FriendlyByteBuf p_62679_) void
LevelChunkSection.read
(FriendlyByteBuf p_63005_) void
LinearPalette.read
(FriendlyByteBuf p_63046_) void
Palette.read
(FriendlyByteBuf p_63064_) void
PalettedContainer.read
(FriendlyByteBuf p_63119_) void
SingleValuePalette.read
(FriendlyByteBuf p_188223_) void
LevelChunkSection.readBiomes
(FriendlyByteBuf p_275669_) void
LevelChunk.replaceBiomes
(FriendlyByteBuf p_275574_) void
LevelChunk.replaceWithPacketData
(FriendlyByteBuf p_187972_, CompoundTag p_187973_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_187974_) void
GlobalPalette.write
(FriendlyByteBuf p_62656_) void
HashMapPalette.write
(FriendlyByteBuf p_62684_) void
LevelChunkSection.write
(FriendlyByteBuf p_63012_) void
LinearPalette.write
(FriendlyByteBuf p_63049_) void
Palette.write
(FriendlyByteBuf p_63065_) void
PalettedContainer.Data.write
(FriendlyByteBuf p_188115_) void
PalettedContainer.write
(FriendlyByteBuf p_63136_) void
PalettedContainerRO.write
(FriendlyByteBuf p_238417_) void
SingleValuePalette.write
(FriendlyByteBuf p_188226_) -
Uses of FriendlyByteBuf in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionstatic PositionSource
PositionSourceType.fromNetwork
(FriendlyByteBuf p_157886_) BlockPositionSource.Type.read
(FriendlyByteBuf p_157716_) EntityPositionSource.Type.read
(FriendlyByteBuf p_157741_) PositionSourceType.read
(FriendlyByteBuf p_157884_) static <T extends PositionSource>
voidPositionSourceType.toNetwork
(T p_157875_, FriendlyByteBuf p_157876_) void
BlockPositionSource.Type.write
(FriendlyByteBuf p_157718_, BlockPositionSource p_157719_) void
EntityPositionSource.Type.write
(FriendlyByteBuf p_157743_, EntityPositionSource p_157744_) void
PositionSourceType.write
(FriendlyByteBuf p_157880_, T p_157881_) -
Uses of FriendlyByteBuf in net.minecraft.world.level.pathfinder
Modifier and TypeMethodDescriptionstatic Node
Node.createFromStream
(FriendlyByteBuf p_77302_) static Path
Path.createFromStream
(FriendlyByteBuf p_77391_) static Target
Target.createFromStream
(FriendlyByteBuf p_77507_) static Path.DebugData
Path.DebugData.read
(FriendlyByteBuf p_295853_) protected static void
Node.readContents
(FriendlyByteBuf p_262984_, Node p_263009_) (package private) static Node[]
Path.readNodeArray
(FriendlyByteBuf p_294398_) void
Path.DebugData.write
(FriendlyByteBuf p_296345_) (package private) static void
Path.writeNodeArray
(FriendlyByteBuf p_296066_, Node[] p_294231_) void
Node.writeToStream
(FriendlyByteBuf p_164700_) void
Path.writeToStream
(FriendlyByteBuf p_164705_) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionprivate FriendlyByteBuf
IFriendlyByteBufExtension.self()
default <T> FriendlyByteBuf
IFriendlyByteBufExtension.writeArray
(T[] array, FriendlyByteBuf.Writer<T> writer) Writes an array of objects to the buffer.default FriendlyByteBuf
IFriendlyByteBufExtension.writeByte
(byte value) Writes a byte to the bufferdefault FriendlyByteBuf
IFriendlyByteBufExtension.writeItemWithLargeCount
(ItemStack stack) Writes anItemStack
to the current buffer, but allows for a larger count than the vanilla method, using a variable length int instead of a byte.Modifier and TypeMethodDescriptionIMenuTypeExtension.create
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) Modifier and TypeMethodDescriptiondefault OptionalInt
IPlayerExtension.openMenu
(MenuProvider menuProvider, Consumer<FriendlyByteBuf> extraDataWriter) Request to open a GUI on the client, from the serverdefault <K,
V> Map<K, V> IFriendlyByteBufExtension.readMap
(FriendlyByteBuf.Reader<K> keyReader, BiFunction<FriendlyByteBuf, K, V> valueReader) Variant ofreadMap(FriendlyByteBuf.Reader, FriendlyByteBuf.Reader)
that allows reading values that depend on the key.default <K,
V> void IFriendlyByteBufExtension.writeMap
(Map<K, V> map, FriendlyByteBuf.Writer<K> keyWriter, org.apache.commons.lang3.function.TriConsumer<FriendlyByteBuf, K, V> valueWriter) Variant ofwriteMap(Map, FriendlyByteBuf.Writer, FriendlyByteBuf.Writer)
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.common.util
Modifier and TypeMethodDescriptionstatic byte[]
FriendlyByteBufUtil.writeCustomData
(Consumer<FriendlyByteBuf> dataWriter) Writes custom data to aFriendlyByteBuf
, then returns the written data as a byte array. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.debug.entity
Modifier and TypeMethodDescriptionvoid
EntityTests.CustomComplexSpawnEntity.readSpawnData
(FriendlyByteBuf additionalData) void
EntityTests.CustomSyncPayload.write
(FriendlyByteBuf buf) void
EntityTests.CustomComplexSpawnEntity.writeSpawnData
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.entity
Modifier and TypeMethodDescriptionvoid
IEntityWithComplexSpawn.readSpawnData
(FriendlyByteBuf additionalData) Called by the client when it receives a Entity spawn packet.void
IEntityWithComplexSpawn.writeSpawnData
(FriendlyByteBuf buffer) Called by the server when constructing the spawn packet. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionstatic FluidStack
FluidStack.readFromPacket
(FriendlyByteBuf buf) void
FluidStack.writeToPacket
(FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network
Modifier and TypeMethodDescriptionIContainerFactory.create
(int windowId, Inventory inv, FriendlyByteBuf data) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.handlers
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidClientPayloadHandler.createMenuScreen
(Component name, MenuType<T> menuType, int windowId, FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.payload
Modifier and TypeMethodDescriptionstatic <T> RegistryDataMapSyncPayload<T>
RegistryDataMapSyncPayload.decode
(FriendlyByteBuf buf) void
AdvancedAddEntityPayload.write
(FriendlyByteBuf buffer) void
AdvancedContainerSetDataPayload.write
(FriendlyByteBuf buffer) void
AdvancedOpenScreenPayload.write
(FriendlyByteBuf buffer) void
AuxiliaryLightDataPayload.write
(FriendlyByteBuf buf) void
ConfigFilePayload.write
(FriendlyByteBuf buf) void
FrozenRegistryPayload.write
(FriendlyByteBuf buf) void
FrozenRegistrySyncCompletedPayload.write
(FriendlyByteBuf buf) void
FrozenRegistrySyncStartPayload.write
(FriendlyByteBuf buf) void
KnownRegistryDataMapsPayload.write
(FriendlyByteBuf buf) void
KnownRegistryDataMapsReplyPayload.write
(FriendlyByteBuf buf) void
ModdedNetworkComponent.write
(FriendlyByteBuf buf) void
ModdedNetworkPayload.write
(FriendlyByteBuf buf) void
ModdedNetworkQueryComponent.write
(FriendlyByteBuf buf) void
ModdedNetworkQueryPayload.write
(FriendlyByteBuf buf) void
ModdedNetworkSetupFailedPayload.write
(FriendlyByteBuf buf) void
RegistryDataMapSyncPayload.write
(FriendlyByteBuf buf) void
SplitPacketPayload.write
(FriendlyByteBuf buf) void
TierSortingRegistryPayload.write
(FriendlyByteBuf buf) void
TierSortingRegistrySyncCompletePayload.write
(FriendlyByteBuf buf) ModifierConstructorDescriptionAdvancedOpenScreenPayload
(int windowId, MenuType<?> menuType, Component name, Consumer<FriendlyByteBuf> dataWriter) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.network.registration
Modifier and TypeMethodDescriptionConfigurationRegistration.apply
(FriendlyByteBuf buffer) PlayRegistration.apply
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.oldtest.misc
Modifier and TypeMethodDescriptionvoid
ModMismatchTest.ModMismatchPayload.write
(FriendlyByteBuf p_294947_) ModifierConstructorDescriptionprotected
TestContainer
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeMethodDescription@Nullable RecipeBookTestRecipe
RecipeBookTestRecipeSerializer.fromNetwork
(FriendlyByteBuf buf) void
RecipeBookTestRecipeSerializer.toNetwork
(FriendlyByteBuf buffer, RecipeBookTestRecipe recipe) ModifierConstructorDescriptionRecipeBookTestMenu
(int id, Inventory inv, FriendlyByteBuf extraData) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.oldtest.world
Modifier and TypeMethodDescription<T> void
LoginPacketSplitTest.writeJsonWithCodec
(FriendlyByteBuf buf, com.mojang.serialization.Codec<T> codec, T instance) -
Uses of FriendlyByteBuf in net.neoforged.neoforge.registries
Modifier and TypeMethodDescriptionvoid
RegistrySnapshot.write
(FriendlyByteBuf buf) Write the registry snapshot to the given buffer and cache the binary data.ModifierConstructorDescriptionCreates a registry snapshot from the received buffer. -
Uses of FriendlyByteBuf in net.neoforged.neoforge.server.command
Modifier and TypeMethodDescriptionEnumArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) void
EnumArgument.Info.serializeToNetwork
(EnumArgument.Info<T>.Template template, FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.neoforged.testframework.impl.packet
Modifier and TypeMethodDescriptionstatic ChangeEnabledPayload
ChangeEnabledPayload.decode
(MutableTestFramework framework, FriendlyByteBuf buf) static ChangeStatusPayload
ChangeStatusPayload.decode
(MutableTestFramework framework, FriendlyByteBuf buf) void
ChangeEnabledPayload.write
(FriendlyByteBuf buf) void
ChangeStatusPayload.write
(FriendlyByteBuf buf)
ConnectionProtocol.PacketSet.contextualIdToDeserializer
instead it allows for context to be passed to the deserializer