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_171616_, int p_171617_, ChunkBiomeContainer p_171618_, FriendlyByteBuf p_171619_, CompoundTag p_171620_, BitSet p_171621_)
-
Uses of FriendlyByteBuf in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionEntityArgument.Serializer.deserializeFromNetwork(FriendlyByteBuf p_91500_)
ScoreHolderArgument.Serializer.deserializeFromNetwork(FriendlyByteBuf p_108274_)
void
EntityArgument.Serializer.serializeToNetwork(EntityArgument p_91497_, FriendlyByteBuf p_91498_)
void
ScoreHolderArgument.Serializer.serializeToNetwork(ScoreHolderArgument p_108271_, FriendlyByteBuf p_108272_)
-
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.arguments.ArgumentType<?>
ArgumentTypes.deserialize(FriendlyByteBuf p_121610_)
ArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121581_)
EmptyArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121640_)
static <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
voidArgumentTypes.serialize(FriendlyByteBuf p_121612_, T p_121613_)
void
ArgumentSerializer.serializeToNetwork(T p_121579_, FriendlyByteBuf p_121580_)
void
EmptyArgumentSerializer.serializeToNetwork(T p_121637_, FriendlyByteBuf p_121638_)
-
Uses of FriendlyByteBuf in net.minecraft.commands.synchronization.brigadier
Modifier and TypeMethodDescriptioncom.mojang.brigadier.arguments.DoubleArgumentType
DoubleArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121707_)
com.mojang.brigadier.arguments.FloatArgumentType
FloatArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121724_)
com.mojang.brigadier.arguments.IntegerArgumentType
IntegerArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121741_)
com.mojang.brigadier.arguments.LongArgumentType
LongArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121758_)
com.mojang.brigadier.arguments.StringArgumentType
StringArgumentSerializer.deserializeFromNetwork(FriendlyByteBuf p_121775_)
void
DoubleArgumentSerializer.serializeToNetwork(com.mojang.brigadier.arguments.DoubleArgumentType p_121704_, FriendlyByteBuf p_121705_)
void
FloatArgumentSerializer.serializeToNetwork(com.mojang.brigadier.arguments.FloatArgumentType p_121721_, FriendlyByteBuf p_121722_)
void
IntegerArgumentSerializer.serializeToNetwork(com.mojang.brigadier.arguments.IntegerArgumentType p_121738_, FriendlyByteBuf p_121739_)
void
LongArgumentSerializer.serializeToNetwork(com.mojang.brigadier.arguments.LongArgumentType p_121755_, FriendlyByteBuf p_121756_)
void
StringArgumentSerializer.serializeToNetwork(com.mojang.brigadier.arguments.StringArgumentType p_121772_, FriendlyByteBuf p_121773_)
-
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
SimpleParticleType.writeToNetwork(FriendlyByteBuf p_123840_)
void
VibrationParticleOption.writeToNetwork(FriendlyByteBuf p_175854_)
-
Uses of FriendlyByteBuf in net.minecraft.network
Modifier and TypeFieldDescriptionprivate 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.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_)
<T, C extends Collection<T>>
CFriendlyByteBuf.readCollection(IntFunction<C> p_178372_, Function<FriendlyByteBuf,T> p_178373_)
<T> List<T>
FriendlyByteBuf.readList(Function<FriendlyByteBuf,T> p_178367_)
<K, V> Map<K,V>
FriendlyByteBuf.readMap(Function<FriendlyByteBuf,K> p_178369_, Function<FriendlyByteBuf,V> p_178370_)
<K, V, M extends Map<K, V>>
MFriendlyByteBuf.readMap(IntFunction<M> p_178375_, Function<FriendlyByteBuf,K> p_178376_, Function<FriendlyByteBuf,V> p_178377_)
<T> Optional<T>
FriendlyByteBuf.readOptional(Function<FriendlyByteBuf,T> p_182699_)
void
FriendlyByteBuf.readWithCount(Consumer<FriendlyByteBuf> p_178365_)
<T> void
FriendlyByteBuf.writeCollection(Collection<T> p_178353_, BiConsumer<FriendlyByteBuf,T> p_178354_)
<K, V> void
FriendlyByteBuf.writeMap(Map<K,V> p_178356_, BiConsumer<FriendlyByteBuf,K> p_178357_, BiConsumer<FriendlyByteBuf,V> p_178358_)
<T> void
FriendlyByteBuf.writeOptional(Optional<T> p_182688_, BiConsumer<FriendlyByteBuf,T> p_182689_)
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate FriendlyByteBuf
ClientboundCustomPayloadPacket.data
private FriendlyByteBuf
ServerboundCustomPayloadPacket.data
Modifier and TypeFieldDescription(package private) Function<FriendlyByteBuf,ClientboundBossEventPacket.Operation>
ClientboundBossEventPacket.OperationType.reader
(package private) Function<FriendlyByteBuf,ServerboundInteractPacket.Action>
ServerboundInteractPacket.ActionType.reader
Modifier and TypeMethodDescriptionClientboundCustomPayloadPacket.getData()
ServerboundCustomPayloadPacket.getData()
ClientboundLevelChunkPacket.getReadBuffer()
Modifier and TypeMethodDescriptionprivate static com.mojang.brigadier.builder.ArgumentBuilder<SharedSuggestionProvider,?>
ClientboundCommandsPacket.createBuilder(FriendlyByteBuf p_131869_, byte p_131870_)
ClientboundLevelChunkPacket.extractChunkData(FriendlyByteBuf p_178904_, LevelChunk p_178905_)
static Recipe<?>
ClientboundUpdateRecipesPacket.fromNetwork(FriendlyByteBuf p_133648_)
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_)
(package private) static Component
ClientboundPlayerInfoPacket.readDisplayName(FriendlyByteBuf p_179089_)
private static ClientboundCommandsPacket.Entry
ClientboundCommandsPacket.readNode(FriendlyByteBuf p_131888_)
private <T extends ParticleOptions>
TClientboundLevelParticlesPacket.readParticle(FriendlyByteBuf p_132305_, ParticleType<T> p_132306_)
private static void
DebugPackets.sendPacketToAllPlayers(ServerLevel p_133692_, FriendlyByteBuf p_133693_, ResourceLocation p_133694_)
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
ClientboundAddMobPacket.write(FriendlyByteBuf p_131554_)
void
ClientboundAddPaintingPacket.write(FriendlyByteBuf p_131582_)
void
ClientboundAddPlayerPacket.write(FriendlyByteBuf p_131605_)
void
ClientboundAddVibrationSignalPacket.write(FriendlyByteBuf p_178577_)
void
ClientboundAnimatePacket.write(FriendlyByteBuf p_131626_)
void
ClientboundAwardStatsPacket.write(FriendlyByteBuf p_131645_)
void
ClientboundBlockBreakAckPacket.write(FriendlyByteBuf p_131667_)
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
ClientboundChatPacket.write(FriendlyByteBuf p_131838_)
void
ClientboundClearTitlesPacket.write(FriendlyByteBuf p_178783_)
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
ClientboundCustomPayloadPacket.write(FriendlyByteBuf p_132044_)
void
ClientboundCustomSoundPacket.write(FriendlyByteBuf p_132068_)
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_)
void
ClientboundLevelChunkPacket.write(FriendlyByteBuf p_132249_)
void
ClientboundLevelEventPacket.write(FriendlyByteBuf p_132276_)
void
ClientboundLevelParticlesPacket.write(FriendlyByteBuf p_132313_)
void
ClientboundLightUpdatePacket.write(FriendlyByteBuf p_132351_)
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
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
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
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
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
ServerboundChatPacket.write(FriendlyByteBuf p_133839_)
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_)
(package private) static void
ClientboundPlayerInfoPacket.writeDisplayName(FriendlyByteBuf p_179086_, Component p_179087_)
private static void
ClientboundCommandsPacket.writeNode(FriendlyByteBuf p_131872_, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> p_131873_, Map<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>,Integer> p_131874_)
ModifierConstructorDescriptionprivate
AddOperation(FriendlyByteBuf p_178674_)
ClientboundAddEntityPacket(FriendlyByteBuf p_178562_)
ClientboundAddExperienceOrbPacket(FriendlyByteBuf p_178564_)
ClientboundAddMobPacket(FriendlyByteBuf p_178566_)
ClientboundAddPaintingPacket(FriendlyByteBuf p_178568_)
ClientboundAddPlayerPacket(FriendlyByteBuf p_178570_)
ClientboundAddVibrationSignalPacket(FriendlyByteBuf p_178575_)
ClientboundAnimatePacket(FriendlyByteBuf p_178590_)
ClientboundAwardStatsPacket(FriendlyByteBuf p_178592_)
ClientboundBlockBreakAckPacket(FriendlyByteBuf p_178604_)
ClientboundBlockDestructionPacket(FriendlyByteBuf p_178606_)
ClientboundBlockEntityDataPacket(FriendlyByteBuf p_178621_)
ClientboundBlockEventPacket(FriendlyByteBuf p_178623_)
ClientboundBlockUpdatePacket(FriendlyByteBuf p_178628_)
ClientboundBossEventPacket(FriendlyByteBuf p_178638_)
ClientboundChangeDifficultyPacket(FriendlyByteBuf p_178774_)
ClientboundChatPacket(FriendlyByteBuf p_178776_)
ClientboundClearTitlesPacket(FriendlyByteBuf p_178779_)
ClientboundCommandsPacket(FriendlyByteBuf p_178805_)
ClientboundCommandSuggestionsPacket(FriendlyByteBuf p_178790_)
ClientboundContainerClosePacket(FriendlyByteBuf p_178820_)
ClientboundContainerSetContentPacket(FriendlyByteBuf p_178823_)
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_)
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_)
ClientboundLevelChunkPacket(FriendlyByteBuf p_178900_)
ClientboundLevelEventPacket(FriendlyByteBuf p_178908_)
ClientboundLevelParticlesPacket(FriendlyByteBuf p_178910_)
ClientboundLightUpdatePacket(FriendlyByteBuf p_178918_)
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_)
ClientboundPlayerCombatEndPacket(FriendlyByteBuf p_179042_)
ClientboundPlayerCombatEnterPacket(FriendlyByteBuf p_179051_)
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_)
ClientboundSectionBlocksUpdatePacket(FriendlyByteBuf p_179196_)
ClientboundSetActionBarTextPacket(FriendlyByteBuf p_179201_)
ClientboundSetBorderCenterPacket(FriendlyByteBuf p_179216_)
ClientboundSetBorderLerpSizePacket(FriendlyByteBuf p_179231_)
ClientboundSetBorderSizePacket(FriendlyByteBuf p_179245_)
ClientboundSetCameraPacket(FriendlyByteBuf p_179278_)
ClientboundSetCarriedItemPacket(FriendlyByteBuf p_179280_)
ClientboundSetChunkCacheCenterPacket(FriendlyByteBuf p_179282_)
ClientboundSetChunkCacheRadiusPacket(FriendlyByteBuf p_179284_)
ClientboundSetDisplayObjectivePacket(FriendlyByteBuf p_179288_)
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_)
ClientboundSetTitlesAnimationPacket(FriendlyByteBuf p_179408_)
ClientboundSetTitleTextPacket(FriendlyByteBuf p_179390_)
ClientboundSoundEntityPacket(FriendlyByteBuf p_179419_)
ClientboundSoundPacket(FriendlyByteBuf p_179422_)
ClientboundStopSoundPacket(FriendlyByteBuf p_179426_)
ClientboundTabListPacket(FriendlyByteBuf p_179428_)
ClientboundTagQueryPacket(FriendlyByteBuf p_179433_)
ClientboundTakeItemEntityPacket(FriendlyByteBuf p_179435_)
ClientboundTeleportEntityPacket(FriendlyByteBuf p_179437_)
ClientboundUpdateAdvancementsPacket(FriendlyByteBuf p_179439_)
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_)
ServerboundAcceptTeleportationPacket(FriendlyByteBuf p_179538_)
ServerboundBlockEntityTagQuery(FriendlyByteBuf p_179540_)
ServerboundChangeDifficultyPacket(FriendlyByteBuf p_179542_)
ServerboundChatPacket(FriendlyByteBuf p_179545_)
ServerboundClientCommandPacket(FriendlyByteBuf p_179547_)
ServerboundClientInformationPacket(FriendlyByteBuf p_179560_)
ServerboundCommandSuggestionPacket(FriendlyByteBuf p_179565_)
ServerboundContainerButtonClickPacket(FriendlyByteBuf p_179567_)
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_)
ServerboundRecipeBookSeenRecipePacket(FriendlyByteBuf p_179736_)
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_)
ServerboundSetCommandMinecartPacket(FriendlyByteBuf p_179758_)
ServerboundSetCreativeModeSlotPacket(FriendlyByteBuf p_179760_)
ServerboundSetJigsawBlockPacket(FriendlyByteBuf p_179766_)
ServerboundSetStructureBlockPacket(FriendlyByteBuf p_179786_)
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
ActionType(Function<FriendlyByteBuf,ServerboundInteractPacket.Action> p_179636_)
private
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.handshake
-
Uses of FriendlyByteBuf in net.minecraft.network.protocol.login
Modifier and TypeFieldDescriptionprivate FriendlyByteBuf
ClientboundCustomQueryPacket.data
private FriendlyByteBuf
ServerboundCustomQueryPacket.data
Modifier and TypeMethodDescriptionClientboundCustomQueryPacket.getData()
ServerboundCustomQueryPacket.getData()
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 TypeMethodDescriptionstatic TagCollection.NetworkPayload
TagCollection.NetworkPayload.read(FriendlyByteBuf p_144431_)
void
TagCollection.NetworkPayload.write(FriendlyByteBuf p_144429_)
-
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_)
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
LevelChunk.replaceWithPacketData(ChunkBiomeContainer p_156384_, FriendlyByteBuf p_156385_, CompoundTag p_156386_, BitSet p_156387_)
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.write(FriendlyByteBuf p_63136_)
-
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.gameevent.vibrations
Modifier and TypeMethodDescriptionstatic VibrationPath
VibrationPath.read(FriendlyByteBuf p_157944_)
static void
VibrationPath.write(FriendlyByteBuf p_157946_, VibrationPath p_157947_)
-
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 TypeMethodDescriptionConditionalRecipe.Serializer.fromNetwork(ResourceLocation recipeId, FriendlyByteBuf buffer)
static Ingredient
CraftingHelper.getIngredient(ResourceLocation type, FriendlyByteBuf buffer)
CompoundIngredient.Serializer.parse(FriendlyByteBuf buffer)
IIngredientSerializer.parse(FriendlyByteBuf buffer)
NBTIngredient.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
IIngredientSerializer.write(FriendlyByteBuf buffer, T ingredient)
void
NBTIngredient.Serializer.write(FriendlyByteBuf buffer, NBTIngredient ingredient)
void
VanillaIngredientSerializer.write(FriendlyByteBuf buffer, Ingredient ingredient)
-
Uses of FriendlyByteBuf in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeContainerType.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.fluids
Modifier and TypeMethodDescriptionstatic FluidStack
FluidStack.readFromPacket(FriendlyByteBuf buf)
void
FluidStack.writeToPacket(FriendlyByteBuf buf)
-
Uses of FriendlyByteBuf in net.minecraftforge.fmllegacy.common.registry
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.fmllegacy.network
Modifier and TypeFieldDescriptionprivate FriendlyByteBuf
FMLPlayMessages.OpenContainer.additionalData
private FriendlyByteBuf
FMLPlayMessages.SpawnEntity.buf
private FriendlyByteBuf
NetworkRegistry.LoginPayload.data
The data for sendingprivate FriendlyByteBuf
NetworkEvent.payload
Modifier and TypeFieldDescriptionprivate BiFunction<org.apache.commons.lang3.tuple.Pair<FriendlyByteBuf,Integer>,ResourceLocation,ICustomPacket<?>>
PacketDispatcher.NetworkManagerDispatcher.customPacketSupplier
(package private) BiConsumer<ResourceLocation,FriendlyByteBuf>
PacketDispatcher.packetSink
Modifier and TypeMethodDescriptionFMLPlayMessages.OpenContainer.getAdditionalData()
FMLPlayMessages.SpawnEntity.getAdditionalData()
NetworkRegistry.LoginPayload.getData()
default FriendlyByteBuf
ICustomPacket.getInternalData()
NetworkEvent.getPayload()
private FriendlyByteBuf
FMLLoginWrapper.wrapPacket(ResourceLocation rl, FriendlyByteBuf buf)
Modifier and TypeMethodDescriptionvoid
NetworkEvent.GatherLoginPayloadsEvent.add(FriendlyByteBuf buffer, ResourceLocation channelName, String context)
IContainerFactory.create(int windowId, Inventory inv, FriendlyByteBuf data)
FMLHandshakeMessages.C2SAcknowledge.decode(FriendlyByteBuf buf)
FMLHandshakeMessages.C2SModListReply.decode(FriendlyByteBuf input)
FMLHandshakeMessages.S2CConfigData.decode(FriendlyByteBuf buffer)
FMLHandshakeMessages.S2CModList.decode(FriendlyByteBuf input)
FMLHandshakeMessages.S2CRegistry.decode(FriendlyByteBuf buffer)
FMLPlayMessages.OpenContainer.decode(FriendlyByteBuf buf)
static FMLPlayMessages.SpawnEntity
FMLPlayMessages.SpawnEntity.decode(FriendlyByteBuf buf)
private void
PacketDispatcher.NetworkManagerDispatcher.dispatchPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer)
void
FMLHandshakeMessages.C2SAcknowledge.encode(FriendlyByteBuf buf)
void
FMLHandshakeMessages.C2SModListReply.encode(FriendlyByteBuf output)
(package private) void
FMLHandshakeMessages.S2CConfigData.encode(FriendlyByteBuf buffer)
void
FMLHandshakeMessages.S2CModList.encode(FriendlyByteBuf output)
(package private) void
FMLHandshakeMessages.S2CRegistry.encode(FriendlyByteBuf buffer)
static void
FMLPlayMessages.OpenContainer.encode(FMLPlayMessages.OpenContainer msg, FriendlyByteBuf buf)
static void
FMLPlayMessages.SpawnEntity.encode(FMLPlayMessages.SpawnEntity msg, FriendlyByteBuf buf)
void
PacketDispatcher.sendPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer)
(package private) void
FMLLoginWrapper.sendServerToClientLoginPacket(ResourceLocation resourceLocation, FriendlyByteBuf buffer, int index, Connection manager)
default void
ICustomPacket.setData(FriendlyByteBuf buffer)
void
FMLMCRegisterPacketHandler.ChannelList.updateFrom(Supplier<NetworkEvent.Context> source, FriendlyByteBuf buffer, NetworkEvent.RegistrationChangeType changeType)
private FriendlyByteBuf
FMLLoginWrapper.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.openGui(ServerPlayer player, MenuProvider containerSupplier, Consumer<FriendlyByteBuf> extraDataWriter)
Request to open a GUI on the client, from the server Refer toConfigGuiHandler.ConfigGuiFactory
for how to provide a function to consume these GUI requests on the client.ModifierConstructorDescriptionLoginPayload(FriendlyByteBuf buffer, ResourceLocation channelName, String messageContext)
(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)
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.fmllegacy.network.simple
Modifier and TypeFieldDescriptionprivate Optional<Function<FriendlyByteBuf,MSG>>
IndexedMessageCodec.MessageHandler.decoder
private Function<FriendlyByteBuf,MSG>
SimpleChannel.MessageBuilder.decoder
private 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)
SimpleChannel.MessageBuilder.encoder(BiConsumer<MSG,FriendlyByteBuf> encoder)
<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.network
Modifier and TypeFieldDescriptionprivate static List<FriendlyByteBuf>
VanillaPacketSplitter.receivedBuffers
-
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<?>
EnumArgument.Serializer.deserializeFromNetwork(FriendlyByteBuf buffer)
void
EnumArgument.Serializer.serializeToNetwork(EnumArgument<?> argument, FriendlyByteBuf buffer)