Uses of Class
net.minecraft.network.RegistryFriendlyByteBuf
Packages that use RegistryFriendlyByteBuf
Package
Description
-
Uses of RegistryFriendlyByteBuf in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, List<AdvancementHolder>> AdvancementHolder.LIST_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Advancement> Advancement.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdvancementHolder> AdvancementHolder.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DisplayInfo> DisplayInfo.STREAM_CODECMethods in net.minecraft.advancements with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionprivate static DisplayInfoDisplayInfo.fromNetwork(RegistryFriendlyByteBuf pBuffer) private static AdvancementAdvancement.read(RegistryFriendlyByteBuf pBuffer) private voidDisplayInfo.serializeToNetwork(RegistryFriendlyByteBuf pBuffer) private voidAdvancement.write(RegistryFriendlyByteBuf pBuffer) -
Uses of RegistryFriendlyByteBuf in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentType<?>> DataComponentType.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TypedDataComponent<?>> TypedDataComponent.STREAM_CODECprivate final StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodecprivate StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.streamCodecMethods in net.minecraft.core.component that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec()StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.streamCodec()Method parameters in net.minecraft.core.component with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionDataComponentType.Builder.networkSynchronized(StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec) Constructor parameters in net.minecraft.core.component with type arguments of type RegistryFriendlyByteBufModifierConstructorDescription(package private)SimpleType(com.mojang.serialization.Codec<T> pCodec, StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec) -
Uses of RegistryFriendlyByteBuf in net.minecraft.core.particles
Fields in net.minecraft.core.particles with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, DustColorTransitionOptions> DustColorTransitionOptions.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DustParticleOptions> DustParticleOptions.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SculkChargeParticleOptions> SculkChargeParticleOptions.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShriekParticleOption> ShriekParticleOption.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TrailParticleOption> TrailParticleOption.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, VibrationParticleOption> VibrationParticleOption.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, SimpleParticleType> SimpleParticleType.streamCodecMethods in net.minecraft.core.particles that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic StreamCodec<? super RegistryFriendlyByteBuf, BlockParticleOption> BlockParticleOption.streamCodec(ParticleType<BlockParticleOption> pParticleType) static StreamCodec<? super RegistryFriendlyByteBuf, ItemParticleOption> ItemParticleOption.streamCodec(ParticleType<ItemParticleOption> pParticleType) abstract StreamCodec<? super RegistryFriendlyByteBuf, T> ParticleType.streamCodec()SimpleParticleType.streamCodec() -
Uses of RegistryFriendlyByteBuf in net.minecraft.network
Methods in net.minecraft.network that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic Function<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator(RegistryAccess pRegistry) Deprecated.Neo: use overload with ConnectionType contextstatic Function<io.netty.buffer.ByteBuf, RegistryFriendlyByteBuf> RegistryFriendlyByteBuf.decorator(RegistryAccess pRegistry, ConnectionType connectionType) -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.chat
Fields in net.minecraft.network.chat with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, ChatType> ChatType.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ChatType.Bound> ChatType.Bound.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChatType>> ChatType.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ChatTypeDecoration> ChatTypeDecoration.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.TRUSTED_OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Component> ComponentSerialization.TRUSTED_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Style> Style.Serializer.TRUSTED_STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.chat.numbers
Fields in net.minecraft.network.chat.numbers with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<NumberFormat>> NumberFormatTypes.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, NumberFormat> NumberFormatTypes.STREAM_CODECMethods in net.minecraft.network.chat.numbers that return types with arguments of type RegistryFriendlyByteBuf -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(com.mojang.serialization.Codec<T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(com.mojang.serialization.Codec<T> pCodec, Supplier<NbtAccounter> pAccounterSupplier) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistriesTrusted(com.mojang.serialization.Codec<T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> pRegistryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> pRegistryKey, Function<Registry<T>, IdMap<R>> pIdGetter) Methods in net.minecraft.network.codec with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionprivate static <T> Registry<T> ByteBufCodecs.getSyncableRegistryOrThrow(RegistryFriendlyByteBuf buffer, ResourceKey<? extends Registry<T>> registryKey) Method parameters in net.minecraft.network.codec with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.GAMEPLAY_STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, GameEventListenerDebugPayload> GameEventListenerDebugPayload.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionGameProtocols.CLIENTBOUND_TEMPLATEstatic final StreamCodec<RegistryFriendlyByteBuf, List<ClientboundLevelChunkPacketData.BlockEntityInfo>> ClientboundLevelChunkPacketData.BlockEntityInfo.LIST_STREAM_CODEC(package private) final StreamDecoder<RegistryFriendlyByteBuf, ClientboundBossEventPacket.Operation> ClientboundBossEventPacket.OperationType.readerGameProtocols.SERVERBOUND_TEMPLATEprivate static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>> ServerboundContainerClickPacket.SLOTS_STREAM_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>> ClientboundAwardStatsPacket.STAT_VALUES_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundAddEntityPacket> ClientboundAddEntityPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundAwardStatsPacket> ClientboundAwardStatsPacket.STREAM_CODECClientboundBlockEntityDataPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockEventPacket> ClientboundBlockEventPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> ClientboundBlockUpdatePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBossEventPacket> ClientboundBossEventPacket.STREAM_CODECClientboundCommandSuggestionsPacket.Entry.STREAM_CODECClientboundCommandSuggestionsPacket.STREAM_CODECClientboundContainerSetContentPacket.STREAM_CODECClientboundContainerSetSlotPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundCooldownPacket> ClientboundCooldownPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> ClientboundDamageEventPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDisguisedChatPacket> ClientboundDisguisedChatPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundExplodePacket> ClientboundExplodePacket.STREAM_CODECClientboundLevelChunkPacketData.BlockEntityInfo.STREAM_CODECClientboundLevelChunkWithLightPacket.STREAM_CODECClientboundLevelParticlesPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundLoginPacket> ClientboundLoginPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket> ClientboundMapItemDataPacket.STREAM_CODECClientboundMerchantOffersPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket> ClientboundOpenScreenPacket.STREAM_CODECClientboundPlaceGhostRecipePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundPlayerChatPacket> ClientboundPlayerChatPacket.STREAM_CODECClientboundPlayerCombatKillPacket.STREAM_CODECClientboundPlayerInfoUpdatePacket.STREAM_CODECClientboundRecipeBookAddPacket.Entry.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundRecipeBookAddPacket> ClientboundRecipeBookAddPacket.STREAM_CODECClientboundRemoveMobEffectPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundRespawnPacket> ClientboundRespawnPacket.STREAM_CODECClientboundSetActionBarTextPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetCursorItemPacket> ClientboundSetCursorItemPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetEntityDataPacket> ClientboundSetEntityDataPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket> ClientboundSetEquipmentPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetObjectivePacket> ClientboundSetObjectivePacket.STREAM_CODECClientboundSetPlayerInventoryPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetPlayerTeamPacket> ClientboundSetPlayerTeamPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetScorePacket> ClientboundSetScorePacket.STREAM_CODECClientboundSetSubtitleTextPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetTitleTextPacket> ClientboundSetTitleTextPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundEntityPacket> ClientboundSoundEntityPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSoundPacket> ClientboundSoundPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSystemChatPacket> ClientboundSystemChatPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundTabListPacket> ClientboundTabListPacket.STREAM_CODECClientboundUpdateAdvancementsPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket.AttributeSnapshot> ClientboundUpdateAttributesPacket.AttributeSnapshot.STREAM_CODECClientboundUpdateAttributesPacket.STREAM_CODECClientboundUpdateMobEffectPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateRecipesPacket> ClientboundUpdateRecipesPacket.STREAM_CODECServerboundContainerClickPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket> ServerboundSetBeaconPacket.STREAM_CODECServerboundSetCreativeModeSlotPacket.STREAM_CODECMethods in net.minecraft.network.protocol.game with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionprivate static voidClientboundSetEntityDataPacket.pack(List<SynchedEntityData.DataValue<?>> pDataValues, RegistryFriendlyByteBuf pBuffer) voidClientboundPlayerInfoUpdatePacket.Action.Reader.read(ClientboundPlayerInfoUpdatePacket.EntryBuilder pEntryBuilder, RegistryFriendlyByteBuf pBuffer) private static List<SynchedEntityData.DataValue<?>> ClientboundSetEntityDataPacket.unpack(RegistryFriendlyByteBuf pBuffer) private voidClientboundAddEntityPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundBlockEventPacket.write(RegistryFriendlyByteBuf pBuffer) voidClientboundBossEventPacket.AddOperation.write(RegistryFriendlyByteBuf p_323847_) voidClientboundBossEventPacket.Operation.write(RegistryFriendlyByteBuf pBuffer) voidClientboundBossEventPacket.UpdateNameOperation.write(RegistryFriendlyByteBuf p_324336_) voidClientboundBossEventPacket.UpdateProgressOperation.write(RegistryFriendlyByteBuf p_324333_) voidClientboundBossEventPacket.UpdatePropertiesOperation.write(RegistryFriendlyByteBuf p_323597_) voidClientboundBossEventPacket.UpdateStyleOperation.write(RegistryFriendlyByteBuf p_323961_) private voidClientboundBossEventPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundContainerSetContentPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundContainerSetSlotPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundDamageEventPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundLevelChunkPacketData.BlockEntityInfo.write(RegistryFriendlyByteBuf pBuffer) voidClientboundLevelChunkPacketData.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundLevelChunkWithLightPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundLevelParticlesPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundLoginPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundMerchantOffersPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundPlayerChatPacket.write(RegistryFriendlyByteBuf pBuffer) voidClientboundPlayerInfoUpdatePacket.Action.Writer.write(RegistryFriendlyByteBuf pBuffer, ClientboundPlayerInfoUpdatePacket.Entry pEntry) private voidClientboundPlayerInfoUpdatePacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundRespawnPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSetEntityDataPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSetEquipmentPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSetObjectivePacket.write(RegistryFriendlyByteBuf pBuffer) voidClientboundSetPlayerTeamPacket.Parameters.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSetPlayerTeamPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSoundEntityPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundSoundPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundUpdateAdvancementsPacket.write(RegistryFriendlyByteBuf pBuffer) private voidClientboundUpdateMobEffectPacket.write(RegistryFriendlyByteBuf pBuffer) voidCommonPlayerSpawnInfo.write(RegistryFriendlyByteBuf pBuffer) private voidServerboundContainerClickPacket.write(RegistryFriendlyByteBuf pBuffer) Constructors in net.minecraft.network.protocol.game with parameters of type RegistryFriendlyByteBufModifierConstructorDescriptionprivateAddOperation(RegistryFriendlyByteBuf pBuffer) privateBlockEntityInfo(RegistryFriendlyByteBuf pBuffer) privateprivateprivateprivateprivateprivateClientboundLevelChunkPacketData(RegistryFriendlyByteBuf pBuffer, int pX, int pZ) privateprivateprivateClientboundLoginPacket(RegistryFriendlyByteBuf p_321545_) privateprivateprivateprivateClientboundRespawnPacket(RegistryFriendlyByteBuf p_321588_) privateprivateprivateprivateprivateprivateprivateprivateCommonPlayerSpawnInfo(RegistryFriendlyByteBuf p_321843_) Parameters(RegistryFriendlyByteBuf pBuffer) privateprivateUpdateNameOperation(RegistryFriendlyByteBuf p_323813_) privateUpdateProgressOperation(RegistryFriendlyByteBuf p_324271_) privateprivateConstructor parameters in net.minecraft.network.protocol.game with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionprivate -
Uses of RegistryFriendlyByteBuf in net.minecraft.network.syncher
Methods in net.minecraft.network.syncher that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> EntityDataSerializer.codec()Methods in net.minecraft.network.syncher with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic SynchedEntityData.DataValue<?> SynchedEntityData.DataValue.read(RegistryFriendlyByteBuf pBuffer, int pId) private static <T> SynchedEntityData.DataValue<T> SynchedEntityData.DataValue.read(RegistryFriendlyByteBuf pBuffer, int pId, EntityDataSerializer<T> pSerializer) voidSynchedEntityData.DataValue.write(RegistryFriendlyByteBuf pBuffer) Method parameters in net.minecraft.network.syncher with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> EntityDataSerializer<T> EntityDataSerializer.forValueType(StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) -
Uses of RegistryFriendlyByteBuf in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionServerPlayer.openMenu(MenuProvider p_9033_, Consumer<RegistryFriendlyByteBuf> extraDataWriter) -
Uses of RegistryFriendlyByteBuf in net.minecraft.sounds
Fields in net.minecraft.sounds with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodecMethods in net.minecraft.stats that return types with arguments of type RegistryFriendlyByteBuf -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>> DamageType.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.effect
Fields in net.minecraft.world.effect with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MobEffect>> MobEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, MobEffectInstance> MobEffectInstance.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Attribute>> Attribute.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, WolfVariant> WolfVariant.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<FrogVariant>> FrogVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfVariant>> WolfVariant.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, PaintingVariant> PaintingVariant.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>> PaintingVariant.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, VillagerData> VillagerData.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.food
Fields in net.minecraft.world.food with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FoodProperties> FoodProperties.DIRECT_STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.inventory
Methods in net.minecraft.world.inventory with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionMenuType.create(int pContainerId, Inventory pPlayerInventory, RegistryFriendlyByteBuf extraData) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Instrument> Instrument.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, JukeboxSong> JukeboxSong.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, List<ItemStack>> ItemStack.OPTIONAL_LIST_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdventureModePredicate> AdventureModePredicate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, JukeboxPlayable> JukeboxPlayable.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODECMethods in net.minecraft.world.item that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> pCodec) Method parameters in net.minecraft.world.item with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> pCodec) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PotionContents> PotionContents.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, BundleContents> BundleContents.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ChargedProjectiles> ChargedProjectiles.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Consumable> Consumable.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DamageResistant> DamageResistant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DeathProtection> DeathProtection.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers> ItemAttributeModifiers.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemContainerContents> ItemContainerContents.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemLore> ItemLore.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, OminousBottleAmplifier> OminousBottleAmplifier.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SuspiciousStewEffects.Entry> SuspiciousStewEffects.Entry.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SuspiciousStewEffects> SuspiciousStewEffects.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Tool.Rule> Tool.Rule.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Tool> Tool.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, UseCooldown> UseCooldown.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, UseRemainder> UseRemainder.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, WrittenBookContent> WrittenBookContent.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionApplyStatusEffectsConsumeEffect.STREAM_CODECClearAllStatusEffectsConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ConsumeEffect> ConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PlaySoundConsumeEffect> PlaySoundConsumeEffect.STREAM_CODECRemoveStatusEffectsConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TeleportRandomlyConsumeEffect> TeleportRandomlyConsumeEffect.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, T> ConsumeEffect.Type.streamCodecThe field for thestreamCodecrecord component.Methods in net.minecraft.world.item.consume_effects that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionConsumeEffect.Type.streamCodec()Returns the value of thestreamCodecrecord component.Method parameters in net.minecraft.world.item.consume_effects with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionprivate static <T extends ConsumeEffect>
ConsumeEffect.Type<T> ConsumeEffect.Type.register(String pName, com.mojang.serialization.MapCodec<T> pCodec, StreamCodec<RegistryFriendlyByteBuf, T> pStreamCodec) Constructor parameters in net.minecraft.world.item.consume_effects with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aTyperecord class. -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> Ingredient.OPTIONAL_CONTENTS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Recipe<?>> Recipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeHolder<?>> RecipeHolder.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipePropertySet> RecipePropertySet.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipe> ShapedRecipe.Serializer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipePattern> ShapedRecipePattern.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapelessRecipe> ShapelessRecipe.Serializer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmithingTransformRecipe> SmithingTransformRecipe.Serializer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmithingTrimRecipe> SmithingTrimRecipe.Serializer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TransmuteRecipe> TransmuteRecipe.Serializer.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, T> AbstractCookingRecipe.Serializer.streamCodecprivate final StreamCodec<RegistryFriendlyByteBuf, T> CustomRecipe.Serializer.streamCodecprivate final StreamCodec<RegistryFriendlyByteBuf, T> SingleItemRecipe.Serializer.streamCodecMethods in net.minecraft.world.item.crafting that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe<T>> SelectableRecipe.noRecipeCodec()static <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe.SingleInputEntry<T>> SelectableRecipe.SingleInputEntry.noRecipeCodec()static <T extends Recipe<?>>
StreamCodec<RegistryFriendlyByteBuf, SelectableRecipe.SingleInputSet<T>> SelectableRecipe.SingleInputSet.noRecipeCodec()AbstractCookingRecipe.Serializer.streamCodec()CustomRecipe.Serializer.streamCodec()RecipeSerializer.streamCodec()Deprecated.ShapedRecipe.Serializer.streamCodec()ShapelessRecipe.Serializer.streamCodec()SingleItemRecipe.Serializer.streamCodec()SmithingTransformRecipe.Serializer.streamCodec()SmithingTrimRecipe.Serializer.streamCodec()TransmuteRecipe.Serializer.streamCodec()Methods in net.minecraft.world.item.crafting with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionprivate static ShapedRecipeShapedRecipe.Serializer.fromNetwork(RegistryFriendlyByteBuf pBuffer) private static voidShapedRecipe.Serializer.toNetwork(RegistryFriendlyByteBuf pBuffer, ShapedRecipe pRecipe) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FurnaceRecipeDisplay> FurnaceRecipeDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeDisplay> RecipeDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeDisplayEntry> RecipeDisplayEntry.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapedCraftingRecipeDisplay> ShapedCraftingRecipeDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapelessCraftingRecipeDisplay> ShapelessCraftingRecipeDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.AnyFuel> SlotDisplay.AnyFuel.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.Composite> SlotDisplay.Composite.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.Empty> SlotDisplay.Empty.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.ItemSlotDisplay> SlotDisplay.ItemSlotDisplay.STREAM_CODECSlotDisplay.ItemStackSlotDisplay.STREAM_CODECSlotDisplay.SmithingTrimDemoSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay> SlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.TagSlotDisplay> SlotDisplay.TagSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.WithRemainder> SlotDisplay.WithRemainder.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmithingRecipeDisplay> SmithingRecipeDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, StonecutterRecipeDisplay> StonecutterRecipeDisplay.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, T> RecipeDisplay.Type.streamCodecThe field for thestreamCodecrecord component.private final StreamCodec<RegistryFriendlyByteBuf, T> SlotDisplay.Type.streamCodecThe field for thestreamCodecrecord component.Methods in net.minecraft.world.item.crafting.display that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionRecipeDisplay.Type.streamCodec()Returns the value of thestreamCodecrecord component.SlotDisplay.Type.streamCodec()Returns the value of thestreamCodecrecord component.Constructor parameters in net.minecraft.world.item.crafting.display with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aTyperecord class.Type(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aTyperecord class. -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Enchantment>> Enchantment.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments> ItemEnchantments.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Repairable> Repairable.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Equippable> Equippable.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TrimPattern> TrimPattern.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ArmorTrim> ArmorTrim.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>> ItemCost.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemCost> ItemCost.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, MerchantOffer> MerchantOffer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, MerchantOffers> MerchantOffers.STREAM_CODECMethods in net.minecraft.world.item.trading with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic MerchantOfferMerchantOffer.createFromStream(RegistryFriendlyByteBuf pBuffer) private static voidMerchantOffer.writeToStream(RegistryFriendlyByteBuf pBuffer, MerchantOffer pOffer) -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, BannerPattern> BannerPattern.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BannerPatternLayers.Layer> BannerPatternLayers.Layer.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BannerPatternLayers> BannerPatternLayers.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PotDecorations> PotDecorations.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>> DimensionType.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, PositionSource> PositionSource.STREAM_CODECMethods in net.minecraft.world.level.gameevent that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> PositionSourceType.streamCodec() -
Uses of RegistryFriendlyByteBuf in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, MapDecoration> MapDecoration.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptiondefault voidIMenuProviderExtension.writeClientSideData(AbstractContainerMenu menu, RegistryFriendlyByteBuf buffer) Allows the menu provider to write additional data to be read byIContainerFactory.create(int, Inventory, RegistryFriendlyByteBuf)when the menu is created on the client-side. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionprivate static final StreamCodec<RegistryFriendlyByteBuf, ICustomIngredient> IngredientCodecs.CUSTOM_INGREDIENT_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SizedIngredient> SizedIngredient.STREAM_CODECprivate final StreamCodec<? super RegistryFriendlyByteBuf, T> IngredientType.streamCodecThe field for thestreamCodecrecord component.Methods in net.neoforged.neoforge.common.crafting that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionIngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) IngredientCodecs.streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient> vanillaCodec) StreamCodec<? super RegistryFriendlyByteBuf, T> IngredientType.streamCodec()Returns the value of thestreamCodecrecord component.Method parameters in net.neoforged.neoforge.common.crafting with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionIngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) IngredientCodecs.streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient> vanillaCodec) Constructor parameters in net.neoforged.neoforge.common.crafting with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionIngredientType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aIngredientTyperecord class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionIMenuTypeExtension.create(int windowId, Inventory playerInv, RegistryFriendlyByteBuf extraData) Method parameters in net.neoforged.neoforge.common.extensions with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptiondefault OptionalIntIPlayerExtension.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
Method parameters in net.neoforged.neoforge.common.util with type arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionFakePlayer.openMenu(@Nullable MenuProvider menuProvider, @Nullable Consumer<RegistryFriendlyByteBuf> extraDataWriter) static 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.entity
Methods in net.neoforged.neoforge.entity with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionvoidIEntityWithComplexSpawn.readSpawnData(RegistryFriendlyByteBuf additionalData) Called by the client when it receives a Entity spawn packet.voidIEntityWithComplexSpawn.writeSpawnData(RegistryFriendlyByteBuf buffer) Called by the server when constructing the spawn packet. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FluidStack> FluidStack.OPTIONAL_STREAM_CODECA stream codec for fluid stacks that accepts empty stacks.static final StreamCodec<RegistryFriendlyByteBuf, FluidStack> FluidStack.STREAM_CODECA 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
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescription(package private) static final StreamCodec<RegistryFriendlyByteBuf, SimpleFluidIngredient> SimpleFluidIngredient.CONTENTS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<FluidIngredient>> FluidIngredient.OPTIONAL_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, CustomDisplayFluidIngredient> CustomDisplayFluidIngredient.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredient.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SizedFluidIngredient> SizedFluidIngredient.STREAM_CODECprivate final StreamCodec<? super RegistryFriendlyByteBuf, T> FluidIngredientType.streamCodecThe field for thestreamCodecrecord component.Methods in net.neoforged.neoforge.fluids.crafting that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescription(package private) static StreamCodec<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredientCodecs.streamCodec()StreamCodec<? super RegistryFriendlyByteBuf, T> FluidIngredientType.streamCodec()Returns the value of thestreamCodecrecord component.Constructor parameters in net.neoforged.neoforge.fluids.crafting with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionFluidIngredientType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aFluidIngredientTyperecord class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.fluids.crafting.display
Fields in net.neoforged.neoforge.fluids.crafting.display with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FluidSlotDisplay> FluidSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FluidStackSlotDisplay> FluidStackSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FluidTagSlotDisplay> FluidTagSlotDisplay.STREAM_CODEC -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network
Methods in net.neoforged.neoforge.network with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionIContainerFactory.create(int windowId, Inventory inv, RegistryFriendlyByteBuf data) Constructs a menu instance on the client-side in response to a menu being opened on the server-side for a player. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.codec
Methods in net.neoforged.neoforge.network.codec that return types with arguments of type RegistryFriendlyByteBufModifier 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.Method parameters in net.neoforged.neoforge.network.codec with type arguments of type RegistryFriendlyByteBufModifier 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
Methods in net.neoforged.neoforge.network.handlers with parameters of type RegistryFriendlyByteBufModifier 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
Fields in net.neoforged.neoforge.network.payload with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionAdvancedContainerSetDataPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdvancedOpenScreenPayload> AdvancedOpenScreenPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AuxiliaryLightDataPayload> AuxiliaryLightDataPayload.STREAM_CODECClientboundCustomSetTimePayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeContentPayload> RecipeContentPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RegistryDataMapSyncPayload<?>> RegistryDataMapSyncPayload.STREAM_CODECMethods in net.neoforged.neoforge.network.payload with parameters of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionstatic <T> RegistryDataMapSyncPayload<T> RegistryDataMapSyncPayload.decode(RegistryFriendlyByteBuf buf) private static <T> TRegistryDataMapSyncPayload.readJsonWithRegistryCodec(RegistryFriendlyByteBuf buf, com.mojang.serialization.Codec<T> codec) voidRegistryDataMapSyncPayload.write(RegistryFriendlyByteBuf buf) private static <T> voidRegistryDataMapSyncPayload.writeJsonWithRegistryCodec(RegistryFriendlyByteBuf buf, com.mojang.serialization.Codec<T> codec, T value) -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration with type parameters of type RegistryFriendlyByteBufModifier and TypeFieldDescriptionprivate final StreamCodec<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codecThe field for thecodecrecord component.private final StreamCodec<RegistryFriendlyByteBuf, T> ModdedPlayPayloadRegistration.readerThe field for thereaderrecord component.Methods in net.neoforged.neoforge.network.registration that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec()Returns the value of thecodecrecord component.ModdedPlayPayloadRegistration.reader()Returns the value of thereaderrecord component.Method parameters in net.neoforged.neoforge.network.registration with type arguments of type RegistryFriendlyByteBufModifier 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.Constructor parameters in net.neoforged.neoforge.network.registration with type arguments of type RegistryFriendlyByteBufModifierConstructorDescriptionModdedPlayPayloadRegistration(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<RegistryFriendlyByteBuf, T> reader) Creates an instance of aModdedPlayPayloadRegistrationrecord 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 aPayloadRegistrationrecord class. -
Uses of RegistryFriendlyByteBuf in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets that return types with arguments of type RegistryFriendlyByteBufModifier and TypeMethodDescription<T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AndHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> HolderSetType.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> NotHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey) <T> StreamCodec<RegistryFriendlyByteBuf, ? extends ICustomHolderSet<T>> OrHolderSet.Type.makeStreamCodec(ResourceKey<? extends Registry<T>> registryKey)