Uses of Class
net.minecraft.network.FriendlyByteBuf
Package
Description
-
Uses of FriendlyByteBuf in net.minecraft.advancements
Modifier and TypeMethodDescriptionCriterion.criteriaFromNetwork
(FriendlyByteBuf p_11432_) static Criterion
Criterion.criterionFromNetwork
(FriendlyByteBuf p_11430_) static Advancement.Builder
Advancement.Builder.fromNetwork
(FriendlyByteBuf p_138402_) static AdvancementProgress
AdvancementProgress.fromNetwork
(FriendlyByteBuf p_8212_) static CriterionProgress
CriterionProgress.fromNetwork
(FriendlyByteBuf p_12918_) static DisplayInfo
DisplayInfo.fromNetwork
(FriendlyByteBuf p_14989_) void
Advancement.Builder.serializeToNetwork
(FriendlyByteBuf p_138395_) void
AdvancementProgress.serializeToNetwork
(FriendlyByteBuf p_8205_) static void
Criterion.serializeToNetwork
(Map<String, Criterion> p_11421_, FriendlyByteBuf p_11422_) void
Criterion.serializeToNetwork
(FriendlyByteBuf p_11424_) void
CriterionProgress.serializeToNetwork
(FriendlyByteBuf p_12915_) void
DisplayInfo.serializeToNetwork
(FriendlyByteBuf p_14984_) -
Uses of FriendlyByteBuf in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientChunkCache.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_) ResourceKeyArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_233289_) ResourceOrTagLocationArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_233425_) ScoreHolderArgument.Info.deserializeFromNetwork
(FriendlyByteBuf p_233480_) void
EntityArgument.Info.serializeToNetwork
(EntityArgument.Info.Template p_231271_, FriendlyByteBuf p_231272_) void
ResourceKeyArgument.Info.serializeToNetwork
(ResourceKeyArgument.Info.Template p_233278_, FriendlyByteBuf p_233279_) void
ResourceOrTagLocationArgument.Info.serializeToNetwork
(ResourceOrTagLocationArgument.Info<T>.Template p_233414_, FriendlyByteBuf p_233415_) void
ScoreHolderArgument.Info.serializeToNetwork
(ScoreHolderArgument.Info.Template p_233469_, FriendlyByteBuf p_233470_) 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 Vector3f
DustParticleOptionsBase.readVector3f
(FriendlyByteBuf p_175811_) 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<T>>> ConnectionProtocol.PacketSet.idToDeserializer
Modifier and TypeMethodDescriptionFriendlyByteBuf.writeBlockPos
(BlockPos p_130065_) FriendlyByteBuf.writeByteArray
(byte[] p_130088_) FriendlyByteBuf.writeChunkPos
(ChunkPos p_178342_) FriendlyByteBuf.writeComponent
(Component p_130084_) 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.writeLongArray
(long[] p_130092_) FriendlyByteBuf.writeNbt
(CompoundTag p_130080_) FriendlyByteBuf.writePublicKey
(PublicKey p_236825_) FriendlyByteBuf.writeResourceLocation
(ResourceLocation p_130086_) FriendlyByteBuf.writeSectionPos
(SectionPos p_178344_) FriendlyByteBuf.writeVarInt
(int p_130131_) FriendlyByteBuf.writeVarIntArray
(int[] p_130090_) FriendlyByteBuf.writeVarLong
(long p_130104_) Modifier and TypeMethodDescriptionPacket<?>
ConnectionProtocol.createPacket
(PacketFlow p_178322_, int p_178323_, FriendlyByteBuf p_178324_) Packet<?>
ConnectionProtocol.PacketSet.createPacket
(int p_178328_, FriendlyByteBuf p_178329_) Modifier and TypeMethodDescription<P extends Packet<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 ChatMessageContent
ChatMessageContent.read
(FriendlyByteBuf p_242370_) static FilterMask
FilterMask.read
(FriendlyByteBuf p_243205_) static void
ChatMessageContent.write
(FriendlyByteBuf p_242211_, ChatMessageContent p_242235_) void
ChatType.BoundNetwork.write
(FriendlyByteBuf p_241522_) static void
FilterMask.write
(FriendlyByteBuf p_243308_, FilterMask p_243231_) void
LastSeenMessages.Entry.write
(FriendlyByteBuf p_242253_) void
LastSeenMessages.Update.write
(FriendlyByteBuf p_242221_) void
LastSeenMessages.write
(FriendlyByteBuf p_242309_) void
MessageSignature.write
(FriendlyByteBuf p_241393_) void
MessageSigner.write
(FriendlyByteBuf p_241475_) void
PlayerChatMessage.write
(FriendlyByteBuf p_241490_) void
SignedMessageBody.write
(FriendlyByteBuf p_241357_) void
SignedMessageHeader.write
(FriendlyByteBuf p_241567_) ModifierConstructorDescriptionBoundNetwork
(FriendlyByteBuf p_241341_) Entry
(FriendlyByteBuf p_242242_) LastSeenMessages
(FriendlyByteBuf p_242268_) MessageSignature
(FriendlyByteBuf p_241519_) MessageSigner
(FriendlyByteBuf p_241430_) PlayerChatMessage
(FriendlyByteBuf p_241419_) SignedMessageBody
(FriendlyByteBuf p_241548_) SignedMessageHeader
(FriendlyByteBuf p_241381_) Update
(FriendlyByteBuf p_242184_) -
Uses of FriendlyByteBuf in net.minecraft.network.protocol
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final FriendlyByteBuf
ClientboundCustomPayloadPacket.data
private final FriendlyByteBuf
ServerboundCustomPayloadPacket.data
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 TypeMethodDescriptionClientboundCustomPayloadPacket.getData()
ServerboundCustomPayloadPacket.getData()
ClientboundCustomPayloadPacket.getInternalData()
@Nullable FriendlyByteBuf
ServerboundCustomPayloadPacket.getInternalData()
ClientboundLevelChunkPacketData.getReadBuffer()
Modifier and TypeMethodDescriptionstatic void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf p_195669_, LevelChunk p_195670_) static Recipe<?>
ClientboundUpdateRecipesPacket.fromNetwork
(FriendlyByteBuf p_133648_) 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_) protected abstract ClientboundPlayerInfoPacket.PlayerUpdate
ClientboundPlayerInfoPacket.Action.read
(FriendlyByteBuf p_179091_) 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 <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 void
DebugPackets.sendPacketToAllPlayers
(ServerLevel p_133692_, FriendlyByteBuf p_133693_, ResourceLocation p_133694_) 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_, T p_179471_) void
ClientboundAddEntityPacket.write
(FriendlyByteBuf p_131498_) void
ClientboundAddExperienceOrbPacket.write
(FriendlyByteBuf p_131526_) void
ClientboundAddPlayerPacket.write
(FriendlyByteBuf p_131605_) 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
ClientboundChatPreviewPacket.write
(FriendlyByteBuf p_237602_) 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
ClientboundCustomPayloadPacket.write
(FriendlyByteBuf p_132044_) void
ClientboundCustomSoundPacket.write
(FriendlyByteBuf p_132068_) void
ClientboundDeleteChatPacket.write
(FriendlyByteBuf p_241358_) void
ClientboundDisconnectPacket.write
(FriendlyByteBuf p_132087_) 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
ClientboundInitializeBorderPacket.write
(FriendlyByteBuf p_178881_) void
ClientboundKeepAlivePacket.write
(FriendlyByteBuf p_132221_) (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
ClientboundPingPacket.write
(FriendlyByteBuf p_179020_) void
ClientboundPlaceGhostRecipePacket.write
(FriendlyByteBuf p_132657_) void
ClientboundPlayerAbilitiesPacket.write
(FriendlyByteBuf p_132676_) void
ClientboundPlayerChatHeaderPacket.write
(FriendlyByteBuf p_241388_) void
ClientboundPlayerChatPacket.write
(FriendlyByteBuf p_237755_) void
ClientboundPlayerCombatEndPacket.write
(FriendlyByteBuf p_179044_) void
ClientboundPlayerCombatEnterPacket.write
(FriendlyByteBuf p_179053_) void
ClientboundPlayerCombatKillPacket.write
(FriendlyByteBuf p_179072_) protected abstract void
ClientboundPlayerInfoPacket.Action.write
(FriendlyByteBuf p_179092_, ClientboundPlayerInfoPacket.PlayerUpdate p_179093_) void
ClientboundPlayerInfoPacket.write
(FriendlyByteBuf p_132734_) 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
ClientboundResourcePackPacket.write
(FriendlyByteBuf p_132926_) 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
ClientboundSetDisplayChatPreviewPacket.write
(FriendlyByteBuf p_237819_) 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
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
ClientboundUpdateAdvancementsPacket.write
(FriendlyByteBuf p_133572_) void
ClientboundUpdateAttributesPacket.write
(FriendlyByteBuf p_133590_) void
ClientboundUpdateMobEffectPacket.write
(FriendlyByteBuf p_133621_) void
ClientboundUpdateRecipesPacket.write
(FriendlyByteBuf p_133646_) void
ClientboundUpdateTagsPacket.write
(FriendlyByteBuf p_133661_) 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
ServerboundChatPreviewPacket.write
(FriendlyByteBuf p_237970_) void
ServerboundClientCommandPacket.write
(FriendlyByteBuf p_133852_) void
ServerboundClientInformationPacket.write
(FriendlyByteBuf p_133884_) void
ServerboundCommandSuggestionPacket.write
(FriendlyByteBuf p_133903_) void
ServerboundContainerButtonClickPacket.write
(FriendlyByteBuf p_133937_) void
ServerboundContainerClickPacket.write
(FriendlyByteBuf p_133961_) void
ServerboundContainerClosePacket.write
(FriendlyByteBuf p_133978_) void
ServerboundCustomPayloadPacket.write
(FriendlyByteBuf p_133994_) 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
ServerboundKeepAlivePacket.write
(FriendlyByteBuf p_134104_) 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
ServerboundPongPacket.write
(FriendlyByteBuf p_179727_) void
ServerboundRecipeBookChangeSettingsPacket.write
(FriendlyByteBuf p_134377_) void
ServerboundRecipeBookSeenRecipePacket.write
(FriendlyByteBuf p_134392_) void
ServerboundRenameItemPacket.write
(FriendlyByteBuf p_134405_) void
ServerboundResourcePackPacket.write
(FriendlyByteBuf p_134417_) 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
DebugPackets.writeBrain
(LivingEntity p_179499_, FriendlyByteBuf p_179500_) private static <T> void
ClientboundAwardStatsPacket.writeStatCap
(FriendlyByteBuf p_237570_, Stat<T> p_237571_) ModifierConstructorDescriptionprivate
AddOperation
(FriendlyByteBuf p_178674_) private
BlockEntityInfo
(FriendlyByteBuf p_195690_) ClientboundAddEntityPacket
(FriendlyByteBuf p_178562_) ClientboundAddExperienceOrbPacket
(FriendlyByteBuf p_178564_) ClientboundAddPlayerPacket
(FriendlyByteBuf p_178570_) 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_) ClientboundChatPreviewPacket
(FriendlyByteBuf p_237600_) ClientboundClearTitlesPacket
(FriendlyByteBuf p_178779_) ClientboundCommandsPacket
(FriendlyByteBuf p_178805_) ClientboundContainerClosePacket
(FriendlyByteBuf p_178820_) ClientboundContainerSetDataPacket
(FriendlyByteBuf p_178825_) ClientboundContainerSetSlotPacket
(FriendlyByteBuf p_178829_) ClientboundCooldownPacket
(FriendlyByteBuf p_178831_) ClientboundCustomPayloadPacket
(FriendlyByteBuf p_178836_) ClientboundCustomPayloadPacket
(ResourceLocation p_132034_, FriendlyByteBuf p_132035_) ClientboundCustomSoundPacket
(FriendlyByteBuf p_178839_) ClientboundDeleteChatPacket
(FriendlyByteBuf p_241415_) ClientboundDisconnectPacket
(FriendlyByteBuf p_178841_) ClientboundEntityEventPacket
(FriendlyByteBuf p_178843_) ClientboundExplodePacket
(FriendlyByteBuf p_178845_) ClientboundForgetLevelChunkPacket
(FriendlyByteBuf p_178858_) ClientboundGameEventPacket
(FriendlyByteBuf p_178865_) ClientboundHorseScreenOpenPacket
(FriendlyByteBuf p_178867_) ClientboundInitializeBorderPacket
(FriendlyByteBuf p_178879_) ClientboundKeepAlivePacket
(FriendlyByteBuf p_178895_) 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_) ClientboundPingPacket
(FriendlyByteBuf p_179018_) ClientboundPlaceGhostRecipePacket
(FriendlyByteBuf p_179027_) ClientboundPlayerAbilitiesPacket
(FriendlyByteBuf p_179033_) ClientboundPlayerChatHeaderPacket
(FriendlyByteBuf p_241327_) ClientboundPlayerChatPacket
(FriendlyByteBuf p_237741_) ClientboundPlayerCombatEndPacket
(FriendlyByteBuf p_179042_) ClientboundPlayerCombatKillPacket
(FriendlyByteBuf p_179069_) ClientboundPlayerInfoPacket
(FriendlyByteBuf p_179081_) ClientboundPlayerLookAtPacket
(FriendlyByteBuf p_179146_) ClientboundPlayerPositionPacket
(FriendlyByteBuf p_179158_) ClientboundRecipePacket
(FriendlyByteBuf p_179162_) ClientboundRemoveEntitiesPacket
(FriendlyByteBuf p_182721_) ClientboundRemoveMobEffectPacket
(FriendlyByteBuf p_179177_) ClientboundResourcePackPacket
(FriendlyByteBuf p_179187_) 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_) ClientboundUpdateAttributesPacket
(FriendlyByteBuf p_179447_) ClientboundUpdateMobEffectPacket
(FriendlyByteBuf p_179466_) ClientboundUpdateRecipesPacket
(FriendlyByteBuf p_179468_) ClientboundUpdateTagsPacket
(FriendlyByteBuf p_179475_) 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_) ServerboundChatPreviewPacket
(FriendlyByteBuf p_237968_) ServerboundClientCommandPacket
(FriendlyByteBuf p_179547_) ServerboundContainerClickPacket
(FriendlyByteBuf p_179578_) ServerboundContainerClosePacket
(FriendlyByteBuf p_179584_) ServerboundCustomPayloadPacket
(FriendlyByteBuf p_179588_) ServerboundCustomPayloadPacket
(ResourceLocation p_133985_, FriendlyByteBuf p_133986_) ServerboundEditBookPacket
(FriendlyByteBuf p_179592_) ServerboundEntityTagQuery
(FriendlyByteBuf p_179594_) ServerboundInteractPacket
(FriendlyByteBuf p_179602_) ServerboundJigsawGeneratePacket
(FriendlyByteBuf p_179669_) ServerboundKeepAlivePacket
(FriendlyByteBuf p_179671_) 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_) ServerboundPongPacket
(FriendlyByteBuf p_179725_) ServerboundRenameItemPacket
(FriendlyByteBuf p_179738_) ServerboundResourcePackPacket
(FriendlyByteBuf p_179740_) 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 TypeFieldDescriptionprivate final FriendlyByteBuf
ClientboundCustomQueryPacket.data
private final FriendlyByteBuf
ServerboundCustomQueryPacket.data
Modifier and TypeMethodDescriptionClientboundCustomQueryPacket.getData()
ServerboundCustomQueryPacket.getData()
@Nullable FriendlyByteBuf
ClientboundCustomQueryPacket.getInternalData()
@Nullable FriendlyByteBuf
ServerboundCustomQueryPacket.getInternalData()
Modifier and TypeMethodDescriptionvoid
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
ServerboundCustomQueryPacket.write
(FriendlyByteBuf p_134838_) void
ServerboundHelloPacket.write
(FriendlyByteBuf p_134851_) void
ServerboundKeyPacket.write
(FriendlyByteBuf p_134870_) ModifierConstructorDescriptionClientboundCustomQueryPacket
(int p_179806_, ResourceLocation p_179807_, FriendlyByteBuf p_179808_) ClientboundCustomQueryPacket
(FriendlyByteBuf p_179810_) ClientboundGameProfilePacket
(FriendlyByteBuf p_179814_) ClientboundHelloPacket
(FriendlyByteBuf p_179816_) ClientboundLoginCompressionPacket
(FriendlyByteBuf p_179818_) ClientboundLoginDisconnectPacket
(FriendlyByteBuf p_179820_) ServerboundCustomQueryPacket
(int p_134829_, FriendlyByteBuf p_134830_) ServerboundCustomQueryPacket
(FriendlyByteBuf p_179823_) ServerboundHelloPacket
(FriendlyByteBuf p_179827_) ServerboundKeyPacket
(FriendlyByteBuf p_179829_) -
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 TypeMethodDescriptionprivate static <T> SynchedEntityData.DataItem<T>
SynchedEntityData.genericHelper
(FriendlyByteBuf p_135364_, int p_135365_, EntityDataSerializer<T> p_135366_) static void
SynchedEntityData.pack
(List<SynchedEntityData.DataItem<?>> p_135359_, FriendlyByteBuf p_135360_) EntityDataSerializer.read
(FriendlyByteBuf p_135024_) static List<SynchedEntityData.DataItem<?>>
SynchedEntityData.unpack
(FriendlyByteBuf p_135362_) void
EntityDataSerializer.write
(FriendlyByteBuf p_135025_, T p_135026_) private static <T> void
SynchedEntityData.writeDataItem
(FriendlyByteBuf p_135368_, SynchedEntityData.DataItem<T> p_135369_) -
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
(ResourceLocation p_44105_, FriendlyByteBuf p_44106_) ShapedRecipe.Serializer.fromNetwork
(ResourceLocation p_44239_, FriendlyByteBuf p_44240_) ShapelessRecipe.Serializer.fromNetwork
(ResourceLocation p_44293_, FriendlyByteBuf p_44294_) SimpleCookingSerializer.fromNetwork
(ResourceLocation p_44350_, FriendlyByteBuf p_44351_) SimpleRecipeSerializer.fromNetwork
(ResourceLocation p_44407_, FriendlyByteBuf p_44408_) SingleItemRecipe.Serializer.fromNetwork
(ResourceLocation p_44452_, FriendlyByteBuf p_44453_) UpgradeRecipe.Serializer.fromNetwork
(ResourceLocation p_44565_, FriendlyByteBuf p_44566_) 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
ShapelessRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44281_, ShapelessRecipe p_44282_) void
SimpleCookingSerializer.toNetwork
(FriendlyByteBuf p_44335_, T p_44336_) void
SimpleRecipeSerializer.toNetwork
(FriendlyByteBuf p_44401_, T p_44402_) void
SingleItemRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44440_, T p_44441_) void
UpgradeRecipe.Serializer.toNetwork
(FriendlyByteBuf p_44553_, UpgradeRecipe p_44554_) -
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
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_) 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) private static TierSortingRegistry.SyncPacket
TierSortingRegistry.receive
(FriendlyByteBuf buffer) -
Uses of FriendlyByteBuf in net.minecraftforge.common.crafting
Modifier and TypeMethodDescriptionstatic Ingredient
AbstractIngredient.fromNetwork
(FriendlyByteBuf buffer) Deprecated.ConditionalRecipe.Serializer.fromNetwork
(ResourceLocation recipeId, FriendlyByteBuf buffer) static Ingredient
CraftingHelper.getIngredient
(ResourceLocation type, FriendlyByteBuf buffer) CompoundIngredient.Serializer.parse
(FriendlyByteBuf buffer) DifferenceIngredient.Serializer.parse
(FriendlyByteBuf buffer) IIngredientSerializer.parse
(FriendlyByteBuf buffer) IntersectionIngredient.Serializer.parse
(FriendlyByteBuf buffer) PartialNBTIngredient.Serializer.parse
(FriendlyByteBuf buffer) StrictNBTIngredient.Serializer.parse
(FriendlyByteBuf buffer) VanillaIngredientSerializer.parse
(FriendlyByteBuf buffer) void
ConditionalRecipe.Serializer.toNetwork
(FriendlyByteBuf buffer, T recipe) void
CompoundIngredient.Serializer.write
(FriendlyByteBuf buffer, CompoundIngredient ingredient) static <T extends Ingredient>
voidCraftingHelper.write
(FriendlyByteBuf buffer, T ingredient) void
DifferenceIngredient.Serializer.write
(FriendlyByteBuf buffer, DifferenceIngredient ingredient) void
IIngredientSerializer.write
(FriendlyByteBuf buffer, T ingredient) void
IntersectionIngredient.Serializer.write
(FriendlyByteBuf buffer, IntersectionIngredient intersection) void
PartialNBTIngredient.Serializer.write
(FriendlyByteBuf buffer, PartialNBTIngredient ingredient) void
StrictNBTIngredient.Serializer.write
(FriendlyByteBuf buffer, StrictNBTIngredient ingredient) void
VanillaIngredientSerializer.write
(FriendlyByteBuf buffer, Ingredient ingredient) -
Uses of FriendlyByteBuf in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeMenuType.create
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) -
Uses of FriendlyByteBuf in net.minecraftforge.debug.misc
ModifierConstructorDescriptionprotected
TestContainer
(int windowId, Inventory playerInv, FriendlyByteBuf extraData) -
Uses of FriendlyByteBuf in net.minecraftforge.debug.recipe.recipebook
Modifier and TypeMethodDescription@Nullable RecipeBookTestRecipe
RecipeBookTestRecipeSerializer.fromNetwork
(ResourceLocation id, FriendlyByteBuf buf) void
RecipeBookTestRecipeSerializer.toNetwork
(FriendlyByteBuf buffer, RecipeBookTestRecipe recipe) ModifierConstructorDescriptionRecipeBookTestMenu
(int id, Inventory inv, FriendlyByteBuf extraData) -
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.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 FriendlyByteBuf
PlayMessages.OpenContainer.additionalData
private final FriendlyByteBuf
PlayMessages.SpawnEntity.buf
private final FriendlyByteBuf
NetworkRegistry.LoginPayload.data
The data for sendingprivate final FriendlyByteBuf
NetworkEvent.payload
Modifier and TypeFieldDescriptionprivate final BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,
Integer>, ResourceLocation, ICustomPacket<?>> NetworkEvent.PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
(package private) BiConsumer<ResourceLocation,
FriendlyByteBuf> NetworkEvent.PacketDispatcher.packetSink
Modifier and TypeMethodDescriptionPlayMessages.OpenContainer.getAdditionalData()
PlayMessages.SpawnEntity.getAdditionalData()
NetworkRegistry.LoginPayload.getData()
@Nullable FriendlyByteBuf
ICustomPacket.getInternalData()
Returns a unsafe reference to this packet's internal data.NetworkEvent.getPayload()
private static FriendlyByteBuf
PlayMessages.SpawnEntity.readSpawnDataPacket
(FriendlyByteBuf buf) private FriendlyByteBuf
LoginWrapper.wrapPacket
(ResourceLocation rl, FriendlyByteBuf buf) Modifier and TypeMethodDescriptionvoid
NetworkEvent.GatherLoginPayloadsEvent.add
(FriendlyByteBuf buffer, ResourceLocation channelName, String context) void
NetworkEvent.GatherLoginPayloadsEvent.add
(FriendlyByteBuf buffer, ResourceLocation channelName, String context, boolean needsResponse) IContainerFactory.create
(int windowId, Inventory inv, FriendlyByteBuf data) NetworkDirection.Factory.create
(FriendlyByteBuf data, Integer index, ResourceLocation channelName) HandshakeMessages.C2SAcknowledge.decode
(FriendlyByteBuf buf) HandshakeMessages.C2SModListReply.decode
(FriendlyByteBuf input) HandshakeMessages.S2CChannelMismatchData.decode
(FriendlyByteBuf input) HandshakeMessages.S2CConfigData.decode
(FriendlyByteBuf buffer) static HandshakeMessages.S2CModData
HandshakeMessages.S2CModData.decode
(FriendlyByteBuf input) static HandshakeMessages.S2CModList
HandshakeMessages.S2CModList.decode
(FriendlyByteBuf input) HandshakeMessages.S2CRegistry.decode
(FriendlyByteBuf buffer) static PlayMessages.OpenContainer
PlayMessages.OpenContainer.decode
(FriendlyByteBuf buf) static PlayMessages.SpawnEntity
PlayMessages.SpawnEntity.decode
(FriendlyByteBuf buf) private void
NetworkEvent.PacketDispatcher.NetworkManagerDispatcher.dispatchPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer) void
HandshakeMessages.C2SAcknowledge.encode
(FriendlyByteBuf buf) void
HandshakeMessages.C2SModListReply.encode
(FriendlyByteBuf output) void
HandshakeMessages.S2CChannelMismatchData.encode
(FriendlyByteBuf output) (package private) void
HandshakeMessages.S2CConfigData.encode
(FriendlyByteBuf buffer) void
HandshakeMessages.S2CModData.encode
(FriendlyByteBuf output) void
HandshakeMessages.S2CModList.encode
(FriendlyByteBuf output) (package private) void
HandshakeMessages.S2CRegistry.encode
(FriendlyByteBuf buffer) static void
PlayMessages.OpenContainer.encode
(PlayMessages.OpenContainer msg, FriendlyByteBuf buf) static void
PlayMessages.SpawnEntity.encode
(PlayMessages.SpawnEntity msg, FriendlyByteBuf buf) private static FriendlyByteBuf
PlayMessages.SpawnEntity.readSpawnDataPacket
(FriendlyByteBuf buf) void
NetworkEvent.PacketDispatcher.sendPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer) (package private) void
LoginWrapper.sendServerToClientLoginPacket
(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager) void
MCRegisterPacketHandler.ChannelList.updateFrom
(Supplier<NetworkEvent.Context> source, FriendlyByteBuf buffer, NetworkEvent.RegistrationChangeType changeType) private FriendlyByteBuf
LoginWrapper.wrapPacket
(ResourceLocation rl, FriendlyByteBuf buf) Modifier and TypeMethodDescription<T extends Packet<?>>
ICustomPacket<T>NetworkDirection.buildPacket
(org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf, Integer> packetData, ResourceLocation channelName) static void
NetworkHooks.openScreen
(ServerPlayer player, 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.ModifierConstructorDescriptionLoginPayload
(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext) LoginPayload
(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext, boolean needsResponse) (package private)
LoginPayloadEvent
(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex) private
NetworkEvent
(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> source, int loginIndex) private
OpenContainer
(int id, int windowId, Component name, FriendlyByteBuf additionalData) (package private)
OpenContainer
(MenuType<?> id, int windowId, Component name, FriendlyByteBuf additionalData) private
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) ModifierConstructorDescription(package private)
Context
(Connection networkManager, NetworkDirection networkDirection, BiConsumer<ResourceLocation, FriendlyByteBuf> packetSink) (package private)
NetworkManagerDispatcher
(Connection manager, int packetIndex, BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf, Integer>, ResourceLocation, ICustomPacket<?>> customPacketSupplier) (package private)
PacketDispatcher
(BiConsumer<ResourceLocation, FriendlyByteBuf> packetSink) -
Uses of FriendlyByteBuf in net.minecraftforge.network.filters
Modifier and TypeFieldDescriptionprivate static final List<FriendlyByteBuf>
VanillaPacketSplitter.receivedBuffers
-
Uses of FriendlyByteBuf in net.minecraftforge.network.simple
Modifier and TypeFieldDescriptionprivate final Optional<Function<FriendlyByteBuf,
MSG>> IndexedMessageCodec.MessageHandler.decoder
private Function<FriendlyByteBuf,
MSG> SimpleChannel.MessageBuilder.decoder
private final Optional<BiConsumer<MSG,
FriendlyByteBuf>> IndexedMessageCodec.MessageHandler.encoder
private BiConsumer<MSG,
FriendlyByteBuf> SimpleChannel.MessageBuilder.encoder
Modifier and TypeMethodDescriptionprivate <MSG> org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,
Integer> SimpleChannel.toBuffer
(MSG msg) Modifier and TypeMethodDescription<MSG> int
IndexedMessageCodec.build
(MSG message, FriendlyByteBuf target) (package private) void
IndexedMessageCodec.consume
(FriendlyByteBuf payload, int payloadIndex, Supplier<NetworkEvent.Context> context) <MSG> int
SimpleChannel.encodeMessage
(MSG message, FriendlyByteBuf target) private static <M> void
IndexedMessageCodec.tryDecode
(FriendlyByteBuf payload, Supplier<NetworkEvent.Context> context, int payloadIndex, IndexedMessageCodec.MessageHandler<M> codec) private static <M> int
IndexedMessageCodec.tryEncode
(FriendlyByteBuf target, M message, IndexedMessageCodec.MessageHandler<M> codec) Modifier and TypeMethodDescription(package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec.addCodecIndex
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) (package private) <MSG> IndexedMessageCodec.MessageHandler<MSG>
IndexedMessageCodec.addCodecIndex
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) SimpleChannel.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
.<MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) <MSG> IndexedMessageCodec.MessageHandler<MSG>
SimpleChannel.registerMessage
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) ModifierConstructorDescriptionMessageHandler
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) MessageHandler
(int index, Class<MSG> messageType, BiConsumer<MSG, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, MSG> decoder, BiConsumer<MSG, Supplier<NetworkEvent.Context>> messageConsumer, Optional<NetworkDirection> networkDirection) -
Uses of FriendlyByteBuf in net.minecraftforge.registries
Modifier and TypeMethodDescriptionstatic ForgeRegistry.Snapshot
ForgeRegistry.Snapshot.read
(FriendlyByteBuf buff) -
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)