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.criterion
Fields in net.minecraft.advancements.criterion 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.criterion 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> numberCodec) Methods in net.minecraft.advancements.criterion 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> numberCodec) -
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 @Nullable 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> type) private static StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.createStreamCodec(DataComponentPatch.CodecGetter codecGetter) 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> streamCodec) Constructors in net.minecraft.core.component with parameters of type StreamCodecModifierConstructorDescriptionprivateSimpleType(@Nullable com.mojang.serialization.Codec<T> codec, StreamCodec<? super RegistryFriendlyByteBuf, T> streamCodec, boolean ignoreSwapAnimation) -
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.TypeBase.singleStreamCodecstatic final StreamCodec<RegistryFriendlyByteBuf, Map<DataComponentPredicate.Type<?>, DataComponentPredicate>> DataComponentPredicate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DataComponentPredicate.Type<?>> DataComponentPredicate.Type.STREAM_CODECMethods in net.minecraft.core.component.predicates that return StreamCodecModifier and TypeMethodDescriptionDataComponentPredicate.Type.singleStreamCodec()DataComponentPredicate.TypeBase.singleStreamCodec() -
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> type) static StreamCodec<? super io.netty.buffer.ByteBuf, ColorParticleOption> ColorParticleOption.streamCodec(ParticleType<ColorParticleOption> type) static StreamCodec<? super RegistryFriendlyByteBuf, ItemParticleOption> ItemParticleOption.streamCodec(ParticleType<ItemParticleOption> type) abstract StreamCodec<? super RegistryFriendlyByteBuf, T> ParticleType.streamCodec()static StreamCodec<? super io.netty.buffer.ByteBuf, PowerParticleOption> PowerParticleOption.streamCodec(ParticleType<PowerParticleOption> type) SimpleParticleType.streamCodec()static StreamCodec<? super io.netty.buffer.ByteBuf, SpellParticleOption> SpellParticleOption.streamCodec(ParticleType<SpellParticleOption> type) -
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, Quaternionfc> 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, Vector3fc> ByteBufCodecs.VECTOR3FMethods in net.minecraft.network.codec that return StreamCodecModifier and TypeMethodDescriptiondefault <O> StreamCodec<B, O> StreamCodec.apply(StreamCodec.CodecOperation<B, V, O> operation) StreamCodec.CodecOperation.apply(StreamCodec<B, S> original) static StreamCodec<io.netty.buffer.ByteBuf, byte[]> ByteBufCodecs.byteArray(int maxSize) 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> constructor, StreamCodec<? super B, V> elementCodec) static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> constructor, StreamCodec<? super B, V> elementCodec, int maxSize) static <B,C, T1> StreamCodec <B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, Function<T1, C> constructor) static <B,C, T1, T2>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, BiFunction<T1, T2, C> constructor) static <B,C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> constructor) static <B,C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> constructor) static <B,C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, com.mojang.datafixers.util.Function7<T1, T2, T3, T4, T5, T6, T7, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, com.mojang.datafixers.util.Function8<T1, T2, T3, T4, T5, T6, T7, T8, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, com.mojang.datafixers.util.Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, com.mojang.datafixers.util.Function10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, StreamCodec<? super B, T11> codec11, Function<C, T11> getter11, com.mojang.datafixers.util.Function11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, StreamCodec<? super B, T11> codec11, Function<C, T11> getter11, StreamCodec<? super B, T12> codec12, Function<C, T12> getter12, com.mojang.datafixers.util.Function12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, C> constructor) static StreamCodec<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.compoundTagCodec(Supplier<NbtAccounter> accounter) default <U> StreamCodec<B, U> StreamCodec.dispatch(Function<? super U, ? extends V> type, Function<? super V, ? extends StreamCodec<? super B, ? extends U>> codec) static <B extends io.netty.buffer.ByteBuf, L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either(StreamCodec<? super B, L> leftCodec, StreamCodec<? super B, R> rightCodec) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec(com.mojang.serialization.Codec<T> codec) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec(com.mojang.serialization.Codec<T> codec, Supplier<NbtAccounter> accounter) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodecTrusted(com.mojang.serialization.Codec<T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(com.mojang.serialization.Codec<T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries(com.mojang.serialization.Codec<T> codec, Supplier<NbtAccounter> accounter) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistriesTrusted(com.mojang.serialization.Codec<T> codec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> registryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> directCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> registryKey) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> ByteBufCodecs.idMapper(IntFunction<T> byId, ToIntFunction<T> toId) static <T> StreamCodec<io.netty.buffer.ByteBuf, T> static StreamCodec<io.netty.buffer.ByteBuf, JsonElement> ByteBufCodecs.lenientJson(int maxStringLength) static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K,V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec) static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K,V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec, int maxSize) 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> encoder, StreamDecoder<B, V> decoder) static <B,V> StreamCodec <B, V> StreamCodec.ofMember(StreamMemberEncoder<B, V> encoder, StreamDecoder<B, V> decoder) static <B extends io.netty.buffer.ByteBuf, V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional(StreamCodec<? super B, V> original) static StreamCodec<io.netty.buffer.ByteBuf, Optional<Tag>> ByteBufCodecs.optionalTagCodec(Supplier<NbtAccounter> accounter) static <B,T> StreamCodec <B, T> StreamCodec.recursive(UnaryOperator<StreamCodec<B, T>> factory) static <T> StreamCodec<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey) private static <T,R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry(ResourceKey<? extends Registry<T>> registryKey, Function<Registry<T>, IdMap<R>> mapExtractor) StreamCodec<? super B, ? extends V> IdDispatchCodec.Entry.serializer()Returns the value of theserializerrecord component.static StreamCodec<io.netty.buffer.ByteBuf, String> ByteBufCodecs.stringUtf8(int maxStringLength) static StreamCodec<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.tagCodec(Supplier<NbtAccounter> accounter) static <B,V> StreamCodec <B, V> StreamCodec.unit(V instance) Methods in net.minecraft.network.codec with parameters of type StreamCodecModifier and TypeMethodDescriptionIdDispatchCodec.Builder.add(T type, StreamCodec<? super B, ? extends V> serializer) StreamCodec.CodecOperation.apply(StreamCodec<B, S> original) static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> constructor, StreamCodec<? super B, V> elementCodec) static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection(IntFunction<C> constructor, StreamCodec<? super B, V> elementCodec, int maxSize) static <B,C, T1> StreamCodec <B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, Function<T1, C> constructor) static <B,C, T1, T2>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, BiFunction<T1, T2, C> constructor) static <B,C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> constructor) static <B,C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> constructor) static <B,C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, com.mojang.datafixers.util.Function7<T1, T2, T3, T4, T5, T6, T7, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, com.mojang.datafixers.util.Function8<T1, T2, T3, T4, T5, T6, T7, T8, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, com.mojang.datafixers.util.Function9<T1, T2, T3, T4, T5, T6, T7, T8, T9, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, com.mojang.datafixers.util.Function10<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, StreamCodec<? super B, T11> codec11, Function<C, T11> getter11, com.mojang.datafixers.util.Function11<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, C> constructor) static <B,C, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
StreamCodec<B, C> StreamCodec.composite(StreamCodec<? super B, T1> codec1, Function<C, T1> getter1, StreamCodec<? super B, T2> codec2, Function<C, T2> getter2, StreamCodec<? super B, T3> codec3, Function<C, T3> getter3, StreamCodec<? super B, T4> codec4, Function<C, T4> getter4, StreamCodec<? super B, T5> codec5, Function<C, T5> getter5, StreamCodec<? super B, T6> codec6, Function<C, T6> getter6, StreamCodec<? super B, T7> codec7, Function<C, T7> getter7, StreamCodec<? super B, T8> codec8, Function<C, T8> getter8, StreamCodec<? super B, T9> codec9, Function<C, T9> getter9, StreamCodec<? super B, T10> codec10, Function<C, T10> getter10, StreamCodec<? super B, T11> codec11, Function<C, T11> getter11, StreamCodec<? super B, T12> codec12, Function<C, T12> getter12, com.mojang.datafixers.util.Function12<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, C> constructor) static <B extends io.netty.buffer.ByteBuf, L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either(StreamCodec<? super B, L> leftCodec, StreamCodec<? super B, R> rightCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> registryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> directCodec) static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K,V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec) static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K,V>>
StreamCodec<B, M> ByteBufCodecs.map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec, int maxSize) static <B extends io.netty.buffer.ByteBuf, V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional(StreamCodec<? super B, V> original) 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>> factory) Constructors in net.minecraft.network.codec with parameters of type StreamCodecModifierConstructorDescriptionprivateEntry(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> original, C context) StreamCodec<B, Packet<? super L>> ProtocolCodecBuilder.build()private StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> ProtocolInfoBuilder.buildPacketCodec(Function<io.netty.buffer.ByteBuf, B> contextWrapper, List<ProtocolInfoBuilder.CodecEntry<T, ?, B, C>> codecs, C context) static <B extends io.netty.buffer.ByteBuf, T extends Packet<?>>
StreamCodec<B, T> Packet.codec(StreamMemberEncoder<B, T> writer, StreamDecoder<B, T> reader) 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> type, StreamCodec<? super B, T> serializer) ProtocolInfoBuilder.addPacket(PacketType<P> type, StreamCodec<? super B, P> serializer) ProtocolInfoBuilder.addPacket(PacketType<P> type, StreamCodec<? super B, P> serializer, CodecModifier<B, P, C> modifier) StreamCodec<? super B, V> CodecModifier.apply(StreamCodec<? super B, V> original, C context) Constructors in net.minecraft.network.protocol with parameters of type StreamCodecModifierConstructorDescriptionprivateCodecEntry(PacketType<P> type, StreamCodec<? super B, P> serializer, @Nullable CodecModifier<B, P, C> modifier) Creates an instance of aCodecEntryrecord class.privateImplementation(ConnectionProtocol id, PacketFlow flow, StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> codec, @Nullable 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> writer, StreamDecoder<B, T> reader) static <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> CustomPacketPayload.codec(CustomPacketPayload.FallbackProvider<B> fallback, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> types, ConnectionProtocol protocol, PacketFlow packetFlow) CustomPacketPayload.TypeAndCodec.codec()Returns the value of thecodecrecord component.static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec(Identifier id, int maxPayloadSize) StreamCodec<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create(Identifier typeId) 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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundBlockEntityDataPacket> ClientboundBlockEntityDataPacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundContainerSetSlotPacket> ClientboundContainerSetSlotPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundCooldownPacket> ClientboundCooldownPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundCustomChatCompletionsPacket> ClientboundCustomChatCompletionsPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> ClientboundDamageEventPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDebugBlockValuePacket> ClientboundDebugBlockValuePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDebugChunkValuePacket> ClientboundDebugChunkValuePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundDebugEntityValuePacket> ClientboundDebugEntityValuePacket.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<FriendlyByteBuf, ClientboundGameRuleValuesPacket> ClientboundGameRuleValuesPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundGameTestHighlightPosPacket> ClientboundGameTestHighlightPosPacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundLevelParticlesPacket> ClientboundLevelParticlesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundLightUpdatePacket> ClientboundLightUpdatePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundLoginPacket> ClientboundLoginPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ClientboundLowDiskSpaceWarningPacket> ClientboundLowDiskSpaceWarningPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket> ClientboundMapItemDataPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundMerchantOffersPacket> ClientboundMerchantOffersPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundMountScreenOpenPacket> ClientboundMountScreenOpenPacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundPlaceGhostRecipePacket> ClientboundPlaceGhostRecipePacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundPlayerCombatKillPacket> ClientboundPlayerCombatKillPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundPlayerInfoRemovePacket> ClientboundPlayerInfoRemovePacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundPlayerInfoUpdatePacket> ClientboundPlayerInfoUpdatePacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundRemoveMobEffectPacket> ClientboundRemoveMobEffectPacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetActionBarTextPacket> ClientboundSetActionBarTextPacket.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_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetBorderWarningDistancePacket> ClientboundSetBorderWarningDistancePacket.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_CODECstatic final StreamCodec<FriendlyByteBuf, ClientboundSetDefaultSpawnPositionPacket> ClientboundSetDefaultSpawnPositionPacket.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<io.netty.buffer.ByteBuf, 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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundSetSubtitleTextPacket> ClientboundSetSubtitleTextPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, 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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundTestInstanceBlockStatus> ClientboundTestInstanceBlockStatus.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundTrackedWaypointPacket> ClientboundTrackedWaypointPacket.STREAM_CODECClientboundUpdateAdvancementsPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket.AttributeSnapshot> ClientboundUpdateAttributesPacket.AttributeSnapshot.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket> ClientboundUpdateAttributesPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateMobEffectPacket> ClientboundUpdateMobEffectPacket.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClientboundUpdateRecipesPacket> ClientboundUpdateRecipesPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundAcceptTeleportationPacket> ServerboundAcceptTeleportationPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundAttackPacket> ServerboundAttackPacket.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_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ServerboundContainerClickPacket> ServerboundContainerClickPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerClosePacket> ServerboundContainerClosePacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundContainerSlotStateChangedPacket> ServerboundContainerSlotStateChangedPacket.STREAM_CODECServerboundDebugSubscriptionRequestPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEditBookPacket> ServerboundEditBookPacket.STREAM_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundEntityTagQueryPacket> ServerboundEntityTagQueryPacket.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, 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_CODECstatic final StreamCodec<FriendlyByteBuf, ServerboundRecipeBookChangeSettingsPacket> ServerboundRecipeBookChangeSettingsPacket.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<io.netty.buffer.ByteBuf, ServerboundSetGameRulePacket.Entry> ServerboundSetGameRulePacket.Entry.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ServerboundSetGameRulePacket> ServerboundSetGameRulePacket.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<io.netty.buffer.ByteBuf, ServerboundSpectateEntityPacket> ServerboundSpectateEntityPacket.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> codec) -
Uses of StreamCodec in net.minecraft.resources
Fields in net.minecraft.resources declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Identifier> Identifier.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>> registryName) -
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> valueCodec) 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> valueCodec) -
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>> registryName) -
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_CODECprivate final @Nullable 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> subscription) private static <T> StreamCodec<? super RegistryFriendlyByteBuf, DebugSubscription.Update<T>> DebugSubscription.Update.streamCodec(DebugSubscription<T> subscription) @Nullable 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 id, StreamCodec<? super RegistryFriendlyByteBuf, T> valueStreamCodec, int expireAfterTicks) private static <T> DebugSubscription<T> DebugSubscriptions.registerWithValue(String id, StreamCodec<? super RegistryFriendlyByteBuf, T> valueStreamCodec) Constructors in net.minecraft.util.debug with parameters of type StreamCodecModifierConstructorDescriptionDebugSubscription(@Nullable StreamCodec<? super RegistryFriendlyByteBuf, T> valueStreamCodec) DebugSubscription(@Nullable StreamCodec<? super RegistryFriendlyByteBuf, T> valueStreamCodec, int expireAfterTicks) -
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> valueCodec) static <E, B extends io.netty.buffer.ByteBuf>
StreamCodec<B, WeightedList<E>> WeightedList.streamCodec(StreamCodec<B, E> elementCodec) 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> valueCodec) static <E, B extends io.netty.buffer.ByteBuf>
StreamCodec<B, WeightedList<E>> WeightedList.streamCodec(StreamCodec<B, E> elementCodec) -
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_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, InteractionHand> InteractionHand.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.clock
Fields in net.minecraft.world.clock declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, ClockState> ClockState.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WorldClock>> WorldClock.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, HumanoidArm> HumanoidArm.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.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.chicken
Fields in net.minecraft.world.entity.animal.chicken declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenSoundVariant>> ChickenSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenVariant>> ChickenVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.cow
Fields in net.minecraft.world.entity.animal.cow declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowSoundVariant>> CowSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowVariant>> CowVariant.STREAM_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MushroomCow.Variant> MushroomCow.Variant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.equine
Fields in net.minecraft.world.entity.animal.equine 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.feline
Fields in net.minecraft.world.entity.animal.feline declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatSoundVariant>> CatSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.fish
Fields in net.minecraft.world.entity.animal.fish declared as StreamCodecModifier and TypeFieldDescriptionstatic 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.fox
Fields in net.minecraft.world.entity.animal.fox declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Fox.Variant> Fox.Variant.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.golem
Fields in net.minecraft.world.entity.animal.golem declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, CopperGolemState> CopperGolemState.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.nautilus
Fields in net.minecraft.world.entity.animal.nautilus declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ZombieNautilusVariant>> ZombieNautilusVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.parrot
Fields in net.minecraft.world.entity.animal.parrot declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Parrot.Variant> Parrot.Variant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigSoundVariant>> PigSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>> PigVariant.STREAM_CODEC -
Uses of StreamCodec in net.minecraft.world.entity.animal.rabbit
Fields in net.minecraft.world.entity.animal.rabbit declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, Rabbit.Variant> Rabbit.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.painting
Fields in net.minecraft.world.entity.decoration.painting 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.villager
Fields in net.minecraft.world.entity.npc.villager 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> modelCodec) 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> modelCodec) -
Uses of StreamCodec in net.minecraft.world.entity.vehicle.minecart
Fields in net.minecraft.world.entity.vehicle.minecart 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, ContainerInput> ContainerInput.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<RegistryFriendlyByteBuf, ItemStackTemplate> ItemStackTemplate.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_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, SwingAnimationType> SwingAnimationType.STREAM_CODECMethods in net.minecraft.world.item that return StreamCodecModifier and TypeMethodDescriptionprivate static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.createOptionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> patchCodec) static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> codec) Methods in net.minecraft.world.item with parameters of type StreamCodecModifier and TypeMethodDescriptionprivate static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.createOptionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, DataComponentPatch> patchCodec) static StreamCodec<RegistryFriendlyByteBuf, ItemStack> ItemStack.validatedStreamCodec(StreamCodec<RegistryFriendlyByteBuf, ItemStack> codec) -
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<io.netty.buffer.ByteBuf, AttackRange> AttackRange.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_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.Default> ItemAttributeModifiers.Display.Default.STREAM_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.Hidden> ItemAttributeModifiers.Display.Hidden.STREAM_CODECprivate static final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display.OverrideText> ItemAttributeModifiers.Display.OverrideText.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ItemAttributeModifiers.Display> ItemAttributeModifiers.Display.STREAM_CODECprivate 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, KineticWeapon.Condition> KineticWeapon.Condition.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, KineticWeapon> KineticWeapon.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, PiercingWeapon> PiercingWeapon.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<io.netty.buffer.ByteBuf, SwingAnimation> SwingAnimation.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<io.netty.buffer.ByteBuf, UseEffects> UseEffects.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> typeCodec) 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> typeCodec) Constructors in net.minecraft.world.item.component with parameters of type StreamCodecModifierConstructorDescriptionprivateType(String name, int id, com.mojang.serialization.MapCodec<? extends ItemAttributeModifiers.Display> codec, StreamCodec<RegistryFriendlyByteBuf, ? extends ItemAttributeModifiers.Display> streamCodec) -
Uses of StreamCodec in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as StreamCodecModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, ApplyStatusEffectsConsumeEffect> ApplyStatusEffectsConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ClearAllStatusEffectsConsumeEffect> ClearAllStatusEffectsConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ConsumeEffect> ConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, PlaySoundConsumeEffect> PlaySoundConsumeEffect.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, RemoveStatusEffectsConsumeEffect> RemoveStatusEffectsConsumeEffect.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 name, com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) 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_CODECAbstractCookingRecipe.CookingBookInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BannerDuplicateRecipe> BannerDuplicateRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BlastingRecipe> BlastingRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, BookCloningRecipe> BookCloningRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, CampfireCookingRecipe> CampfireCookingRecipe.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, CraftingRecipe.CraftingBookInfo> CraftingRecipe.CraftingBookInfo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DecoratedPotRecipe> DecoratedPotRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, DyeRecipe> DyeRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FireworkRocketRecipe> FireworkRocketRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FireworkStarFadeRecipe> FireworkStarFadeRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, FireworkStarRecipe> FireworkStarRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ImbueRecipe> ImbueRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, MapExtendingRecipe> MapExtendingRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Recipe.CommonInfo> Recipe.CommonInfo.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, RepairItemRecipe> RepairItemRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipe> ShapedRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapedRecipePattern> ShapedRecipePattern.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShapelessRecipe> ShapelessRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, ShieldDecorationRecipe> ShieldDecorationRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmeltingRecipe> SmeltingRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmithingTransformRecipe> SmithingTransformRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmithingTrimRecipe> SmithingTrimRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SmokingRecipe> SmokingRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, StonecutterRecipe> StonecutterRecipe.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TransmuteRecipe> TransmuteRecipe.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, T> RecipeSerializer.streamCodecDeprecated.Methods in net.minecraft.world.item.crafting that return StreamCodecModifier and TypeMethodDescriptionstatic <T extends AbstractCookingRecipe>
StreamCodec<RegistryFriendlyByteBuf, T> AbstractCookingRecipe.cookingStreamCodec(AbstractCookingRecipe.Factory<T> factory) static <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()static <T extends SingleItemRecipe>
StreamCodec<RegistryFriendlyByteBuf, T> SingleItemRecipe.simpleStreamCodec(SingleItemRecipe.Factory<T> factory) static <CategoryType, SelfType extends Recipe.BookInfo<CategoryType>>
StreamCodec<RegistryFriendlyByteBuf, SelfType> Recipe.BookInfo.streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, CategoryType> categoryCodec, Recipe.BookInfo.Constructor<CategoryType, SelfType> constructor) RecipeSerializer.streamCodec()Deprecated.Methods in net.minecraft.world.item.crafting with parameters of type StreamCodecModifier and TypeMethodDescriptionstatic <CategoryType, SelfType extends Recipe.BookInfo<CategoryType>>
StreamCodec<RegistryFriendlyByteBuf, SelfType> Recipe.BookInfo.streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, CategoryType> categoryCodec, Recipe.BookInfo.Constructor<CategoryType, SelfType> constructor) Constructors in net.minecraft.world.item.crafting with parameters of type StreamCodecModifierConstructorDescriptionRecipeSerializer(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aRecipeSerializerrecord class. -
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.DyedSlotDemo> SlotDisplay.DyedSlotDemo.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.Empty> SlotDisplay.Empty.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.ItemSlotDisplay> SlotDisplay.ItemSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.ItemStackSlotDisplay> SlotDisplay.ItemStackSlotDisplay.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SlotDisplay.OnlyWithComponent> SlotDisplay.OnlyWithComponent.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.WithAnyPotion> SlotDisplay.WithAnyPotion.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.LP_STREAM_CODECstatic 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 TypeMethodDescriptionstatic StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) static StreamCodec<RegistryFriendlyByteBuf, Ingredient> 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 TypeMethodDescriptionstatic StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> IngredientCodecs.optionalStreamCodec(StreamCodec<RegistryFriendlyByteBuf, Optional<Ingredient>> vanillaCodec) static StreamCodec<RegistryFriendlyByteBuf, Ingredient> 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, Holder<Fluid>> FluidInstance.FLUID_HOLDER_STREAM_CODECstatic 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, FluidStackTemplate> FluidStackTemplate.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, SimpleFluidContent> SimpleFluidContent.STREAM_CODECMethods in net.neoforged.neoforge.fluids that return StreamCodec -
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 toStreamCodec.unit(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<Identifier>> DinnerboneProtocolUtils.CHANNELS_CODECstatic final StreamCodec<FriendlyByteBuf, AdvancedAddEntityPayload> AdvancedAddEntityPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdvancedContainerSetDataPayload> AdvancedContainerSetDataPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AdvancedOpenScreenPayload> AdvancedOpenScreenPayload.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, AuxiliaryLightDataPayload> AuxiliaryLightDataPayload.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_CODECstatic final StreamCodec<FriendlyByteBuf, KnownRegistryDataMapsPayload.KnownDataMap> KnownRegistryDataMapsPayload.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<Identifier, 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(Identifier 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(Identifier id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistrationrecord class.ModdedPlayPayloadRegistration(Identifier 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.