Uses of Interface
net.minecraft.network.codec.StreamCodec
Packages that use StreamCodec
Package
Description
-
Uses of StreamCodec in net.minecraft.advancements
Fields in net.minecraft.advancements declared as StreamCodecModifier 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_CODEC -
Uses of StreamCodec in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentMatchers> DataComponentMatchers.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MinMaxBounds.Doubles> MinMaxBounds.Doubles.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MinMaxBounds.FloatDegrees> MinMaxBounds.FloatDegrees.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MinMaxBounds.Ints> MinMaxBounds.Ints.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, NbtPredicate> NbtPredicate.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate.ExactMatcher> StatePropertiesPredicate.ExactMatcher.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate.PropertyMatcher> StatePropertiesPredicate.PropertyMatcher.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate.RangedMatcher> StatePropertiesPredicate.RangedMatcher.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate> StatePropertiesPredicate.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, StatePropertiesPredicate.ValueMatcher> StatePropertiesPredicate.ValueMatcher.STREAM_CODECMethods in net.minecraft.advancements.critereon that return StreamCodecModifier and TypeMethodDescription(package private) static <B extends io.netty.buffer.ByteBuf,T extends Number & Comparable<T>>
StreamCodec<B, MinMaxBounds.Bounds<T>> MinMaxBounds.Bounds.createStreamCodec(StreamCodec<B, T> pValueCodec) Methods in net.minecraft.advancements.critereon with parameters of type StreamCodecModifier and TypeMethodDescription(package private) static <B extends io.netty.buffer.ByteBuf,T extends Number & Comparable<T>>
StreamCodec<B, MinMaxBounds.Bounds<T>> MinMaxBounds.Bounds.createStreamCodec(StreamCodec<B, T> pValueCodec) -
Uses of StreamCodec in net.minecraft.core
Fields in net.minecraft.core declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, BlockBox> BlockBox.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, BlockPos> BlockPos.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientAsset.ResourceTexture> ClientAsset.ResourceTexture.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, GlobalPos> GlobalPos.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, RegistrySynchronization.PackedRegistryEntry> RegistrySynchronization.PackedRegistryEntry.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Rotations> Rotations.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, SectionPos> SectionPos.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, UUID> UUIDUtil.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Vec3i> Vec3i.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.core.component
Fields in net.minecraft.core.component declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.DELIMITED_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentExactPredicate> DataComponentExactPredicate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.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 StreamCodecModifier and TypeMethodDescription<T> StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentPatch.CodecGetter.apply(DataComponentType<T> pComponentType) private static StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.createStreamCodec(DataComponentPatch.CodecGetter pCodecGetter) StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec()StreamCodec<? super RegistryFriendlyByteBuf, T> DataComponentType.streamCodec()Methods in net.minecraft.core.component with parameters of type StreamCodecModifier and TypeMethodDescriptionDataComponentType.Builder.networkSynchronized(StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec) Constructors in net.minecraft.core.component with parameters of type StreamCodecModifierConstructorDescription(package private)SimpleType(com.mojang.serialization.Codec<T> pCodec, StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec) -
Uses of StreamCodec in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate.Single<?>> DataComponentPredicate.SINGLE_STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate.Single<T>> DataComponentPredicate.Type.singleStreamCodecstatic final StreamCodec<RegistryFriendlyByteBuf, Map<DataComponentPredicate.Type<?>, DataComponentPredicate>> DataComponentPredicate.STREAM_CODECMethods in net.minecraft.core.component.predicates that return StreamCodec -
Uses of StreamCodec in net.minecraft.core.particles
Fields in net.minecraft.core.particles declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, DustColorTransitionOptions> DustColorTransitionOptions.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DustParticleOptions> DustParticleOptions.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ExplosionParticleInfo> ExplosionParticleInfo.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 StreamCodecModifier and TypeMethodDescriptionstatic StreamCodec<? super RegistryFriendlyByteBuf, BlockParticleOption> BlockParticleOption.streamCodec(ParticleType<BlockParticleOption> pParticleType) static StreamCodec<? super io.netty.buffer.ByteBuf, ColorParticleOption> ColorParticleOption.streamCodec(ParticleType<ColorParticleOption> pType) static StreamCodec<? super RegistryFriendlyByteBuf, ItemParticleOption> ItemParticleOption.streamCodec(ParticleType<ItemParticleOption> pParticleType) abstract StreamCodec<? super RegistryFriendlyByteBuf, T> ParticleType.streamCodec()static StreamCodec<? super io.netty.buffer.ByteBuf, PowerParticleOption> PowerParticleOption.streamCodec(ParticleType<PowerParticleOption> pParticleType) SimpleParticleType.streamCodec()static StreamCodec<? super io.netty.buffer.ByteBuf, SpellParticleOption> SpellParticleOption.streamCodec(ParticleType<SpellParticleOption> pParticleType) -
Uses of StreamCodec in net.minecraft.network
Fields in net.minecraft.network declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, HashedPatchMap> HashedPatchMap.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, HashedStack.ActualItem> HashedStack.ActualItem.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, HashedStack> HashedStack.STREAM_CODECMethods in net.minecraft.network that return StreamCodecModifier and TypeMethodDescriptionStreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> ProtocolInfo.codec() -
Uses of StreamCodec in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as StreamCodecModifier 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<io.netty.buffer.ByteBuf, ChatTypeDecoration.Parameter> ChatTypeDecoration.Parameter.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ChatTypeDecoration> ChatTypeDecoration.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Component> ComponentSerialization.TRUSTED_CONTEXT_FREE_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 StreamCodec in net.minecraft.network.chat.numbers
Fields in net.minecraft.network.chat.numbers declared as StreamCodecModifier 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 StreamCodec -
Uses of StreamCodec in net.minecraft.network.codec
Classes in net.minecraft.network.codec that implement StreamCodecFields in net.minecraft.network.codec declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Boolean> ByteBufCodecs.BOOLstatic final StreamCodec<io.netty.buffer.ByteBuf, Byte> ByteBufCodecs.BYTEstatic final StreamCodec<io.netty.buffer.ByteBuf, byte[]> ByteBufCodecs.BYTE_ARRAYstatic final StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.COMPOUND_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.CONTAINER_IDstatic final StreamCodec<io.netty.buffer.ByteBuf, Double> ByteBufCodecs.DOUBLEstatic final StreamCodec<io.netty.buffer.ByteBuf, Float> ByteBufCodecs.FLOATstatic final StreamCodec<io.netty.buffer.ByteBuf, com.mojang.authlib.GameProfile> ByteBufCodecs.GAME_PROFILEstatic final StreamCodec<io.netty.buffer.ByteBuf, com.mojang.authlib.properties.PropertyMap> ByteBufCodecs.GAME_PROFILE_PROPERTIESstatic final StreamCodec<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.INTstatic final StreamCodec<io.netty.buffer.ByteBuf, Long> ByteBufCodecs.LONGstatic final StreamCodec<io.netty.buffer.ByteBuf, long[]> ByteBufCodecs.LONG_ARRAYstatic final StreamCodec<io.netty.buffer.ByteBuf, Optional<CompoundTag>> ByteBufCodecs.OPTIONAL_COMPOUND_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, OptionalInt> ByteBufCodecs.OPTIONAL_VAR_INTstatic final StreamCodec<io.netty.buffer.ByteBuf, String> ByteBufCodecs.PLAYER_NAMEstatic final StreamCodec<io.netty.buffer.ByteBuf, Quaternionf> ByteBufCodecs.QUATERNIONFstatic final StreamCodec<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.RGB_COLORstatic final StreamCodec<io.netty.buffer.ByteBuf, Float> ByteBufCodecs.ROTATION_BYTEprivate final StreamCodec<? super B, ? extends V> IdDispatchCodec.Entry.serializerThe field for theserializerrecord component.static final StreamCodec<io.netty.buffer.ByteBuf, Short> ByteBufCodecs.SHORTstatic final StreamCodec<io.netty.buffer.ByteBuf, String> ByteBufCodecs.STRING_UTF8static final StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.TRUSTED_COMPOUND_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TRUSTED_TAGstatic final StreamCodec<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.UNSIGNED_SHORTstatic final StreamCodec<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.VAR_INTstatic final StreamCodec<io.netty.buffer.ByteBuf, Long> ByteBufCodecs.VAR_LONGstatic final StreamCodec<io.netty.buffer.ByteBuf, Vector3f> ByteBufCodecs.VECTOR3FMethods in net.minecraft.network.codec that return StreamCodecModifier and TypeMethodDescriptiondefault <O> StreamCodec<B, O> StreamCodec.apply(StreamCodec.CodecOperation<B, V, O> pOperation) StreamCodec.CodecOperation.apply(StreamCodec<B, S> pCodec) static StreamCodec<io.netty.buffer.ByteBuf, byte[]> ByteBufCodecs.byteArray(int pMaxSize) default <S extends B>
StreamCodec<S, V> StreamCodec.cast()static <B extends io.netty.buffer.ByteBuf,V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> pFactory, StreamCodec<? super B, V> pCodec) static <B extends io.netty.buffer.ByteBuf,V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> pFactory, StreamCodec<? super B, V> pCodec, int pMaxSize) static <B,C, T1> StreamCodec <B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec, Function<C, T1> pGetter, Function<T1, C> pFactory) static <B,C, T1, T2>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, BiFunction<T1, T2, C> pFactory) static <B,C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> pFactory) static <B,C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> pFactory) static <B,C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, com.mojang.datafixers.util.Function7<T1, T2, T3, T4, T5, T6, T7, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, com.mojang.datafixers.util.Function8<T1, T2, T3, T4, T5, T6, T7, T8, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, StreamCodec<? super B, T9> pCodec9, Function<C, T9> pGetter9, com.mojang.datafixers.util.Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, StreamCodec<? super B, T9> pCodec9, Function<C, T9> pGetter9, StreamCodec<? super B, T10> pCodec10, Function<C, T10> pGetter10, StreamCodec<? super B, T11> pCodec11, Function<C, T11> pGetter11, com.mojang.datafixers.util.Function11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, C> pFactory) static StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.compoundTagCodec(Supplier<NbtAccounter> pAccounterSupplier) default <U> StreamCodec<B, U> StreamCodec.dispatch(Function<? super U, ? extends V> pKeyGetter, Function<? super V, ? extends StreamCodec<? super B, ? extends U>> pCodecGetter) static <B extends io.netty.buffer.ByteBuf,L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either(StreamCodec<? super B, L> pLeftCodec, StreamCodec<? super B, R> pRightCodec) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec(com.mojang.serialization.Codec<T> pCodec) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec(com.mojang.serialization.Codec<T> pCodec, Supplier<NbtAccounter> pAccounterSupplier) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodecTrusted(com.mojang.serialization.Codec<T> pCodec) static <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<io.netty.buffer.ByteBuf, T> ByteBufCodecs.idMapper(IntFunction<T> pIdLookup, ToIntFunction<T> pIdGetter) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> static StreamCodec<io.netty.buffer.ByteBuf, JsonElement> ByteBufCodecs.lenientJson(int pMaxLength) static <B extends io.netty.buffer.ByteBuf,K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> pFactory, StreamCodec<? super B, K> pKeyCodec, StreamCodec<? super B, V> pValueCodec) static <B extends io.netty.buffer.ByteBuf,K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> pFactory, StreamCodec<? super B, K> pKeyCodec, StreamCodec<? super B, V> pValueCodec, int pMaxSize) default <O> StreamCodec<B, O> default <O extends io.netty.buffer.ByteBuf>
StreamCodec<O, V> static <B,V> StreamCodec <B, V> StreamCodec.of(StreamEncoder<B, V> pEncoder, StreamDecoder<B, V> pDecoder) static <B,V> StreamCodec <B, V> StreamCodec.ofMember(StreamMemberEncoder<B, V> pEncoder, StreamDecoder<B, V> pDecoder) static <B extends io.netty.buffer.ByteBuf,V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional(StreamCodec<? super B, V> pCodec) static StreamCodec<io.netty.buffer.ByteBuf, Optional<Tag>> ByteBufCodecs.optionalTagCodec(Supplier<NbtAccounter> pAccounter) static <B,T> StreamCodec <B, T> StreamCodec.recursive(UnaryOperator<StreamCodec<B, T>> pModifier) 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) StreamCodec<? super B, ? extends V> IdDispatchCodec.Entry.serializer()Returns the value of theserializerrecord component.static StreamCodec<io.netty.buffer.ByteBuf, String> ByteBufCodecs.stringUtf8(int pMaxLength) static StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.tagCodec(Supplier<NbtAccounter> pAccounter) static <B,V> StreamCodec <B, V> StreamCodec.unit(V pExpectedValue) Methods in net.minecraft.network.codec with parameters of type StreamCodecModifier and TypeMethodDescriptionIdDispatchCodec.Builder.add(T pType, StreamCodec<? super B, ? extends V> pSerializer) StreamCodec.CodecOperation.apply(StreamCodec<B, S> pCodec) static <B extends io.netty.buffer.ByteBuf,V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> pFactory, StreamCodec<? super B, V> pCodec) static <B extends io.netty.buffer.ByteBuf,V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> pFactory, StreamCodec<? super B, V> pCodec, int pMaxSize) static <B,C, T1> StreamCodec <B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec, Function<C, T1> pGetter, Function<T1, C> pFactory) static <B,C, T1, T2>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, BiFunction<T1, T2, C> pFactory) static <B,C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> pFactory) static <B,C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> pFactory) static <B,C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, com.mojang.datafixers.util.Function7<T1, T2, T3, T4, T5, T6, T7, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, com.mojang.datafixers.util.Function8<T1, T2, T3, T4, T5, T6, T7, T8, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, StreamCodec<? super B, T9> pCodec9, Function<C, T9> pGetter9, com.mojang.datafixers.util.Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, C> pFactory) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> pCodec1, Function<C, T1> pGetter1, StreamCodec<? super B, T2> pCodec2, Function<C, T2> pGetter2, StreamCodec<? super B, T3> pCodec3, Function<C, T3> pGetter3, StreamCodec<? super B, T4> pCodec4, Function<C, T4> pGetter4, StreamCodec<? super B, T5> pCodec5, Function<C, T5> pGetter5, StreamCodec<? super B, T6> pCodec6, Function<C, T6> pGetter6, StreamCodec<? super B, T7> pCodec7, Function<C, T7> pGetter7, StreamCodec<? super B, T8> pCodec8, Function<C, T8> pGetter8, StreamCodec<? super B, T9> pCodec9, Function<C, T9> pGetter9, StreamCodec<? super B, T10> pCodec10, Function<C, T10> pGetter10, StreamCodec<? super B, T11> pCodec11, Function<C, T11> pGetter11, com.mojang.datafixers.util.Function11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, C> pFactory) static <B extends io.netty.buffer.ByteBuf,L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either(StreamCodec<? super B, L> pLeftCodec, StreamCodec<? super B, R> pRightCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> pRegistryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) static <B extends io.netty.buffer.ByteBuf,K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> pFactory, StreamCodec<? super B, K> pKeyCodec, StreamCodec<? super B, V> pValueCodec) static <B extends io.netty.buffer.ByteBuf,K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> pFactory, StreamCodec<? super B, K> pKeyCodec, StreamCodec<? super B, V> pValueCodec, int pMaxSize) static <B extends io.netty.buffer.ByteBuf,V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional(StreamCodec<? super B, V> pCodec) Method parameters in net.minecraft.network.codec with type arguments of type StreamCodecModifier and TypeMethodDescriptionstatic <B,T> StreamCodec <B, T> StreamCodec.recursive(UnaryOperator<StreamCodec<B, T>> pModifier) Constructors in net.minecraft.network.codec with parameters of type StreamCodecModifierConstructorDescription(package private)Entry(StreamCodec<? super B, ? extends V> serializer, T type) Creates an instance of aEntryrecord class. -
Uses of StreamCodec in net.minecraft.network.protocol
Fields in net.minecraft.network.protocol declared as StreamCodecModifier and TypeFieldDescriptionprivate final StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> ProtocolInfoBuilder.Implementation.codecThe field for thecodecrecord component.private final StreamCodec<? super B, P> ProtocolInfoBuilder.CodecEntry.serializerThe field for theserializerrecord component.Methods in net.minecraft.network.protocol that return StreamCodecModifier and TypeMethodDescriptionStreamCodec<? super B, V> CodecModifier.apply(StreamCodec<? super B, V> pCodec, C pContext) StreamCodec<B, Packet<? super L>> ProtocolCodecBuilder.build()(package private) StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> ProtocolInfoBuilder.buildPacketCodec(Function<io.netty.buffer.ByteBuf, B> pBufferFactory, List<ProtocolInfoBuilder.CodecEntry<T, ?, B, C>> pEntries, C pContext) static <B extends io.netty.buffer.ByteBuf,T extends Packet<?>>
StreamCodec<B, T> Packet.codec(StreamMemberEncoder<B, T> pEncoder, StreamDecoder<B, T> pDecoder) StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> ProtocolInfoBuilder.Implementation.codec()Returns the value of thecodecrecord component.StreamCodec<? super B, P> ProtocolInfoBuilder.CodecEntry.serializer()Returns the value of theserializerrecord component.Methods in net.minecraft.network.protocol with parameters of type StreamCodecModifier and TypeMethodDescription<T extends Packet<? super L>>
ProtocolCodecBuilder<B, L> ProtocolCodecBuilder.add(PacketType<T> pPacketType, StreamCodec<? super B, T> pCodec) ProtocolInfoBuilder.addPacket(PacketType<P> pType, StreamCodec<? super B, P> pSerializer) ProtocolInfoBuilder.addPacket(PacketType<P> pType, StreamCodec<? super B, P> pSerializer, CodecModifier<B, P, C> pModifier) StreamCodec<? super B, V> CodecModifier.apply(StreamCodec<? super B, V> pCodec, C pContext) Constructors in net.minecraft.network.protocol with parameters of type StreamCodecModifierConstructorDescription(package private)CodecEntry(PacketType<P> type, StreamCodec<? super B, P> serializer, CodecModifier<B, P, C> modifier) Creates an instance of aCodecEntryrecord class.(package private)Implementation(ConnectionProtocol id, PacketFlow flow, StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> codec, BundlerInfo bundlerInfo) Creates an instance of aImplementationrecord class. -
Uses of StreamCodec in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.CONFIG_STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.CONFIG_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundShowDialogPacket> ClientboundShowDialogPacket.CONTEXT_FREE_STREAM_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, Map<String, String>> ClientboundCustomReportDetailsPacket.DETAILS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.GAMEPLAY_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, byte[]> ClientboundStoreCookiePacket.PAYLOAD_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundClearDialogPacket> ClientboundClearDialogPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundCustomReportDetailsPacket> ClientboundCustomReportDetailsPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundDisconnectPacket> ClientboundDisconnectPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundKeepAlivePacket> ClientboundKeepAlivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPingPacket> ClientboundPingPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundResourcePackPopPacket> ClientboundResourcePackPopPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundResourcePackPushPacket> ClientboundResourcePackPushPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundServerLinksPacket> ClientboundServerLinksPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundShowDialogPacket> ClientboundShowDialogPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundStoreCookiePacket> ClientboundStoreCookiePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTransferPacket> ClientboundTransferPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundUpdateTagsPacket> ClientboundUpdateTagsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundClientInformationPacket> ServerboundClientInformationPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundCustomClickActionPacket> ServerboundCustomClickActionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundKeepAlivePacket> ServerboundKeepAlivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPongPacket> ServerboundPongPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundResourcePackPacket> ServerboundResourcePackPacket.STREAM_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, Optional<Tag>> ServerboundCustomClickActionPacket.UNTRUSTED_TAG_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom declared as StreamCodecModifier and TypeFieldDescriptionprivate final StreamCodec<B, T> CustomPacketPayload.TypeAndCodec.codecThe field for thecodecrecord component.static final StreamCodec<FriendlyByteBuf, BrandPayload> BrandPayload.STREAM_CODECMethods in net.minecraft.network.protocol.common.custom that return StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T extends CustomPacketPayload>
StreamCodec<B, T> CustomPacketPayload.codec(StreamMemberEncoder<B, T> pEncoder, StreamDecoder<B, T> pDecoder) static <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> CustomPacketPayload.codec(CustomPacketPayload.FallbackProvider<B> pFallbackProvider, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> pTypeAndCodecs, ConnectionProtocol protocol, PacketFlow packetFlow) CustomPacketPayload.TypeAndCodec.codec()Returns the value of thecodecrecord component.static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec(ResourceLocation pId, int pMaxSize) StreamCodec<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create(ResourceLocation pId) Constructors in net.minecraft.network.protocol.common.custom with parameters of type StreamCodecModifierConstructorDescriptionTypeAndCodec(CustomPacketPayload.Type<T> type, StreamCodec<B, T> codec) Creates an instance of aTypeAndCodecrecord class. -
Uses of StreamCodec in net.minecraft.network.protocol.configuration
Fields in net.minecraft.network.protocol.configuration declared as StreamCodecModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundCodeOfConductPacket> ClientboundCodeOfConductPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundFinishConfigurationPacket> ClientboundFinishConfigurationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundRegistryDataPacket> ClientboundRegistryDataPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundResetChatPacket> ClientboundResetChatPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundSelectKnownPacks> ClientboundSelectKnownPacks.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundUpdateEnabledFeaturesPacket> ClientboundUpdateEnabledFeaturesPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundAcceptCodeOfConductPacket> ServerboundAcceptCodeOfConductPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundFinishConfigurationPacket> ServerboundFinishConfigurationPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundSelectKnownPacks> ServerboundSelectKnownPacks.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.cookie
Fields in net.minecraft.network.protocol.cookie declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundCookieRequestPacket> ClientboundCookieRequestPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCookieResponsePacket> ServerboundCookieResponsePacket.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as StreamCodecModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, byte[]> ClientboundLightUpdatePacketData.DATA_LAYER_STREAM_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, Map<Heightmap.Types, long[]>> ClientboundLevelChunkPacketData.HEIGHTMAPS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, List<ClientboundLevelChunkPacketData.BlockEntityInfo>> ClientboundLevelChunkPacketData.BlockEntityInfo.LIST_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, AttributeModifier> ClientboundUpdateAttributesPacket.AttributeSnapshot.MODIFIER_STREAM_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, Set<DebugSubscription<?>>> ServerboundDebugSubscriptionRequestPacket.SET_STREAM_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<HashedStack>> 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<FriendlyByteBuf, ClientboundAnimatePacket> ClientboundAnimatePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundAwardStatsPacket> ClientboundAwardStatsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundBlockChangedAckPacket> ClientboundBlockChangedAckPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundBlockDestructionPacket> ClientboundBlockDestructionPacket.STREAM_CODECClientboundBlockEntityDataPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockEventPacket> ClientboundBlockEventPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> ClientboundBlockUpdatePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBossEventPacket> ClientboundBossEventPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundChangeDifficultyPacket> ClientboundChangeDifficultyPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundChunkBatchFinishedPacket> ClientboundChunkBatchFinishedPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundChunkBatchStartPacket> ClientboundChunkBatchStartPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundChunksBiomesPacket> ClientboundChunksBiomesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundClearTitlesPacket> ClientboundClearTitlesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundCommandsPacket> ClientboundCommandsPacket.STREAM_CODECClientboundCommandSuggestionsPacket.Entry.STREAM_CODECClientboundCommandSuggestionsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundContainerClosePacket> ClientboundContainerClosePacket.STREAM_CODECClientboundContainerSetContentPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundContainerSetDataPacket> ClientboundContainerSetDataPacket.STREAM_CODECClientboundContainerSetSlotPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundCooldownPacket> ClientboundCooldownPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomChatCompletionsPacket> ClientboundCustomChatCompletionsPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> ClientboundDamageEventPacket.STREAM_CODECClientboundDebugBlockValuePacket.STREAM_CODECClientboundDebugChunkValuePacket.STREAM_CODECClientboundDebugEntityValuePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDebugEventPacket> ClientboundDebugEventPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundDebugSamplePacket> ClientboundDebugSamplePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundDeleteChatPacket> ClientboundDeleteChatPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDisguisedChatPacket> ClientboundDisguisedChatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundEntityEventPacket> ClientboundEntityEventPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundEntityPositionSyncPacket> ClientboundEntityPositionSyncPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundExplodePacket> ClientboundExplodePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundForgetLevelChunkPacket> ClientboundForgetLevelChunkPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundGameEventPacket> ClientboundGameEventPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundGameTestHighlightPosPacket> ClientboundGameTestHighlightPosPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundHorseScreenOpenPacket> ClientboundHorseScreenOpenPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundHurtAnimationPacket> ClientboundHurtAnimationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundInitializeBorderPacket> ClientboundInitializeBorderPacket.STREAM_CODECClientboundLevelChunkPacketData.BlockEntityInfo.STREAM_CODECClientboundLevelChunkWithLightPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLevelEventPacket> ClientboundLevelEventPacket.STREAM_CODECClientboundLevelParticlesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLightUpdatePacket> ClientboundLightUpdatePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundLoginPacket> ClientboundLoginPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket> ClientboundMapItemDataPacket.STREAM_CODECClientboundMerchantOffersPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.Pos> ClientboundMoveEntityPacket.Pos.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> ClientboundMoveEntityPacket.PosRot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveEntityPacket.Rot> ClientboundMoveEntityPacket.Rot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveMinecartPacket> ClientboundMoveMinecartPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMoveVehiclePacket> ClientboundMoveVehiclePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundOpenBookPacket> ClientboundOpenBookPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket> ClientboundOpenScreenPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundOpenSignEditorPacket> ClientboundOpenSignEditorPacket.STREAM_CODECClientboundPlaceGhostRecipePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerAbilitiesPacket> ClientboundPlayerAbilitiesPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundPlayerChatPacket> ClientboundPlayerChatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerCombatEndPacket> ClientboundPlayerCombatEndPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundPlayerCombatEnterPacket> ClientboundPlayerCombatEnterPacket.STREAM_CODECClientboundPlayerCombatKillPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerInfoRemovePacket> ClientboundPlayerInfoRemovePacket.STREAM_CODECClientboundPlayerInfoUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerLookAtPacket> ClientboundPlayerLookAtPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerPositionPacket> ClientboundPlayerPositionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerRotationPacket> ClientboundPlayerRotationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundProjectilePowerPacket> ClientboundProjectilePowerPacket.STREAM_CODECClientboundRecipeBookAddPacket.Entry.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundRecipeBookAddPacket> ClientboundRecipeBookAddPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundRecipeBookRemovePacket> ClientboundRecipeBookRemovePacket.STREAM_CODECClientboundRecipeBookSettingsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundRemoveEntitiesPacket> ClientboundRemoveEntitiesPacket.STREAM_CODECClientboundRemoveMobEffectPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundResetScorePacket> ClientboundResetScorePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundRespawnPacket> ClientboundRespawnPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundRotateHeadPacket> ClientboundRotateHeadPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSectionBlocksUpdatePacket> ClientboundSectionBlocksUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSelectAdvancementsTabPacket> ClientboundSelectAdvancementsTabPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundServerDataPacket> ClientboundServerDataPacket.STREAM_CODECClientboundSetActionBarTextPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderCenterPacket> ClientboundSetBorderCenterPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderLerpSizePacket> ClientboundSetBorderLerpSizePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderSizePacket> ClientboundSetBorderSizePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderWarningDelayPacket> ClientboundSetBorderWarningDelayPacket.STREAM_CODECClientboundSetBorderWarningDistancePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetCameraPacket> ClientboundSetCameraPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheCenterPacket> ClientboundSetChunkCacheCenterPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetChunkCacheRadiusPacket> ClientboundSetChunkCacheRadiusPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetCursorItemPacket> ClientboundSetCursorItemPacket.STREAM_CODECClientboundSetDefaultSpawnPositionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket> ClientboundSetDisplayObjectivePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetEntityDataPacket> ClientboundSetEntityDataPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetEntityLinkPacket> ClientboundSetEntityLinkPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetEntityMotionPacket> ClientboundSetEntityMotionPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket> ClientboundSetEquipmentPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetExperiencePacket> ClientboundSetExperiencePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetHealthPacket> ClientboundSetHealthPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundSetHeldSlotPacket> ClientboundSetHeldSlotPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetObjectivePacket> ClientboundSetObjectivePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetPassengersPacket> ClientboundSetPassengersPacket.STREAM_CODECClientboundSetPlayerInventoryPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetPlayerTeamPacket> ClientboundSetPlayerTeamPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetScorePacket> ClientboundSetScorePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetSimulationDistancePacket> ClientboundSetSimulationDistancePacket.STREAM_CODECClientboundSetSubtitleTextPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetTimePacket> ClientboundSetTimePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> ClientboundSetTitlesAnimationPacket.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<io.netty.buffer.ByteBuf, ClientboundStartConfigurationPacket> ClientboundStartConfigurationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundStopSoundPacket> ClientboundStopSoundPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSystemChatPacket> ClientboundSystemChatPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundTabListPacket> ClientboundTabListPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTagQueryPacket> ClientboundTagQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTakeItemEntityPacket> ClientboundTakeItemEntityPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTeleportEntityPacket> ClientboundTeleportEntityPacket.STREAM_CODECClientboundTestInstanceBlockStatus.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTickingStatePacket> ClientboundTickingStatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundTickingStepPacket> ClientboundTickingStepPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundTrackedWaypointPacket.Operation> ClientboundTrackedWaypointPacket.Operation.STREAM_CODECClientboundTrackedWaypointPacket.STREAM_CODECClientboundUpdateAdvancementsPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket.AttributeSnapshot> ClientboundUpdateAttributesPacket.AttributeSnapshot.STREAM_CODECClientboundUpdateAttributesPacket.STREAM_CODECClientboundUpdateMobEffectPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateRecipesPacket> ClientboundUpdateRecipesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundAcceptTeleportationPacket> ServerboundAcceptTeleportationPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundBlockEntityTagQueryPacket> ServerboundBlockEntityTagQueryPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundChangeDifficultyPacket> ServerboundChangeDifficultyPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundChangeGameModePacket> ServerboundChangeGameModePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatAckPacket> ServerboundChatAckPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatCommandPacket> ServerboundChatCommandPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatCommandSignedPacket> ServerboundChatCommandSignedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatPacket> ServerboundChatPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChatSessionUpdatePacket> ServerboundChatSessionUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundChunkBatchReceivedPacket> ServerboundChunkBatchReceivedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundClientCommandPacket> ServerboundClientCommandPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundClientTickEndPacket> ServerboundClientTickEndPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCommandSuggestionPacket> ServerboundCommandSuggestionPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundConfigurationAcknowledgedPacket> ServerboundConfigurationAcknowledgedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerButtonClickPacket> ServerboundContainerButtonClickPacket.STREAM_CODECServerboundContainerClickPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerClosePacket> ServerboundContainerClosePacket.STREAM_CODECServerboundContainerSlotStateChangedPacket.STREAM_CODECServerboundDebugSubscriptionRequestPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEditBookPacket> ServerboundEditBookPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEntityTagQueryPacket> ServerboundEntityTagQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundInteractPacket> ServerboundInteractPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundJigsawGeneratePacket> ServerboundJigsawGeneratePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundLockDifficultyPacket> ServerboundLockDifficultyPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.Pos> ServerboundMovePlayerPacket.Pos.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.PosRot> ServerboundMovePlayerPacket.PosRot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.Rot> ServerboundMovePlayerPacket.Rot.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> ServerboundMovePlayerPacket.StatusOnly.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundMoveVehiclePacket> ServerboundMoveVehiclePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPaddleBoatPacket> ServerboundPaddleBoatPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundPickItemFromBlockPacket> ServerboundPickItemFromBlockPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundPickItemFromEntityPacket> ServerboundPickItemFromEntityPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlaceRecipePacket> ServerboundPlaceRecipePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerAbilitiesPacket> ServerboundPlayerAbilitiesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerActionPacket> ServerboundPlayerActionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerCommandPacket> ServerboundPlayerCommandPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundPlayerInputPacket> ServerboundPlayerInputPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundPlayerLoadedPacket> ServerboundPlayerLoadedPacket.STREAM_CODECServerboundRecipeBookChangeSettingsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRecipeBookSeenRecipePacket> ServerboundRecipeBookSeenRecipePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRenameItemPacket> ServerboundRenameItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSeenAdvancementsPacket> ServerboundSeenAdvancementsPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSelectBundleItemPacket> ServerboundSelectBundleItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSelectTradePacket> ServerboundSelectTradePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket> ServerboundSetBeaconPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCarriedItemPacket> ServerboundSetCarriedItemPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCommandBlockPacket> ServerboundSetCommandBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetCommandMinecartPacket> ServerboundSetCommandMinecartPacket.STREAM_CODECServerboundSetCreativeModeSlotPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetJigsawBlockPacket> ServerboundSetJigsawBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetStructureBlockPacket> ServerboundSetStructureBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSetTestBlockPacket> ServerboundSetTestBlockPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSignUpdatePacket> ServerboundSignUpdatePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundSwingPacket> ServerboundSwingPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundTeleportToEntityPacket> ServerboundTeleportToEntityPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundTestInstanceBlockActionPacket.Action> ServerboundTestInstanceBlockActionPacket.Action.STREAM_CODECServerboundTestInstanceBlockActionPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundUseItemOnPacket> ServerboundUseItemOnPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundUseItemPacket> ServerboundUseItemPacket.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.handshake
Fields in net.minecraft.network.protocol.handshake declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientIntentionPacket> ClientIntentionPacket.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.login
Fields in net.minecraft.network.protocol.login declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomQueryPacket> ClientboundCustomQueryPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundHelloPacket> ClientboundHelloPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLoginCompressionPacket> ClientboundLoginCompressionPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundLoginDisconnectPacket> ClientboundLoginDisconnectPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundLoginFinishedPacket> ClientboundLoginFinishedPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundCustomQueryAnswerPacket> ServerboundCustomQueryAnswerPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundHelloPacket> ServerboundHelloPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundKeyPacket> ServerboundKeyPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundLoginAcknowledgedPacket> ServerboundLoginAcknowledgedPacket.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.ping
Fields in net.minecraft.network.protocol.ping declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundPongResponsePacket> ClientboundPongResponsePacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundPingRequestPacket> ServerboundPingRequestPacket.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.protocol.status
Fields in net.minecraft.network.protocol.status declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ClientboundStatusResponsePacket> ClientboundStatusResponsePacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundStatusRequestPacket> ServerboundStatusRequestPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundStatusResponsePacket> ClientboundStatusResponsePacket.VANILLA_STREAM_CODEC -
Uses of StreamCodec in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher declared as StreamCodecModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, OptionalInt> EntityDataSerializers.OPTIONAL_UNSIGNED_INT_CODECMethods in net.minecraft.network.syncher that return StreamCodecModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> EntityDataSerializer.codec()Methods in net.minecraft.network.syncher with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <T> EntityDataSerializer<T> EntityDataSerializer.forValueType(StreamCodec<? super RegistryFriendlyByteBuf, T> pCodec) -
Uses of StreamCodec in net.minecraft.resources
Fields in net.minecraft.resources declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, ResourceLocation> ResourceLocation.STREAM_CODECMethods in net.minecraft.resources that return StreamCodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistryKey) -
Uses of StreamCodec in net.minecraft.server
Fields in net.minecraft.server declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerLinks.KnownLinkType> ServerLinks.KnownLinkType.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerLinks.UntrustedEntry> ServerLinks.UntrustedEntry.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, com.mojang.datafixers.util.Either<ServerLinks.KnownLinkType, Component>> ServerLinks.TYPE_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, List<ServerLinks.UntrustedEntry>> ServerLinks.UNTRUSTED_LINKS_STREAM_CODEC -
Uses of StreamCodec in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Dialog> Dialog.CONTEXT_FREE_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Dialog>> Dialog.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DialogAction> DialogAction.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.server.network
Methods in net.minecraft.server.network that return StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, Filterable<T>> Filterable.streamCodec(StreamCodec<B, T> pCodec) Methods in net.minecraft.server.network with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, Filterable<T>> Filterable.streamCodec(StreamCodec<B, T> pCodec) -
Uses of StreamCodec in net.minecraft.server.packs.repository
Fields in net.minecraft.server.packs.repository declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, KnownPack> KnownPack.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.sounds
Fields in net.minecraft.sounds declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, SoundEvent> SoundEvent.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.stats
Fields in net.minecraft.stats declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeBookSettings> RecipeBookSettings.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, RecipeBookSettings.TypeSettings> RecipeBookSettings.TypeSettings.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodecMethods in net.minecraft.stats that return StreamCodec -
Uses of StreamCodec in net.minecraft.tags
Methods in net.minecraft.tags that return StreamCodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<io.netty.buffer.ByteBuf, TagKey<T>> TagKey.streamCodec(ResourceKey<? extends Registry<T>> pRegistry) -
Uses of StreamCodec in net.minecraft.util
Fields in net.minecraft.util declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Unit> Unit.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.util.debug
Fields in net.minecraft.util.debug declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugBeeInfo> DebugBeeInfo.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, DebugBrainDump> DebugBrainDump.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugBreezeInfo> DebugBreezeInfo.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugEntityBlockIntersection> DebugEntityBlockIntersection.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugGameEventInfo> DebugGameEventInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugGameEventListenerInfo> DebugGameEventListenerInfo.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugGoalInfo.DebugGoal> DebugGoalInfo.DebugGoal.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugGoalInfo> DebugGoalInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugHiveInfo> DebugHiveInfo.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, DebugPathInfo> DebugPathInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugPoiInfo> DebugPoiInfo.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugStructureInfo.Piece> DebugStructureInfo.Piece.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DebugStructureInfo> DebugStructureInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugSubscription.Event<?>> DebugSubscription.Event.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DebugSubscription.Update<?>> DebugSubscription.Update.STREAM_CODEC(package private) final StreamCodec<? super RegistryFriendlyByteBuf, T> DebugSubscription.valueStreamCodecMethods in net.minecraft.util.debug that return StreamCodecModifier and TypeMethodDescriptionprivate static <T> StreamCodec<? super RegistryFriendlyByteBuf, DebugSubscription.Event<T>> DebugSubscription.Event.streamCodec(DebugSubscription<T> pSubscription) private static <T> StreamCodec<? super RegistryFriendlyByteBuf, DebugSubscription.Update<T>> DebugSubscription.Update.streamCodec(DebugSubscription<T> pSubscription) StreamCodec<? super RegistryFriendlyByteBuf, T> DebugSubscription.valueStreamCodec()Methods in net.minecraft.util.debug with parameters of type StreamCodecModifier and TypeMethodDescriptionprivate static <T> DebugSubscription<T> DebugSubscriptions.registerTemporaryValue(String pName, StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec, int pExpireAfterTicks) private static <T> DebugSubscription<T> DebugSubscriptions.registerWithValue(String pName, StreamCodec<? super RegistryFriendlyByteBuf, T> pStreamCodec) Constructors in net.minecraft.util.debug with parameters of type StreamCodecModifierConstructorDescriptionDebugSubscription(StreamCodec<? super RegistryFriendlyByteBuf, T> pValueStreamCodec) DebugSubscription(StreamCodec<? super RegistryFriendlyByteBuf, T> pValueStreamCodec, int pExpireAfterTicks) -
Uses of StreamCodec in net.minecraft.util.random
Methods in net.minecraft.util.random that return StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, Weighted<T>> Weighted.streamCodec(StreamCodec<B, T> pElementCodec) static <E,B extends io.netty.buffer.ByteBuf>
StreamCodec<B, WeightedList<E>> WeightedList.streamCodec(StreamCodec<B, E> pElementCodec) Methods in net.minecraft.util.random with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, Weighted<T>> Weighted.streamCodec(StreamCodec<B, T> pElementCodec) static <E,B extends io.netty.buffer.ByteBuf>
StreamCodec<B, WeightedList<E>> WeightedList.streamCodec(StreamCodec<B, E> pElementCodec) -
Uses of StreamCodec in net.minecraft.world
Fields in net.minecraft.world declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Difficulty> Difficulty.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>> DamageType.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MobEffect>> MobEffect.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MobEffectInstance.Details> MobEffectInstance.Details.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, MobEffectInstance> MobEffectInstance.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Set<Relative>> Relative.SET_STREAM_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, ? extends EntityReference<?>> EntityReference.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, EntityType<?>> EntityType.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlot> EquipmentSlot.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, EquipmentSlotGroup> EquipmentSlotGroup.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Pose> Pose.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, PositionMoveRotation> PositionMoveRotation.STREAM_CODECMethods in net.minecraft.world.entity that return StreamCodecModifier and TypeMethodDescriptionstatic <Type extends UniquelyIdentifyable>
StreamCodec<io.netty.buffer.ByteBuf, EntityReference<Type>> EntityReference.streamCodec() -
Uses of StreamCodec in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Attribute>> Attribute.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, AttributeModifier.Operation> AttributeModifier.Operation.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, AttributeModifier> AttributeModifier.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenVariant>> ChickenVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowVariant>> CowVariant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Fox.Variant> Fox.Variant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MushroomCow.Variant> MushroomCow.Variant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Parrot.Variant> Parrot.Variant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>> PigVariant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Rabbit.Variant> Rabbit.Variant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Salmon.Variant> Salmon.Variant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, TropicalFish.Pattern> TropicalFish.Pattern.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.armadillo
Fields in net.minecraft.world.entity.animal.armadillo declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Armadillo.ArmadilloState> Armadillo.ArmadilloState.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.axolotl
Fields in net.minecraft.world.entity.animal.axolotl declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Axolotl.Variant> Axolotl.Variant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.coppergolem
Fields in net.minecraft.world.entity.animal.coppergolem declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, CopperGolemState> CopperGolemState.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<FrogVariant>> FrogVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.horse
Fields in net.minecraft.world.entity.animal.horse declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Llama.Variant> Llama.Variant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Variant> Variant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.sniffer
Fields in net.minecraft.world.entity.animal.sniffer declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Sniffer.State> Sniffer.State.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfSoundVariant>> WolfSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfVariant>> WolfVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.decoration
Fields in net.minecraft.world.entity.decoration declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, PaintingVariant> PaintingVariant.DIRECT_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>> PaintingVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, VillagerData> VillagerData.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<VillagerType>> VillagerType.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Input> Input.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, PlayerModelType> PlayerModelType.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, PlayerSkin.Patch> PlayerSkin.Patch.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.variant
Methods in net.minecraft.world.entity.variant that return StreamCodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, ModelAndTexture<T>> ModelAndTexture.streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> pModelCodec) Methods in net.minecraft.world.entity.variant with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, ModelAndTexture<T>> ModelAndTexture.streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> pModelCodec) -
Uses of StreamCodec in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, NewMinecartBehavior.MinecartStep> NewMinecartBehavior.MinecartStep.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.food
Fields in net.minecraft.world.food declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FoodProperties> FoodProperties.DIRECT_STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, ClickType> ClickType.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.item
Fields in net.minecraft.world.item declared as StreamCodecModifier 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, ItemStack> ItemStack.OPTIONAL_UNTRUSTED_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdventureModePredicate> AdventureModePredicate.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DyeColor> DyeColor.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Item>> Item.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ItemUseAnimation> ItemUseAnimation.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, JukeboxPlayable> JukeboxPlayable.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Rarity> Rarity.STREAM_CODECMethods in net.minecraft.world.item that return StreamCodecModifier and TypeMethodDescriptionprivate static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.createOptionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> pCodec) Methods in net.minecraft.world.item with parameters of type StreamCodecModifier and TypeMethodDescriptionprivate static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.createOptionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> pCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, EitherHolder<T>> EitherHolder.streamCodec(ResourceKey<Registry<T>> pRegistryKey, StreamCodec<RegistryFriendlyByteBuf, Holder<T>> pStreamCodec) ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> pCodec) -
Uses of StreamCodec in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PotionContents> PotionContents.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as StreamCodecModifier and TypeFieldDescriptionprivate static final StreamCodec<io.netty.buffer.ByteBuf, it.unimi.dsi.fastutil.ints.IntList> FireworkExplosion.COLOR_LIST_STREAM_CODECprivate static final StreamCodec<io.netty.buffer.ByteBuf, Map<String, String>> BlockItemStateProperties.PROPERTIES_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Bees> Bees.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, BlockItemStateProperties> BlockItemStateProperties.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BlocksAttacks.DamageReduction> BlocksAttacks.DamageReduction.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, BlocksAttacks.ItemDamageFunction> BlocksAttacks.ItemDamageFunction.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BlocksAttacks> BlocksAttacks.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BundleContents> BundleContents.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ChargedProjectiles> ChargedProjectiles.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Consumable> Consumable.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, CustomData> CustomData.STREAM_CODECDeprecated.static final StreamCodec<io.netty.buffer.ByteBuf, CustomModelData> CustomModelData.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DamageResistant> DamageResistant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DeathProtection> DeathProtection.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, DyedItemColor> DyedItemColor.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, FireworkExplosion.Shape> FireworkExplosion.Shape.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, FireworkExplosion> FireworkExplosion.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Fireworks> Fireworks.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, InstrumentComponent> InstrumentComponent.STREAM_CODEC(package private) static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.Default> ItemAttributeModifiers.Display.Default.STREAM_CODEC(package private) static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.Hidden> ItemAttributeModifiers.Display.Hidden.STREAM_CODEC(package private) static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.OverrideText> ItemAttributeModifiers.Display.OverrideText.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display> ItemAttributeModifiers.Display.STREAM_CODEC(package private) static final StreamCodec<io.netty.buffer.ByteBuf, ItemAttributeModifiers.Display.Type> ItemAttributeModifiers.Display.Type.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<io.netty.buffer.ByteBuf, LodestoneTracker> LodestoneTracker.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MapItemColor> MapItemColor.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MapPostProcessing> MapPostProcessing.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, OminousBottleAmplifier> OminousBottleAmplifier.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ProvidesTrimMaterial> ProvidesTrimMaterial.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ResolvableProfile.Partial> ResolvableProfile.Partial.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ResolvableProfile> ResolvableProfile.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, TooltipDisplay> TooltipDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, UseCooldown> UseCooldown.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, UseRemainder> UseRemainder.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Weapon> Weapon.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, WritableBookContent> WritableBookContent.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, WrittenBookContent> WrittenBookContent.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, ? extends ItemAttributeModifiers.Display> ItemAttributeModifiers.Display.Type.streamCodecMethods in net.minecraft.world.item.component that return StreamCodecModifier and TypeMethodDescriptionprivate StreamCodec<RegistryFriendlyByteBuf, ? extends ItemAttributeModifiers.Display> ItemAttributeModifiers.Display.Type.streamCodec()static <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, TypedEntityData<T>> TypedEntityData.streamCodec(StreamCodec<B, T> pIdCodec) Methods in net.minecraft.world.item.component with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,T>
StreamCodec<B, TypedEntityData<T>> TypedEntityData.streamCodec(StreamCodec<B, T> pIdCodec) Constructors in net.minecraft.world.item.component with parameters of type StreamCodecModifierConstructorDescriptionprivateType(String pName, int pId, com.mojang.serialization.MapCodec<? extends ItemAttributeModifiers.Display> pCodec, StreamCodec<RegistryFriendlyByteBuf, ? extends ItemAttributeModifiers.Display> pStreamCodec) -
Uses of StreamCodec in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as StreamCodecModifier 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 StreamCodecModifier and TypeMethodDescriptionConsumeEffect.Type.streamCodec()Returns the value of thestreamCodecrecord component.Methods in net.minecraft.world.item.consume_effects with parameters of type StreamCodecModifier and TypeMethodDescriptionprivate static <T extends ConsumeEffect>
ConsumeEffect.Type<T> ConsumeEffect.Type.register(String pName, com.mojang.serialization.MapCodec<T> pCodec, StreamCodec<RegistryFriendlyByteBuf, T> pStreamCodec) Constructors in net.minecraft.world.item.consume_effects with parameters of type StreamCodecModifierConstructorDescriptionType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aTyperecord class. -
Uses of StreamCodec in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> Ingredient.OPTIONAL_CONTENTS_STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, CookingBookCategory> CookingBookCategory.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, CraftingBookCategory> CraftingBookCategory.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TransmuteResult> TransmuteResult.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 StreamCodecModifier 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() -
Uses of StreamCodec in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as StreamCodecModifier 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<io.netty.buffer.ByteBuf, RecipeDisplayId> RecipeDisplayId.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 StreamCodecModifier and TypeMethodDescriptionRecipeDisplay.Type.streamCodec()Returns the value of thestreamCodecrecord component.SlotDisplay.Type.streamCodec()Returns the value of thestreamCodecrecord component.Constructors in net.minecraft.world.item.crafting.display with parameters of type StreamCodecModifierConstructorDescriptionType(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 StreamCodec in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Enchantable> Enchantable.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Enchantment>> Enchantment.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemEnchantments> ItemEnchantments.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Repairable> Repairable.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Equippable> Equippable.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as StreamCodecModifier 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<io.netty.buffer.ByteBuf, MaterialAssetGroup.AssetInfo> MaterialAssetGroup.AssetInfo.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MaterialAssetGroup> MaterialAssetGroup.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as StreamCodecModifier 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_CODEC -
Uses of StreamCodec in net.minecraft.world.level
Fields in net.minecraft.world.level declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, ChunkPos> ChunkPos.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, GameType> GameType.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Rotation> Rotation.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, WeatheringCopper.WeatherState> WeatheringCopper.WeatherState.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as StreamCodecModifier 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, BeehiveBlockEntity.Occupant> BeehiveBlockEntity.Occupant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PotDecorations> PotDecorations.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TestInstanceBlockEntity.Data> TestInstanceBlockEntity.Data.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, TestInstanceBlockEntity.Status> TestInstanceBlockEntity.Status.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, TestBlockMode> TestBlockMode.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>> DimensionType.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, BlockPositionSource> BlockPositionSource.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, EntityPositionSource> EntityPositionSource.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PositionSource> PositionSource.STREAM_CODECMethods in net.minecraft.world.level.gameevent that return StreamCodecModifier and TypeMethodDescriptionStreamCodec<io.netty.buffer.ByteBuf, BlockPositionSource> BlockPositionSource.Type.streamCodec()StreamCodec<io.netty.buffer.ByteBuf, EntityPositionSource> EntityPositionSource.Type.streamCodec()StreamCodec<? super RegistryFriendlyByteBuf, T> PositionSourceType.streamCodec() -
Uses of StreamCodec in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Heightmap.Types> Heightmap.Types.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, BoundingBox> BoundingBox.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Path> Path.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.redstone
Fields in net.minecraft.world.level.redstone declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Orientation> Orientation.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, MapDecoration> MapDecoration.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MapId> MapId.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Optional<MapItemSavedData.MapPatch>> MapItemSavedData.MapPatch.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, LevelData.RespawnData> LevelData.RespawnData.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Vec3> Vec3.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Team.CollisionRule> Team.CollisionRule.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Team.Visibility> Team.Visibility.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, TrackedWaypoint> TrackedWaypoint.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, Waypoint.Icon> Waypoint.Icon.STREAM_CODEC -
Uses of StreamCodec in net.neoforged.neoforge.attachment
Methods in net.neoforged.neoforge.attachment with parameters of type StreamCodecModifier and TypeMethodDescriptionAttachmentType.Builder.sync(BiPredicate<IAttachmentHolder, ServerPlayer> sendToPlayer, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Requests that this attachment be synced to some clients.AttachmentType.Builder.sync(StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Requests that this attachment be synced to all clients that receive the holding object. -
Uses of StreamCodec in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Map<RecipeBookType, RecipeBookSettings.TypeSettings>> CommonHooks.MODDED_RECIPE_BOOK_TYPES_SETTINGS_STREAM_CODECstatic StreamCodec<io.netty.buffer.ByteBuf, ItemAbility> ItemAbility.STREAM_CODEC -
Uses of StreamCodec in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as StreamCodecModifier 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 StreamCodecModifier 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.Methods in net.neoforged.neoforge.common.crafting with parameters of type StreamCodecModifier and TypeMethodDescriptionIngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) IngredientCodecs.streamCodec(StreamCodec<RegistryFriendlyByteBuf, Ingredient> vanillaCodec) Constructors in net.neoforged.neoforge.common.crafting with parameters of type StreamCodecModifierConstructorDescriptionIngredientType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aIngredientTyperecord class. -
Uses of StreamCodec in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as StreamCodecModifier 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 StreamCodec in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as StreamCodecModifier 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 StreamCodecModifier and TypeMethodDescription(package private) static StreamCodec<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredientCodecs.streamCodec()StreamCodec<? super RegistryFriendlyByteBuf, T> FluidIngredientType.streamCodec()Returns the value of thestreamCodecrecord component.Constructors in net.neoforged.neoforge.fluids.crafting with parameters of type StreamCodecModifierConstructorDescriptionFluidIngredientType(com.mojang.serialization.MapCodec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aFluidIngredientTyperecord class. -
Uses of StreamCodec in net.neoforged.neoforge.fluids.crafting.display
Fields in net.neoforged.neoforge.fluids.crafting.display declared as StreamCodecModifier 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 StreamCodec in net.neoforged.neoforge.network.codec
Classes in net.neoforged.neoforge.network.codec that implement StreamCodecFields in net.neoforged.neoforge.network.codec declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ChunkPos> NeoForgeStreamCodecs.CHUNK_POSstatic final StreamCodec<FriendlyByteBuf, byte[]> NeoForgeStreamCodecs.UNBOUNDED_BYTE_ARRAYFields in net.neoforged.neoforge.network.codec with type parameters of type StreamCodecModifier and TypeFieldDescriptionprivate final Lazy<StreamCodec<B, V>> NeoForgeStreamCodecs.LazyStreamCodec.delegateMethods in net.neoforged.neoforge.network.codec that return StreamCodecModifier 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.static <B extends FriendlyByteBuf,V extends Enum<V>>
StreamCodec<B, V> static <B,V> StreamCodec <B, V> NeoForgeStreamCodecs.lazy(Supplier<StreamCodec<B, V>> streamCodecSupplier) static <B extends FriendlyByteBuf>
StreamCodec<B, ResourceKey<? extends Registry<?>>> NeoForgeStreamCodecs.registryKey()Creates a stream codec to encode and decode aResourceKeythat identifies a registry.static <B,V> StreamCodec <B, V> NeoForgeStreamCodecs.uncheckedUnit(V defaultValue) Similar tounit(Object), but without checks for the value to be encoded.Methods in net.neoforged.neoforge.network.codec with parameters of type StreamCodecModifier 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 StreamCodecModifier and TypeMethodDescriptionstatic <B,V> StreamCodec <B, V> NeoForgeStreamCodecs.lazy(Supplier<StreamCodec<B, V>> streamCodecSupplier) Constructor parameters in net.neoforged.neoforge.network.codec with type arguments of type StreamCodec -
Uses of StreamCodec in net.neoforged.neoforge.network.configuration
Fields in net.neoforged.neoforge.network.configuration declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, CheckExtensibleEnums.EnumEntry> CheckExtensibleEnums.EnumEntry.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, CheckExtensibleEnums.ExtensionData> CheckExtensibleEnums.ExtensionData.STREAM_CODEC -
Uses of StreamCodec in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, Set<ResourceLocation>> DinnerboneProtocolUtils.CHANNELS_CODECstatic final StreamCodec<FriendlyByteBuf, AdvancedAddEntityPayload> AdvancedAddEntityPayload.STREAM_CODECAdvancedContainerSetDataPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdvancedOpenScreenPayload> AdvancedOpenScreenPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AuxiliaryLightDataPayload> AuxiliaryLightDataPayload.STREAM_CODECClientboundCustomSetTimePayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, CommonRegisterPayload> CommonRegisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, CommonVersionPayload> CommonVersionPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ConfigFilePayload> ConfigFilePayload.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ExtensibleEnumAcknowledgePayload> ExtensibleEnumAcknowledgePayload.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ExtensibleEnumDataPayload> ExtensibleEnumDataPayload.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, FeatureFlagAcknowledgePayload> FeatureFlagAcknowledgePayload.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, FeatureFlagDataPayload> FeatureFlagDataPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistryPayload> FrozenRegistryPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistrySyncCompletedPayload> FrozenRegistrySyncCompletedPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, FrozenRegistrySyncStartPayload> FrozenRegistrySyncStartPayload.STREAM_CODECKnownRegistryDataMapsPayload.KnownDataMap.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsPayload> KnownRegistryDataMapsPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsReplyPayload> KnownRegistryDataMapsReplyPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, MinecraftRegisterPayload> MinecraftRegisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, MinecraftUnregisterPayload> MinecraftUnregisterPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkComponent> ModdedNetworkComponent.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkPayload> ModdedNetworkPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkQueryComponent> ModdedNetworkQueryComponent.STREAM_CODECModdedNetworkQueryPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ModdedNetworkSetupFailedPayload> ModdedNetworkSetupFailedPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RecipeContentPayload> RecipeContentPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RegistryDataMapSyncPayload<?>> RegistryDataMapSyncPayload.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, SplitPacketPayload> SplitPacketPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SyncAttachmentsPayload> SyncAttachmentsPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SyncAttachmentsPayload.Target> SyncAttachmentsPayload.Target.STREAM_CODEC -
Uses of StreamCodec in net.neoforged.neoforge.network.registration
Fields in net.neoforged.neoforge.network.registration declared as StreamCodecModifier and TypeFieldDescriptionprivate final StreamCodec<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codecThe field for thecodecrecord component.private final StreamCodec<FriendlyByteBuf, T> ModdedConfigurationPayloadRegistration.readerThe field for thereaderrecord component.private final StreamCodec<RegistryFriendlyByteBuf, T> ModdedPlayPayloadRegistration.readerThe field for thereaderrecord component.static final StreamCodec<FriendlyByteBuf, NetworkChannel> NetworkChannel.STREAM_CODECNetworkPayloadSetup.STREAM_CODECFields in net.neoforged.neoforge.network.registration with type parameters of type StreamCodecModifier and TypeFieldDescriptionprotected static final Map<ResourceLocation, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADSMap of NeoForge payloads that may be sent before channel negotiation.Methods in net.neoforged.neoforge.network.registration that return StreamCodecModifier and TypeMethodDescriptionStreamCodec<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec()Returns the value of thecodecrecord component.static @Nullable StreamCodec<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodecfor a non-vanilla payload.ModdedConfigurationPayloadRegistration.reader()Returns the value of thereaderrecord component.ModdedPlayPayloadRegistration.reader()Returns the value of thereaderrecord component.Methods in net.neoforged.neoforge.network.registration with parameters of type StreamCodecModifier and TypeMethodDescription<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec) Registers a client-bound payload for all phases without a handler.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a client-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToServer(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a server-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec) Registers a client-bound payload for the configuration phase without a handler.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a client-bound payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToServer(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> codec, IPayloadHandler<T> handler) Registers a server-bound payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler) Registers a bidirectional payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playBidirectional(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler) Registers a bidirectional payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec) Registers a client-bound payload for the play phase without a handler.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToClient(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, 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> codec, IPayloadHandler<T> handler) Registers a server-bound payload for the play phase.static <T extends CustomPacketPayload,B extends FriendlyByteBuf>
voidNetworkRegistry.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Registers a new payload.private <T extends CustomPacketPayload,B extends FriendlyByteBuf>
voidPayloadRegistrar.register(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, @Nullable IPayloadHandler<T> serverHandler, @Nullable IPayloadHandler<T> clientHandler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Constructors in net.neoforged.neoforge.network.registration with parameters of type StreamCodecModifierConstructorDescriptionModdedConfigurationPayloadRegistration(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistrationrecord class.ModdedPlayPayloadRegistration(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, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Creates an instance of aPayloadRegistrationrecord class. -
Uses of StreamCodec in net.neoforged.neoforge.registries
Fields in net.neoforged.neoforge.registries declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, RegistrySnapshot> RegistrySnapshot.STREAM_CODEC -
Uses of StreamCodec in net.neoforged.neoforge.registries.holdersets
Methods in net.neoforged.neoforge.registries.holdersets that return StreamCodecModifier 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) -
Uses of StreamCodec in net.neoforged.neoforge.transfer.fluid
Fields in net.neoforged.neoforge.transfer.fluid declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, FluidResource> FluidResource.STREAM_CODECStream codec for a fluid resource. -
Uses of StreamCodec in net.neoforged.neoforge.transfer.item
Fields in net.neoforged.neoforge.transfer.item declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, ItemResource> ItemResource.STREAM_CODECStream codec for an item resource.