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_300670_) static AdvancementHolder
AdvancementHolder.read
(FriendlyByteBuf p_299642_) void
AdvancementProgress.serializeToNetwork
(FriendlyByteBuf p_8205_) void
CriterionProgress.serializeToNetwork
(FriendlyByteBuf p_12915_) void
DisplayInfo.serializeToNetwork
(FriendlyByteBuf p_14984_) void
Advancement.write
(FriendlyByteBuf p_299393_) void
AdvancementHolder.write
(FriendlyByteBuf p_299066_) void
AdvancementRequirements.write
(FriendlyByteBuf p_299546_) -
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<Function<FriendlyByteBuf,
? extends Packet<? super T>>> ConnectionProtocol.PacketSet.idToDeserializer
Modifier and TypeMethodDescriptionFriendlyByteBuf.capacity
(int p_300133_) FriendlyByteBuf.clear()
FriendlyByteBuf.discardReadBytes()
FriendlyByteBuf.discardSomeReadBytes()
FriendlyByteBuf.ensureWritable
(int p_301044_) FriendlyByteBuf.getBytes
(int p_300928_, byte[] p_297630_) FriendlyByteBuf.getBytes
(int p_299455_, byte[] p_300069_, int p_300847_, int p_299513_) FriendlyByteBuf.getBytes
(int p_299985_, io.netty.buffer.ByteBuf p_298214_) FriendlyByteBuf.getBytes
(int p_300246_, io.netty.buffer.ByteBuf p_301111_, int p_300978_) FriendlyByteBuf.getBytes
(int p_300430_, io.netty.buffer.ByteBuf p_297846_, int p_300610_, int p_299363_) FriendlyByteBuf.getBytes
(int p_298241_, OutputStream p_301151_, int p_299913_) FriendlyByteBuf.getBytes
(int p_299731_, ByteBuffer p_299164_) FriendlyByteBuf.markReaderIndex()
FriendlyByteBuf.markWriterIndex()
FriendlyByteBuf.readBytes
(byte[] p_299454_) FriendlyByteBuf.readBytes
(byte[] p_299845_, int p_297363_, int p_299384_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_300560_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_299224_, int p_300166_) FriendlyByteBuf.readBytes
(io.netty.buffer.ByteBuf p_301382_, int p_300030_, int p_300211_) FriendlyByteBuf.readBytes
(OutputStream p_300218_, int p_298001_) FriendlyByteBuf.readBytes
(ByteBuffer p_297688_) FriendlyByteBuf.readerIndex
(int p_300300_) FriendlyByteBuf.resetReaderIndex()
FriendlyByteBuf.resetWriterIndex()
FriendlyByteBuf.retain()
FriendlyByteBuf.retain
(int p_299349_) FriendlyByteBuf.setBoolean
(int p_299892_, boolean p_297333_) FriendlyByteBuf.setByte
(int p_297325_, int p_300406_) FriendlyByteBuf.setBytes
(int p_297553_, byte[] p_300329_) FriendlyByteBuf.setBytes
(int p_297451_, byte[] p_300466_, int p_297825_, int p_299499_) FriendlyByteBuf.setBytes
(int p_300769_, io.netty.buffer.ByteBuf p_301342_) FriendlyByteBuf.setBytes
(int p_300924_, io.netty.buffer.ByteBuf p_301233_, int p_299359_) FriendlyByteBuf.setBytes
(int p_299338_, io.netty.buffer.ByteBuf p_299810_, int p_301059_, int p_297827_) FriendlyByteBuf.setBytes
(int p_297596_, ByteBuffer p_299096_) FriendlyByteBuf.setChar
(int p_297413_, int p_297953_) FriendlyByteBuf.setDouble
(int p_301027_, double p_299551_) FriendlyByteBuf.setFloat
(int p_297779_, float p_297840_) FriendlyByteBuf.setIndex
(int p_298280_, int p_301012_) FriendlyByteBuf.setInt
(int p_299176_, int p_301413_) FriendlyByteBuf.setIntLE
(int p_300111_, int p_297978_) FriendlyByteBuf.setLong
(int p_298039_, long p_298360_) FriendlyByteBuf.setLongLE
(int p_300929_, long p_299282_) FriendlyByteBuf.setMedium
(int p_300490_, int p_299067_) FriendlyByteBuf.setMediumLE
(int p_300630_, int p_299351_) FriendlyByteBuf.setShort
(int p_297216_, int p_298749_) FriendlyByteBuf.setShortLE
(int p_299646_, int p_298038_) FriendlyByteBuf.setZero
(int p_297586_, int p_299960_) FriendlyByteBuf.skipBytes
(int p_300784_) FriendlyByteBuf.touch()
FriendlyByteBuf.writeBlockPos
(BlockPos p_130065_) FriendlyByteBuf.writeBoolean
(boolean p_300653_) <T> FriendlyByteBuf
FriendlyByteBuf.writeById
(ToIntFunction<T> p_297872_, T p_300123_) FriendlyByteBuf.writeByte
(int p_299498_) FriendlyByteBuf.writeByteArray
(byte[] p_130088_) FriendlyByteBuf.writeBytes
(byte[] p_299214_) FriendlyByteBuf.writeBytes
(byte[] p_298410_, int p_297608_, int p_300690_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_300943_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_298105_, int p_299600_) FriendlyByteBuf.writeBytes
(io.netty.buffer.ByteBuf p_299075_, int p_301207_, int p_299710_) FriendlyByteBuf.writeBytes
(ByteBuffer p_300889_) FriendlyByteBuf.writeChar
(int p_300374_) FriendlyByteBuf.writeChunkPos
(ChunkPos p_178342_) FriendlyByteBuf.writeComponent
(Component p_130084_) FriendlyByteBuf.writeDouble
(double p_301246_) FriendlyByteBuf.writeFloat
(float p_299476_) FriendlyByteBuf.writeInt
(int p_301066_) FriendlyByteBuf.writeIntLE
(int p_299068_) FriendlyByteBuf.writeItemStack
(ItemStack p_130056_, boolean limitedTag) Most ItemStack serialization is Server to Client,and doesn't need to know the FULL tag details.FriendlyByteBuf.writeLong
(long p_300584_) FriendlyByteBuf.writeLongArray
(long[] p_130092_) FriendlyByteBuf.writeLongLE
(long p_298747_) FriendlyByteBuf.writeMedium
(int p_299802_) FriendlyByteBuf.writeMediumLE
(int p_301291_) FriendlyByteBuf.writePublicKey
(PublicKey p_236825_) FriendlyByteBuf.writeResourceLocation
(ResourceLocation p_130086_) FriendlyByteBuf.writerIndex
(int p_298940_) FriendlyByteBuf.writeSectionPos
(SectionPos p_178344_) FriendlyByteBuf.writeShort
(int p_299519_) FriendlyByteBuf.writeShortLE
(int p_297214_) 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_298160_) Modifier and TypeMethodDescriptionPacket<?>
ConnectionProtocol.CodecData.createPacket
(int p_298171_, FriendlyByteBuf p_299179_) Packet<?>
ConnectionProtocol.PacketSet.createPacket
(int p_178328_, FriendlyByteBuf p_178329_) Modifier and TypeMethodDescription<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_310880_) static NumberFormat
NumberFormatTypes.readFromStream
(FriendlyByteBuf p_312075_) void
NumberFormatType.writeToStream
(FriendlyByteBuf p_310795_, T p_310388_) static <T extends NumberFormat>
voidNumberFormatTypes.writeToStream
(FriendlyByteBuf p_313171_, T p_312224_) -
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 TypeMethodDescription@Nullable FriendlyByteBuf
ClientboundCustomPayloadPacket.getInternalData()
@Nullable FriendlyByteBuf
ServerboundCustomPayloadPacket.getInternalData()
Modifier and TypeMethodDescriptionprivate static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_298700_, FriendlyByteBuf p_298589_) private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_301116_, FriendlyByteBuf p_298967_) private static DiscardedPayload
ClientboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_299265_, FriendlyByteBuf p_297545_) private static DiscardedPayload
ServerboundCustomPayloadPacket.readUnknownPayload
(ResourceLocation p_300234_, FriendlyByteBuf p_299925_) void
ClientboundCustomPayloadPacket.write
(FriendlyByteBuf p_298655_) void
ClientboundDisconnectPacket.write
(FriendlyByteBuf p_300138_) void
ClientboundKeepAlivePacket.write
(FriendlyByteBuf p_299560_) void
ClientboundPingPacket.write
(FriendlyByteBuf p_298056_) void
ClientboundResourcePackPopPacket.write
(FriendlyByteBuf p_311086_) void
ClientboundResourcePackPushPacket.write
(FriendlyByteBuf p_310067_) void
ClientboundUpdateTagsPacket.write
(FriendlyByteBuf p_299422_) void
ServerboundClientInformationPacket.write
(FriendlyByteBuf p_298054_) void
ServerboundCustomPayloadPacket.write
(FriendlyByteBuf p_299043_) void
ServerboundKeepAlivePacket.write
(FriendlyByteBuf p_299172_) void
ServerboundPongPacket.write
(FriendlyByteBuf p_299986_) void
ServerboundResourcePackPacket.write
(FriendlyByteBuf p_298279_) ModifierConstructorDescriptionClientboundCustomPayloadPacket
(FriendlyByteBuf p_300967_) ClientboundDisconnectPacket
(FriendlyByteBuf p_301323_) ClientboundKeepAlivePacket
(FriendlyByteBuf p_300278_) ClientboundPingPacket
(FriendlyByteBuf p_301364_) ClientboundResourcePackPopPacket
(FriendlyByteBuf p_310483_) ClientboundResourcePackPushPacket
(FriendlyByteBuf p_310933_) ClientboundUpdateTagsPacket
(FriendlyByteBuf p_298277_) ServerboundCustomPayloadPacket
(FriendlyByteBuf p_298896_) ServerboundKeepAlivePacket
(FriendlyByteBuf p_299677_) ServerboundPongPacket
(FriendlyByteBuf p_297786_) ServerboundResourcePackPacket
(FriendlyByteBuf p_299426_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final @Nullable FriendlyByteBuf
DiscardedPayload.data
The field for thedata
record component.Modifier and TypeMethodDescription@Nullable FriendlyByteBuf
DiscardedPayload.data()
Returns the value of thedata
record component.Modifier and TypeMethodDescription(package private) static BoundingBox
StructuresDebugPayload.readBoundingBox
(FriendlyByteBuf p_297781_) void
BeeDebugPayload.BeeInfo.write
(FriendlyByteBuf p_299671_) void
BeeDebugPayload.write
(FriendlyByteBuf p_300191_) void
BrainDebugPayload.BrainDump.write
(FriendlyByteBuf p_299431_) void
BrainDebugPayload.write
(FriendlyByteBuf p_300305_) void
BrandPayload.write
(FriendlyByteBuf p_297362_) void
BreezeDebugPayload.BreezeInfo.write
(FriendlyByteBuf p_312731_) void
BreezeDebugPayload.write
(FriendlyByteBuf p_309794_) void
CustomPacketPayload.write
(FriendlyByteBuf p_297598_) void
DiscardedPayload.write
(FriendlyByteBuf p_301050_) void
GameEventDebugPayload.write
(FriendlyByteBuf p_298899_) void
GameEventListenerDebugPayload.write
(FriendlyByteBuf p_299971_) void
GameTestAddMarkerDebugPayload.write
(FriendlyByteBuf p_300444_) void
GameTestClearMarkersDebugPayload.write
(FriendlyByteBuf p_301353_) void
GoalDebugPayload.DebugGoal.write
(FriendlyByteBuf p_299193_) void
GoalDebugPayload.write
(FriendlyByteBuf p_297279_) void
HiveDebugPayload.HiveInfo.write
(FriendlyByteBuf p_301145_) void
HiveDebugPayload.write
(FriendlyByteBuf p_297901_) void
NeighborUpdatesDebugPayload.write
(FriendlyByteBuf p_300822_) void
PathfindingDebugPayload.write
(FriendlyByteBuf p_298780_) void
PoiAddedDebugPayload.write
(FriendlyByteBuf p_298137_) void
PoiRemovedDebugPayload.write
(FriendlyByteBuf p_300931_) void
PoiTicketCountDebugPayload.write
(FriendlyByteBuf p_299042_) void
RaidsDebugPayload.write
(FriendlyByteBuf p_298176_) void
StructuresDebugPayload.PieceInfo.write
(FriendlyByteBuf p_298576_) void
StructuresDebugPayload.write
(FriendlyByteBuf p_300362_) void
VillageSectionsDebugPayload.write
(FriendlyByteBuf p_299408_) void
WorldGenAttemptDebugPayload.write
(FriendlyByteBuf p_301372_) (package private) static void
StructuresDebugPayload.writeBoundingBox
(FriendlyByteBuf p_300963_, BoundingBox p_297295_) ModifierConstructorDescriptionBeeDebugPayload
(FriendlyByteBuf p_297658_) BeeInfo
(FriendlyByteBuf p_299863_) BrainDebugPayload
(FriendlyByteBuf p_299558_) BrainDump
(FriendlyByteBuf p_298042_) BrandPayload
(FriendlyByteBuf p_299720_) BreezeDebugPayload
(FriendlyByteBuf p_309515_) BreezeInfo
(FriendlyByteBuf p_311987_) DebugGoal
(FriendlyByteBuf p_300528_) DiscardedPayload
(ResourceLocation id, @Nullable FriendlyByteBuf data) Creates an instance of aDiscardedPayload
record class.GameEventDebugPayload
(FriendlyByteBuf p_299092_) GameEventListenerDebugPayload
(FriendlyByteBuf p_300927_) GameTestAddMarkerDebugPayload
(FriendlyByteBuf p_300441_) GameTestClearMarkersDebugPayload
(FriendlyByteBuf p_300529_) GoalDebugPayload
(FriendlyByteBuf p_300481_) HiveDebugPayload
(FriendlyByteBuf p_299613_) HiveInfo
(FriendlyByteBuf p_299719_) NeighborUpdatesDebugPayload
(FriendlyByteBuf p_301219_) PathfindingDebugPayload
(FriendlyByteBuf p_297728_) PieceInfo
(FriendlyByteBuf p_297915_) PoiAddedDebugPayload
(FriendlyByteBuf p_300736_) PoiRemovedDebugPayload
(FriendlyByteBuf p_300036_) PoiTicketCountDebugPayload
(FriendlyByteBuf p_299616_) RaidsDebugPayload
(FriendlyByteBuf p_298262_) StructuresDebugPayload
(FriendlyByteBuf p_301247_) VillageSectionsDebugPayload
(FriendlyByteBuf p_298910_) WorldGenAttemptDebugPayload
(FriendlyByteBuf p_298227_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol.configuration
Modifier and TypeMethodDescriptionvoid
ClientboundFinishConfigurationPacket.write
(FriendlyByteBuf p_298420_) void
ClientboundRegistryDataPacket.write
(FriendlyByteBuf p_297355_) void
ClientboundUpdateEnabledFeaturesPacket.write
(FriendlyByteBuf p_297257_) void
ServerboundFinishConfigurationPacket.write
(FriendlyByteBuf p_300295_) -
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_312504_, ParticleType<T> p_311877_) 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_297340_) 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_299639_) void
ClientboundChunkBatchStartPacket.write
(FriendlyByteBuf p_298384_) 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_310951_) 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_298888_) 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_312400_) void
ClientboundTickingStepPacket.write
(FriendlyByteBuf p_311017_) 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_298723_) 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_299711_) void
ServerboundClientCommandPacket.write
(FriendlyByteBuf p_133852_) void
ServerboundCommandSuggestionPacket.write
(FriendlyByteBuf p_133903_) void
ServerboundConfigurationAcknowledgedPacket.write
(FriendlyByteBuf p_298084_) void
ServerboundContainerButtonClickPacket.write
(FriendlyByteBuf p_133937_) void
ServerboundContainerClickPacket.write
(FriendlyByteBuf p_133961_) void
ServerboundContainerClosePacket.write
(FriendlyByteBuf p_133978_) void
ServerboundContainerSlotStateChangedPacket.write
(FriendlyByteBuf p_310021_) 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_311139_, ParticleOptions p_309825_) 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_301003_) 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_312061_) 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_312542_) ClientboundTickingStepPacket
(FriendlyByteBuf p_311037_) ClientboundUpdateAttributesPacket
(FriendlyByteBuf p_179447_) ClientboundUpdateMobEffectPacket
(FriendlyByteBuf p_179466_) ClientboundUpdateRecipesPacket
(FriendlyByteBuf p_179468_) CommonPlayerSpawnInfo
(FriendlyByteBuf p_301001_) 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 TypeMethodDescription@Nullable FriendlyByteBuf
ClientboundCustomQueryPacket.getInternalData()
ServerboundCustomQueryAnswerPacket.getInternalData()
Modifier and TypeMethodDescriptionServerboundCustomQueryAnswerPacket.read
(FriendlyByteBuf p_300962_) private static CustomQueryPayload
ClientboundCustomQueryPacket.readPayload
(ResourceLocation p_300079_, FriendlyByteBuf p_299332_) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readPayload
(int p_298211_, FriendlyByteBuf p_300600_) private static DiscardedQueryPayload
ClientboundCustomQueryPacket.readUnknownPayload
(ResourceLocation p_299981_, FriendlyByteBuf p_297706_) private static CustomQueryAnswerPayload
ServerboundCustomQueryAnswerPacket.readUnknownPayload
(FriendlyByteBuf p_299934_) 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_299339_) void
ServerboundHelloPacket.write
(FriendlyByteBuf p_134851_) void
ServerboundKeyPacket.write
(FriendlyByteBuf p_134870_) void
ServerboundLoginAcknowledgedPacket.write
(FriendlyByteBuf p_300127_) 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 TypeFieldDescriptionprivate final FriendlyByteBuf
DiscardedQueryAnswerPayload.data
The field for thedata
record component.private final @Nullable FriendlyByteBuf
DiscardedQueryPayload.data
The field for thedata
record component.Modifier and TypeMethodDescriptionDiscardedQueryAnswerPayload.data()
Returns the value of thedata
record component.@Nullable FriendlyByteBuf
DiscardedQueryPayload.data()
Returns the value of thedata
record component.Modifier and TypeMethodDescriptionvoid
CustomQueryAnswerPayload.write
(FriendlyByteBuf p_299412_) void
CustomQueryPayload.write
(FriendlyByteBuf p_297527_) void
DiscardedQueryAnswerPayload.write
(FriendlyByteBuf p_299186_) void
DiscardedQueryPayload.write
(FriendlyByteBuf p_299949_) ModifierConstructorDescriptionCreates an instance of aDiscardedQueryAnswerPayload
record class.DiscardedQueryPayload
(ResourceLocation id, @Nullable FriendlyByteBuf data) Creates an instance of aDiscardedQueryPayload
record class. -
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
-
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_44234_) static ShapedRecipePattern
ShapedRecipePattern.fromNetwork
(FriendlyByteBuf p_310753_) ShapelessRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_44294_) SimpleCookingSerializer.fromNetwork
(FriendlyByteBuf p_44351_) SimpleCraftingRecipeSerializer.fromNetwork
(FriendlyByteBuf p_251882_) SingleItemRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_44447_) SmithingTransformRecipe.Serializer.fromNetwork
(FriendlyByteBuf p_267316_) 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_312386_) 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_299429_) protected static void
Node.readContents
(FriendlyByteBuf p_262984_, Node p_263009_) (package private) static Node[]
Path.readNodeArray
(FriendlyByteBuf p_300065_) void
Path.DebugData.write
(FriendlyByteBuf p_299578_) (package private) static void
Path.writeNodeArray
(FriendlyByteBuf p_300557_, Node[] p_301136_) void
Node.writeToStream
(FriendlyByteBuf p_164700_) void
Path.writeToStream
(FriendlyByteBuf p_164705_) -
Uses of FriendlyByteBuf in net.minecraftforge.common
Modifier and TypeMethodDescriptionprivate void
TierSortingRegistry.SyncPacket.encode
(FriendlyByteBuf buffer) static Ingredient
ForgeHooks.ingredientFromNetwork
(FriendlyByteBuf buffer) static <T extends Ingredient>
booleanForgeHooks.ingredientToNetwork
(FriendlyByteBuf buffer, T ingredient) private static TierSortingRegistry.SyncPacket
TierSortingRegistry.receive
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraftforge.common.crafting.ingredients
Modifier and TypeMethodDescriptionstatic Ingredient
AbstractIngredient.fromNetwork
(FriendlyByteBuf buffer) Deprecated.IIngredientSerializer.read
(FriendlyByteBuf buffer) void
IIngredientSerializer.write
(FriendlyByteBuf buffer, T value) -
Uses of FriendlyByteBuf in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeMenuType.create
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) Modifier and TypeMethodDescriptiondefault void
IForgeServerPlayer.openMenu
(MenuProvider containerSupplier, Consumer<FriendlyByteBuf> extraDataWriter) Request to open a GUI on the client, from the server Refer toConfigScreenHandler.ConfigScreenFactory
for how to provide a function to consume these GUI requests on the client. -
Uses of FriendlyByteBuf in net.minecraftforge.entity
Modifier and TypeMethodDescriptionvoid
IEntityAdditionalSpawnData.readSpawnData
(FriendlyByteBuf additionalData) Called by the client when it receives a Entity spawn packet.void
IEntityAdditionalSpawnData.writeSpawnData
(FriendlyByteBuf buffer) Called by the server when constructing the spawn packet. -
Uses of FriendlyByteBuf in net.minecraftforge.event.network
ModifierConstructorDescriptionCustomPayloadEvent
(ResourceLocation channel, FriendlyByteBuf payload, CustomPayloadEvent.Context source, int loginIndex) -
Uses of FriendlyByteBuf in net.minecraftforge.fluids
Modifier and TypeMethodDescriptionstatic FluidStack
FluidStack.readFromPacket
(FriendlyByteBuf buf) void
FluidStack.writeToPacket
(FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.minecraftforge.network
Modifier and TypeFieldDescriptionprivate final Function<FriendlyByteBuf,
MSG> SimpleChannel.Message.decoder
The field for thedecoder
record component.private Function<FriendlyByteBuf,
MSG> SimpleChannel.MessageBuilder.decoder
private final BiConsumer<MSG,
FriendlyByteBuf> SimpleChannel.Message.encoder
The field for theencoder
record component.private BiConsumer<MSG,
FriendlyByteBuf> SimpleChannel.MessageBuilder.encoder
Modifier and TypeMethodDescription@Nullable FriendlyByteBuf
ICustomPacket.getInternalData()
Returns a unsafe reference to this packet's internal data.abstract FriendlyByteBuf
EventNetworkChannel.toBuffer
(FriendlyByteBuf message) Modifier and TypeMethodDescriptionSimpleChannel.Message.decoder()
Returns the value of thedecoder
record component.SimpleChannel.Message.encoder()
Returns the value of theencoder
record component.Modifier and TypeMethodDescription<T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(FriendlyByteBuf data, ResourceLocation channelName) IContainerFactory.create
(int windowId, Inventory inv, FriendlyByteBuf data) NetworkDirection.Factory.create
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static <MSG> void
SimpleChannel.decodeAndDispatch
(FriendlyByteBuf data, CustomPayloadEvent.Context ctx, SimpleChannel.Message<MSG> msg) private static ClientboundCustomQueryPacket
NetworkDirection.loginClientbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static ServerboundCustomQueryAnswerPacket
NetworkDirection.loginServerbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static ClientboundCustomPayloadPacket
NetworkDirection.playClientbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) private static ServerboundCustomPayloadPacket
NetworkDirection.playServerbound
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) EventNetworkChannel.toBuffer
(FriendlyByteBuf message) private static void
ChannelListManager.updateFrom
(CustomPayloadEvent.Context source, FriendlyByteBuf buffer, ChannelRegistrationChangeEvent.Type changeType) Modifier and TypeMethodDescriptionSimpleChannel.MessageBuilder.decoder
(Function<FriendlyByteBuf, MSG> decoder) Set the message decoder, which reads the message from aFriendlyByteBuf
.SimpleChannel.MessageBuilder.encoder
(BiConsumer<MSG, FriendlyByteBuf> encoder) Set the message encoder, which writes this message to aFriendlyByteBuf
.ModifierConstructorDescriptionprivate
Message
(int index, Class<MSG> type, Optional<NetworkDirection> direction, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, CustomPayloadEvent.Context> consumer) Creates an instance of aMessage
record class.private
Message
(int index, Class<MSG> type, Optional<NetworkDirection> direction, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, CustomPayloadEvent.Context> consumer) Creates an instance of aMessage
record class. -
Uses of FriendlyByteBuf in net.minecraftforge.network.packets
Modifier and TypeFieldDescriptionprivate final FriendlyByteBuf
OpenContainer.additionalData
private final FriendlyByteBuf
SpawnEntity.buf
private final FriendlyByteBuf
LoginWrapper.data
The field for thedata
record component.Modifier and TypeMethodDescriptionLoginWrapper.data()
Returns the value of thedata
record component.OpenContainer.getAdditionalData()
SpawnEntity.getAdditionalData()
private static FriendlyByteBuf
SpawnEntity.readSpawnDataPacket
(FriendlyByteBuf buf) Modifier and TypeMethodDescriptionstatic Acknowledge
Acknowledge.decode
(FriendlyByteBuf buf) static ChannelVersions
ChannelVersions.decode
(FriendlyByteBuf buf) static ConfigData
ConfigData.decode
(FriendlyByteBuf buf) static LoginWrapper
LoginWrapper.decode
(FriendlyByteBuf buf) static MismatchData
MismatchData.decode
(FriendlyByteBuf buf) static ModVersions
ModVersions.decode
(FriendlyByteBuf buf) static OpenContainer
OpenContainer.decode
(FriendlyByteBuf buf) static RegistryData
RegistryData.decode
(FriendlyByteBuf buf) static RegistryList
RegistryList.decode
(FriendlyByteBuf buf) static SpawnEntity
SpawnEntity.decode
(FriendlyByteBuf buf) void
Acknowledge.encode
(FriendlyByteBuf buf) void
ChannelVersions.encode
(FriendlyByteBuf buf) void
ConfigData.encode
(FriendlyByteBuf buf) void
LoginWrapper.encode
(FriendlyByteBuf buf) void
MismatchData.encode
(FriendlyByteBuf buf) void
ModVersions.encode
(FriendlyByteBuf output) static void
OpenContainer.encode
(OpenContainer msg, FriendlyByteBuf buf) void
RegistryData.encode
(FriendlyByteBuf buf) void
RegistryList.encode
(FriendlyByteBuf buf) static void
SpawnEntity.encode
(SpawnEntity msg, FriendlyByteBuf buf) private static FriendlyByteBuf
SpawnEntity.readSpawnDataPacket
(FriendlyByteBuf buf) ModifierConstructorDescriptionLoginWrapper
(ResourceLocation channel, FriendlyByteBuf data) Creates an instance of aLoginWrapper
record class.private
OpenContainer
(int id, int windowId, Component name, FriendlyByteBuf additionalData) OpenContainer
(MenuType<?> id, int windowId, Component name, FriendlyByteBuf additionalData) Use NetworkHooks.openScreenprivate
SpawnEntity
(int typeId, int entityId, UUID uuid, double posX, double posY, double posZ, byte pitch, byte yaw, byte headYaw, int velX, int velY, int velZ, FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.minecraftforge.registries
Modifier and TypeMethodDescriptionstatic ForgeRegistry.Snapshot
ForgeRegistry.Snapshot.read
(FriendlyByteBuf buf) -
Uses of FriendlyByteBuf in net.minecraftforge.server.command
Modifier and TypeMethodDescriptionEnumArgument.Info.deserializeFromNetwork
(FriendlyByteBuf buffer) void
EnumArgument.Info.serializeToNetwork
(EnumArgument.Info<T>.Template template, FriendlyByteBuf buffer)
Ingredient.fromNetwork(FriendlyByteBuf)