Uses of Class
net.minecraft.network.RegistryFriendlyByteBuf
Package
Description
-
Uses of RegistryFriendlyByteBuf in net.minecraft.advancements
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, List<AdvancementHolder>> AdvancementHolder.LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Advancement> Advancement.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdvancementHolder> AdvancementHolder.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DisplayInfo> DisplayInfo.STREAM_CODEC
Modifier and TypeMethodDescriptionprivate static DisplayInfo
DisplayInfo.fromNetwork
(RegistryFriendlyByteBuf p_319903_) private static Advancement
Advancement.read
(RegistryFriendlyByteBuf p_320555_) private void
DisplayInfo.serializeToNetwork
(RegistryFriendlyByteBuf p_319889_) private void
Advancement.write
(RegistryFriendlyByteBuf p_320833_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentType<?>> DataComponentType.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TypedDataComponent<?>> TypedDataComponent.STREAM_CODEC
private final StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec
private StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.streamCodec
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec()
StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.streamCodec()
Modifier and TypeMethodDescriptionDataComponentType.Builder.networkSynchronized
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_331364_) ModifierConstructorDescription(package private)
SimpleType
(com.mojang.serialization.Codec<T> p_331492_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_330863_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.core.particles
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, DustColorTransitionOptions> DustColorTransitionOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DustParticleOptions> DustParticleOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SculkChargeParticleOptions> SculkChargeParticleOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShriekParticleOption> ShriekParticleOption.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, VibrationParticleOption> VibrationParticleOption.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, SimpleParticleType> SimpleParticleType.streamCodec
Modifier and TypeMethodDescriptionstatic StreamCodec
<? super RegistryFriendlyByteBuf, BlockParticleOption> BlockParticleOption.streamCodec
(ParticleType<BlockParticleOption> p_320740_) static StreamCodec
<? super RegistryFriendlyByteBuf, ItemParticleOption> ItemParticleOption.streamCodec
(ParticleType<ItemParticleOption> p_320881_) abstract StreamCodec
<? super RegistryFriendlyByteBuf, T> ParticleType.streamCodec()
SimpleParticleType.streamCodec()
-
Uses of RegistryFriendlyByteBuf in net.minecraft.network
Modifier and TypeMethodDescriptionstatic Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator
(RegistryAccess p_320166_) Deprecated.Neo: use overload with ConnectionType contextstatic Function
<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator
(RegistryAccess p_320166_, ConnectionType connectionType) -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, ChatType> ChatType.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ChatType.Bound> ChatType.Bound.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<ChatType>> ChatType.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ChatTypeDecoration> ChatTypeDecoration.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.TRUSTED_OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.TRUSTED_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Style> Style.Serializer.TRUSTED_STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.network.chat.numbers
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Optional<NumberFormat>> NumberFormatTypes.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, NumberFormat> NumberFormatTypes.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.network.codec
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries
(com.mojang.serialization.Codec<T> p_323797_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries
(com.mojang.serialization.Codec<T> p_331571_, Supplier<NbtAccounter> p_331922_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistriesTrusted
(com.mojang.serialization.Codec<T> p_331713_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry
(ResourceKey<? extends Registry<T>> p_320387_) static <T> StreamCodec
<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet
(ResourceKey<? extends Registry<T>> p_332137_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_320404_) private static <T,
R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.GAMEPLAY_STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, GameEventListenerDebugPayload> GameEventListenerDebugPayload.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionGameProtocols.CLIENTBOUND_TEMPLATE
static final StreamCodec
<RegistryFriendlyByteBuf, List<ClientboundLevelChunkPacketData.BlockEntityInfo>> ClientboundLevelChunkPacketData.BlockEntityInfo.LIST_STREAM_CODEC
(package private) final StreamDecoder
<RegistryFriendlyByteBuf, ClientboundBossEventPacket.Operation> ClientboundBossEventPacket.OperationType.reader
GameProtocols.SERVERBOUND_TEMPLATE
private static final StreamCodec
<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>> ServerboundContainerClickPacket.SLOTS_STREAM_CODEC
private static final StreamCodec
<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>> ClientboundAwardStatsPacket.STAT_VALUES_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundAddEntityPacket> ClientboundAddEntityPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundAwardStatsPacket> ClientboundAwardStatsPacket.STREAM_CODEC
ClientboundBlockEntityDataPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockEventPacket> ClientboundBlockEventPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> ClientboundBlockUpdatePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBossEventPacket> ClientboundBossEventPacket.STREAM_CODEC
ClientboundCommandSuggestionsPacket.Entry.STREAM_CODEC
ClientboundCommandSuggestionsPacket.STREAM_CODEC
ClientboundContainerSetContentPacket.STREAM_CODEC
ClientboundContainerSetSlotPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundCooldownPacket> ClientboundCooldownPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> ClientboundDamageEventPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundDisguisedChatPacket> ClientboundDisguisedChatPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundExplodePacket> ClientboundExplodePacket.STREAM_CODEC
ClientboundLevelChunkPacketData.BlockEntityInfo.STREAM_CODEC
ClientboundLevelChunkWithLightPacket.STREAM_CODEC
ClientboundLevelParticlesPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundLoginPacket> ClientboundLoginPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket> ClientboundMapItemDataPacket.STREAM_CODEC
ClientboundMerchantOffersPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket> ClientboundOpenScreenPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundPlayerChatPacket> ClientboundPlayerChatPacket.STREAM_CODEC
ClientboundPlayerCombatKillPacket.STREAM_CODEC
ClientboundPlayerInfoUpdatePacket.STREAM_CODEC
ClientboundRemoveMobEffectPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundRespawnPacket> ClientboundRespawnPacket.STREAM_CODEC
ClientboundSetActionBarTextPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetEntityDataPacket> ClientboundSetEntityDataPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket> ClientboundSetEquipmentPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetObjectivePacket> ClientboundSetObjectivePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetPlayerTeamPacket> ClientboundSetPlayerTeamPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetScorePacket> ClientboundSetScorePacket.STREAM_CODEC
ClientboundSetSubtitleTextPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetTitleTextPacket> ClientboundSetTitleTextPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSoundEntityPacket> ClientboundSoundEntityPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSoundPacket> ClientboundSoundPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSystemChatPacket> ClientboundSystemChatPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundTabListPacket> ClientboundTabListPacket.STREAM_CODEC
ClientboundUpdateAdvancementsPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket.AttributeSnapshot> ClientboundUpdateAttributesPacket.AttributeSnapshot.STREAM_CODEC
ClientboundUpdateAttributesPacket.STREAM_CODEC
ClientboundUpdateMobEffectPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundUpdateRecipesPacket> ClientboundUpdateRecipesPacket.STREAM_CODEC
ServerboundContainerClickPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket> ServerboundSetBeaconPacket.STREAM_CODEC
ServerboundSetCreativeModeSlotPacket.STREAM_CODEC
Modifier and TypeMethodDescriptionprivate static void
ClientboundSetEntityDataPacket.pack
(List<SynchedEntityData.DataValue<?>> p_253940_, RegistryFriendlyByteBuf p_320247_) void
ClientboundPlayerInfoUpdatePacket.Action.Reader.read
(ClientboundPlayerInfoUpdatePacket.EntryBuilder p_251859_, RegistryFriendlyByteBuf p_324148_) private static List
<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.unpack
(RegistryFriendlyByteBuf p_320523_) private void
ClientboundAddEntityPacket.write
(RegistryFriendlyByteBuf p_320192_) private void
ClientboundBlockEventPacket.write
(RegistryFriendlyByteBuf p_320189_) void
ClientboundBossEventPacket.AddOperation.write
(RegistryFriendlyByteBuf p_323847_) void
ClientboundBossEventPacket.Operation.write
(RegistryFriendlyByteBuf p_324432_) void
ClientboundBossEventPacket.UpdateNameOperation.write
(RegistryFriendlyByteBuf p_324336_) void
ClientboundBossEventPacket.UpdateProgressOperation.write
(RegistryFriendlyByteBuf p_324333_) void
ClientboundBossEventPacket.UpdatePropertiesOperation.write
(RegistryFriendlyByteBuf p_323597_) void
ClientboundBossEventPacket.UpdateStyleOperation.write
(RegistryFriendlyByteBuf p_323961_) private void
ClientboundBossEventPacket.write
(RegistryFriendlyByteBuf p_323879_) private void
ClientboundContainerSetContentPacket.write
(RegistryFriendlyByteBuf p_320758_) private void
ClientboundContainerSetSlotPacket.write
(RegistryFriendlyByteBuf p_320916_) private void
ClientboundDamageEventPacket.write
(RegistryFriendlyByteBuf p_321775_) private void
ClientboundExplodePacket.write
(RegistryFriendlyByteBuf p_319914_) private void
ClientboundLevelChunkPacketData.BlockEntityInfo.write
(RegistryFriendlyByteBuf p_320914_) void
ClientboundLevelChunkPacketData.write
(RegistryFriendlyByteBuf p_320863_) private void
ClientboundLevelChunkWithLightPacket.write
(RegistryFriendlyByteBuf p_320036_) private void
ClientboundLevelParticlesPacket.write
(RegistryFriendlyByteBuf p_320262_) private void
ClientboundLoginPacket.write
(RegistryFriendlyByteBuf p_321845_) private void
ClientboundMerchantOffersPacket.write
(RegistryFriendlyByteBuf p_320747_) private void
ClientboundPlayerChatPacket.write
(RegistryFriendlyByteBuf p_321846_) void
ClientboundPlayerInfoUpdatePacket.Action.Writer.write
(RegistryFriendlyByteBuf p_324483_, ClientboundPlayerInfoUpdatePacket.Entry p_249783_) private void
ClientboundPlayerInfoUpdatePacket.write
(RegistryFriendlyByteBuf p_323752_) private void
ClientboundRespawnPacket.write
(RegistryFriendlyByteBuf p_321615_) private void
ClientboundSetEntityDataPacket.write
(RegistryFriendlyByteBuf p_320560_) private void
ClientboundSetEquipmentPacket.write
(RegistryFriendlyByteBuf p_320609_) private void
ClientboundSetObjectivePacket.write
(RegistryFriendlyByteBuf p_320623_) void
ClientboundSetPlayerTeamPacket.Parameters.write
(RegistryFriendlyByteBuf p_323527_) private void
ClientboundSetPlayerTeamPacket.write
(RegistryFriendlyByteBuf p_323648_) private void
ClientboundSoundEntityPacket.write
(RegistryFriendlyByteBuf p_320141_) private void
ClientboundSoundPacket.write
(RegistryFriendlyByteBuf p_320266_) private void
ClientboundUpdateAdvancementsPacket.write
(RegistryFriendlyByteBuf p_319915_) private void
ClientboundUpdateMobEffectPacket.write
(RegistryFriendlyByteBuf p_320214_) void
CommonPlayerSpawnInfo.write
(RegistryFriendlyByteBuf p_321515_) private void
ServerboundContainerClickPacket.write
(RegistryFriendlyByteBuf p_319872_) ModifierConstructorDescriptionprivate
AddOperation
(RegistryFriendlyByteBuf p_324153_) private
BlockEntityInfo
(RegistryFriendlyByteBuf p_319780_) private
private
private
private
private
private
private
ClientboundExplodePacket
(RegistryFriendlyByteBuf p_320217_) ClientboundLevelChunkPacketData
(RegistryFriendlyByteBuf p_320343_, int p_195654_, int p_195655_) private
private
private
ClientboundLoginPacket
(RegistryFriendlyByteBuf p_321545_) private
private
private
private
ClientboundRespawnPacket
(RegistryFriendlyByteBuf p_321588_) private
private
private
private
private
private
ClientboundSoundPacket
(RegistryFriendlyByteBuf p_320320_) private
private
CommonPlayerSpawnInfo
(RegistryFriendlyByteBuf p_321843_) Parameters
(RegistryFriendlyByteBuf p_323739_) private
private
UpdateNameOperation
(RegistryFriendlyByteBuf p_323813_) private
UpdateProgressOperation
(RegistryFriendlyByteBuf p_324271_) private
UpdatePropertiesOperation
(RegistryFriendlyByteBuf p_323654_) private
UpdateStyleOperation
(RegistryFriendlyByteBuf p_323966_) ModifierConstructorDescriptionprivate
OperationType
(StreamDecoder<RegistryFriendlyByteBuf, ClientboundBossEventPacket.Operation> p_324602_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.syncher
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> EntityDataSerializer.codec()
Modifier and TypeMethodDescriptionstatic SynchedEntityData.DataValue
<?> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf p_319816_, int p_254356_) private static <T> SynchedEntityData.DataValue
<T> SynchedEntityData.DataValue.read
(RegistryFriendlyByteBuf p_320893_, int p_253899_, EntityDataSerializer<T> p_254222_) void
SynchedEntityData.DataValue.write
(RegistryFriendlyByteBuf p_320650_) Modifier and TypeMethodDescriptionstatic <T> EntityDataSerializer
<T> EntityDataSerializer.forValueType
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_319946_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerPlayer.openMenu
(MenuProvider p_9033_, Consumer<RegistryFriendlyByteBuf> extraDataWriter) -
Uses of RegistryFriendlyByteBuf in net.minecraft.sounds
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.stats
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodec
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.damagesource
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<DamageType>> DamageType.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.effect
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<MobEffect>> MobEffect.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MobEffectInstance.Details> MobEffectInstance.Details.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MobEffectInstance> MobEffectInstance.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<Attribute>> Attribute.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, WolfVariant> WolfVariant.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<FrogVariant>> FrogVariant.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<WolfVariant>> WolfVariant.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<PaintingVariant>> PaintingVariant.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, VillagerData> VillagerData.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.food
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties> FoodProperties.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties.PossibleEffect> FoodProperties.PossibleEffect.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionMenuType.create
(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Instrument> Instrument.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, JukeboxSong> JukeboxSong.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, List<ItemStack>> ItemStack.LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, List<ItemStack>> ItemStack.OPTIONAL_LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemStack> ItemStack.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdventureModePredicate> AdventureModePredicate.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemStack> ItemStack.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, JukeboxPlayable> JukeboxPlayable.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec
(ResourceKey<Registry<T>> p_350628_, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> p_350420_) ItemStack.validatedStreamCodec
(StreamCodec<RegistryFriendlyByteBuf, ItemStack> p_340962_) Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec
(ResourceKey<Registry<T>> p_350628_, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> p_350420_) ItemStack.validatedStreamCodec
(StreamCodec<RegistryFriendlyByteBuf, ItemStack> p_340962_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.alchemy
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, PotionContents> PotionContents.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TrimPattern> TrimPattern.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ArmorTrim> ArmorTrim.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, BundleContents> BundleContents.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ChargedProjectiles> ChargedProjectiles.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers> ItemAttributeModifiers.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemContainerContents> ItemContainerContents.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemLore> ItemLore.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SuspiciousStewEffects.Entry> SuspiciousStewEffects.Entry.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SuspiciousStewEffects> SuspiciousStewEffects.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Tool.Rule> Tool.Rule.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Tool> Tool.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, WrittenBookContent> WrittenBookContent.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Recipe<?>> Recipe.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, RecipeHolder<?>> RecipeHolder.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapedRecipe> ShapedRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapedRecipePattern> ShapedRecipePattern.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapelessRecipe> ShapelessRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTransformRecipe> SmithingTransformRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTrimRecipe> SmithingTrimRecipe.Serializer.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> SimpleCookingSerializer.streamCodec
private final StreamCodec
<RegistryFriendlyByteBuf, T> SimpleCraftingRecipeSerializer.streamCodec
private final StreamCodec
<RegistryFriendlyByteBuf, T> SingleItemRecipe.Serializer.streamCodec
Modifier and TypeMethodDescriptionRecipeSerializer.streamCodec()
ShapedRecipe.Serializer.streamCodec()
ShapelessRecipe.Serializer.streamCodec()
SimpleCookingSerializer.streamCodec()
SimpleCraftingRecipeSerializer.streamCodec()
SingleItemRecipe.Serializer.streamCodec()
SmithingTransformRecipe.Serializer.streamCodec()
SmithingTrimRecipe.Serializer.streamCodec()
Modifier and TypeMethodDescriptionprivate static ShapedRecipe
ShapedRecipe.Serializer.fromNetwork
(RegistryFriendlyByteBuf p_319998_) private static ShapedRecipePattern
ShapedRecipePattern.fromNetwork
(RegistryFriendlyByteBuf p_319788_) private static ShapelessRecipe
ShapelessRecipe.Serializer.fromNetwork
(RegistryFriendlyByteBuf p_319905_) private T
SimpleCookingSerializer.fromNetwork
(RegistryFriendlyByteBuf p_320282_) private static SmithingTransformRecipe
SmithingTransformRecipe.Serializer.fromNetwork
(RegistryFriendlyByteBuf p_320375_) private static SmithingTrimRecipe
SmithingTrimRecipe.Serializer.fromNetwork
(RegistryFriendlyByteBuf p_320719_) private static void
ShapedRecipe.Serializer.toNetwork
(RegistryFriendlyByteBuf p_320738_, ShapedRecipe p_320586_) private void
ShapedRecipePattern.toNetwork
(RegistryFriendlyByteBuf p_320098_) private static void
ShapelessRecipe.Serializer.toNetwork
(RegistryFriendlyByteBuf p_320371_, ShapelessRecipe p_320323_) private void
SimpleCookingSerializer.toNetwork
(RegistryFriendlyByteBuf p_320422_, T p_320933_) private static void
SmithingTransformRecipe.Serializer.toNetwork
(RegistryFriendlyByteBuf p_320743_, SmithingTransformRecipe p_319840_) private static void
SmithingTrimRecipe.Serializer.toNetwork
(RegistryFriendlyByteBuf p_319922_, SmithingTrimRecipe p_320655_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<Enchantment>> Enchantment.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemEnchantments> ItemEnchantments.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.trading
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Optional<ItemCost>> ItemCost.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemCost> ItemCost.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffer> MerchantOffer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffers> MerchantOffers.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic MerchantOffer
MerchantOffer.createFromStream
(RegistryFriendlyByteBuf p_320207_) private static void
MerchantOffer.writeToStream
(RegistryFriendlyByteBuf p_320530_, MerchantOffer p_320384_) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, BannerPattern> BannerPattern.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BannerPatternLayers.Layer> BannerPatternLayers.Layer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BannerPatternLayers> BannerPatternLayers.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, PotDecorations> PotDecorations.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Holder<DimensionType>> DimensionType.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.gameevent
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, PositionSource> PositionSource.STREAM_CODEC
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> PositionSourceType.streamCodec()
-
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.saveddata.maps
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, MapDecoration> MapDecoration.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.common.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, SizedIngredient> SizedIngredient.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> IngredientType.streamCodec
The field for thestreamCodec
record component.Modifier and TypeMethodDescriptionIngredientType.streamCodec()
Returns the value of thestreamCodec
record component.ModifierConstructorDescriptionIngredientType
(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aIngredientType
record class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptionIMenuTypeExtension.create
(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) Modifier and TypeMethodDescriptiondefault OptionalInt
IPlayerExtension.openMenu
(MenuProvider menuProvider, Consumer<RegistryFriendlyByteBuf> extraDataWriter) Request to open a GUI on the client, from the server -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.common.util
Modifier and TypeMethodDescriptionstatic byte[]
FriendlyByteBufUtil.writeCustomData
(Consumer<RegistryFriendlyByteBuf> dataWriter, RegistryAccess registryAccess) Writes custom data to aRegistryFriendlyByteBuf
, then returns the written data as a byte array. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.debug.crafting
Modifier and TypeMethodDescriptionIngredientTests.CompressedShapelessRecipeSerializer.streamCodec()
-
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.debug.entity
Modifier and TypeMethodDescriptionvoid
EntityTests.CustomComplexSpawnEntity.readSpawnData
(RegistryFriendlyByteBuf additionalData) void
EntityTests.CustomComplexSpawnEntity.writeSpawnData
(RegistryFriendlyByteBuf buffer) -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.entity
Modifier and TypeMethodDescriptionvoid
IEntityWithComplexSpawn.readSpawnData
(RegistryFriendlyByteBuf additionalData) Called by the client when it receives a Entity spawn packet.void
IEntityWithComplexSpawn.writeSpawnData
(RegistryFriendlyByteBuf buffer) Called by the server when constructing the spawn packet. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.fluids
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FluidStack> FluidStack.OPTIONAL_STREAM_CODEC
A stream codec for fluid stacks that accepts empty stacks.static final StreamCodec
<RegistryFriendlyByteBuf, FluidStack> FluidStack.STREAM_CODEC
A stream codec for fluid stacks that does not accept empty stacks.static final StreamCodec
<RegistryFriendlyByteBuf, SimpleFluidContent> SimpleFluidContent.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.fluids.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredient.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SizedFluidIngredient> SizedFluidIngredient.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> FluidIngredientType.streamCodec
The field for thestreamCodec
record component.Modifier and TypeMethodDescriptionFluidIngredientType.streamCodec()
Returns the value of thestreamCodec
record component.ModifierConstructorDescriptionFluidIngredientType
(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aFluidIngredientType
record class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network
Modifier and TypeMethodDescriptionIContainerFactory.create
(int windowId, Inventory inv, RegistryFriendlyByteBuf data) -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.codec
Modifier and TypeMethodDescriptionstatic <V> StreamCodec
<RegistryFriendlyByteBuf, V> NeoForgeStreamCodecs.connectionAware
(StreamCodec<? super RegistryFriendlyByteBuf, V> neoForgeCodec, StreamCodec<? super RegistryFriendlyByteBuf, V> otherCodec) Creates a stream codec that uses different implementation depending on theConnectionType
.Modifier and TypeMethodDescriptionstatic <V> StreamCodec
<RegistryFriendlyByteBuf, V> NeoForgeStreamCodecs.connectionAware
(StreamCodec<? super RegistryFriendlyByteBuf, V> neoForgeCodec, StreamCodec<? super RegistryFriendlyByteBuf, V> otherCodec) Creates a stream codec that uses different implementation depending on theConnectionType
. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.handlers
Modifier and TypeMethodDescriptionprivate static <T extends AbstractContainerMenu>
voidClientPayloadHandler.createMenuScreen
(Component name, MenuType<T> menuType, int windowId, RegistryFriendlyByteBuf buf) -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionAdvancedContainerSetDataPayload.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdvancedOpenScreenPayload> AdvancedOpenScreenPayload.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AuxiliaryLightDataPayload> AuxiliaryLightDataPayload.STREAM_CODEC
-
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.registration
Modifier and TypeFieldDescriptionprivate final StreamCodec
<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec
The field for thecodec
record component.private final StreamCodec
<RegistryFriendlyByteBuf, T> ModdedPlayPayloadRegistration.reader
The field for thereader
record component.Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec()
Returns the value of thecodec
record component.ModdedPlayPayloadRegistration.reader()
Returns the value of thereader
record component.Modifier and TypeMethodDescription<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playBidirectional
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a client-bound payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToServer
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a server-bound payload for the play phase.ModifierConstructorDescriptionModdedPlayPayloadRegistration
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<RegistryFriendlyByteBuf, T> reader) Creates an instance of aModdedPlayPayloadRegistration
record class.PayloadRegistration
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, IPayloadHandler<T> handler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Creates an instance of aPayloadRegistration
record class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<RegistryFriendlyByteBuf, RecipeBookTestRecipe> RecipeBookTestRecipeSerializer.STREAM_CODEC