Uses of Interface
net.minecraft.network.codec.StreamCodec
Package
Description
-
Uses of StreamCodec in net.minecraft.advancements
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, List<AdvancementHolder>> AdvancementHolder.LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Advancement> Advancement.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdvancementHolder> AdvancementHolder.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DisplayInfo> DisplayInfo.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, BlockPredicate> BlockPredicate.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, NbtPredicate> NbtPredicate.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate.ExactMatcher> StatePropertiesPredicate.ExactMatcher.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate.PropertyMatcher> StatePropertiesPredicate.PropertyMatcher.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate.RangedMatcher> StatePropertiesPredicate.RangedMatcher.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate> StatePropertiesPredicate.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, StatePropertiesPredicate.ValueMatcher> StatePropertiesPredicate.ValueMatcher.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.core
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, BlockBox> BlockBox.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, BlockPos> BlockPos.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Direction> Direction.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, GlobalPos> GlobalPos.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, RegistrySynchronization.PackedRegistryEntry> RegistrySynchronization.PackedRegistryEntry.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Rotations> Rotations.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, UUID> UUIDUtil.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPatch> DataComponentPatch.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentPredicate> DataComponentPredicate.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DataComponentType<?>> DataComponentType.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TypedDataComponent<?>> TypedDataComponent.STREAM_CODEC
private final StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec
private StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.streamCodec
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.Builder.SimpleType.streamCodec()
StreamCodec
<? super RegistryFriendlyByteBuf, T> DataComponentType.streamCodec()
Modifier and TypeMethodDescriptionDataComponentType.Builder.networkSynchronized
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_331364_) ModifierConstructorDescription(package private)
SimpleType
(com.mojang.serialization.Codec<T> p_331492_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_330863_) -
Uses of StreamCodec in net.minecraft.core.particles
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, DustColorTransitionOptions> DustColorTransitionOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, DustParticleOptions> DustParticleOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ParticleOptions> ParticleTypes.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SculkChargeParticleOptions> SculkChargeParticleOptions.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShriekParticleOption> ShriekParticleOption.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, VibrationParticleOption> VibrationParticleOption.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, SimpleParticleType> SimpleParticleType.streamCodec
Modifier and TypeMethodDescriptionstatic StreamCodec
<? super RegistryFriendlyByteBuf, BlockParticleOption> BlockParticleOption.streamCodec
(ParticleType<BlockParticleOption> p_320740_) static StreamCodec
<? super io.netty.buffer.ByteBuf, ColorParticleOption> ColorParticleOption.streamCodec
(ParticleType<ColorParticleOption> p_333948_) static StreamCodec
<? super RegistryFriendlyByteBuf, ItemParticleOption> ItemParticleOption.streamCodec
(ParticleType<ItemParticleOption> p_320881_) abstract StreamCodec
<? super RegistryFriendlyByteBuf, T> ParticleType.streamCodec()
SimpleParticleType.streamCodec()
-
Uses of StreamCodec in net.minecraft.network
Modifier and TypeMethodDescriptionStreamCodec
<io.netty.buffer.ByteBuf, Packet<? super T>> ProtocolInfo.codec()
-
Uses of StreamCodec in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ChatType.Bound> ChatType.Bound.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Component> ComponentSerialization.TRUSTED_CONTEXT_FREE_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Optional<Component>> ComponentSerialization.TRUSTED_OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Component> ComponentSerialization.TRUSTED_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Style> Style.Serializer.TRUSTED_STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.chat.numbers
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Optional<NumberFormat>> NumberFormatTypes.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, NumberFormat> NumberFormatTypes.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.codec
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, Boolean> ByteBufCodecs.BOOL
static final StreamCodec
<io.netty.buffer.ByteBuf, Byte> ByteBufCodecs.BYTE
static final StreamCodec
<io.netty.buffer.ByteBuf, byte[]> ByteBufCodecs.BYTE_ARRAY
static final StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.COMPOUND_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, Double> ByteBufCodecs.DOUBLE
static final StreamCodec
<io.netty.buffer.ByteBuf, Float> ByteBufCodecs.FLOAT
static final StreamCodec
<io.netty.buffer.ByteBuf, com.mojang.authlib.GameProfile> ByteBufCodecs.GAME_PROFILE
static final StreamCodec
<io.netty.buffer.ByteBuf, com.mojang.authlib.properties.PropertyMap> ByteBufCodecs.GAME_PROFILE_PROPERTIES
static final StreamCodec
<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.INT
static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<CompoundTag>> ByteBufCodecs.OPTIONAL_COMPOUND_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, org.joml.Quaternionf> ByteBufCodecs.QUATERNIONF
private final StreamCodec
<? super B, ? extends V> IdDispatchCodec.Entry.serializer
The field for theserializer
record component.static final StreamCodec
<io.netty.buffer.ByteBuf, Short> ByteBufCodecs.SHORT
static final StreamCodec
<io.netty.buffer.ByteBuf, String> ByteBufCodecs.STRING_UTF8
static final StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.TRUSTED_COMPOUND_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.TRUSTED_TAG
static final StreamCodec
<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.UNSIGNED_SHORT
static final StreamCodec
<io.netty.buffer.ByteBuf, Integer> ByteBufCodecs.VAR_INT
static final StreamCodec
<io.netty.buffer.ByteBuf, Long> ByteBufCodecs.VAR_LONG
static final StreamCodec
<io.netty.buffer.ByteBuf, org.joml.Vector3f> ByteBufCodecs.VECTOR3F
Modifier and TypeMethodDescriptiondefault <O> StreamCodec
<B, O> StreamCodec.apply
(StreamCodec.CodecOperation<B, V, O> p_320531_) StreamCodec.CodecOperation.apply
(StreamCodec<B, S> p_320347_) static StreamCodec
<io.netty.buffer.ByteBuf, byte[]> ByteBufCodecs.byteArray
(int p_324182_) 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> p_320579_, StreamCodec<? super B, V> p_319970_) static <B extends io.netty.buffer.ByteBuf,
V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection
(IntFunction<C> p_332198_, StreamCodec<? super B, V> p_332183_, int p_332173_) static <B,
C, T1> StreamCodec <B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320179_, Function<C, T1> p_320085_, Function<T1, C> p_320672_) static <B,
C, T1, T2>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320642_, Function<C, T1> p_320284_, StreamCodec<? super B, T2> p_320068_, Function<C, T2> p_319959_, BiFunction<T1, T2, C> p_320761_) static <B,
C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320928_, Function<C, T1> p_320123_, StreamCodec<? super B, T2> p_319815_, Function<C, T2> p_319965_, StreamCodec<? super B, T3> p_319834_, Function<C, T3> p_320645_, com.mojang.datafixers.util.Function3<T1, T2, T3, C> p_320386_) static <B,
C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_323726_, Function<C, T1> p_324414_, StreamCodec<? super B, T2> p_323659_, Function<C, T2> p_323932_, StreamCodec<? super B, T3> p_323964_, Function<C, T3> p_324282_, StreamCodec<? super B, T4> p_323671_, Function<C, T4> p_324254_, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> p_324090_) static <B,
C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_324413_, Function<C, T1> p_323568_, StreamCodec<? super B, T2> p_323835_, Function<C, T2> p_323513_, StreamCodec<? super B, T3> p_324112_, Function<C, T3> p_323815_, StreamCodec<? super B, T4> p_323483_, Function<C, T4> p_323725_, StreamCodec<? super B, T5> p_324486_, Function<C, T5> p_323518_, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> p_324480_) static <B,
C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_331822_, Function<C, T1> p_330864_, StreamCodec<? super B, T2> p_331390_, Function<C, T2> p_331203_, StreamCodec<? super B, T3> p_331499_, Function<C, T3> p_330294_, StreamCodec<? super B, T4> p_331169_, Function<C, T4> p_331830_, StreamCodec<? super B, T5> p_331057_, Function<C, T5> p_331593_, StreamCodec<? super B, T6> p_331117_, Function<C, T6> p_331904_, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> p_331335_) static StreamCodec
<io.netty.buffer.ByteBuf, CompoundTag> ByteBufCodecs.compoundTagCodec
(Supplier<NbtAccounter> p_331128_) default <U> StreamCodec
<B, U> StreamCodec.dispatch
(Function<? super U, ? extends V> p_320474_, Function<? super V, ? extends StreamCodec<? super B, ? extends U>> p_320190_) static <B extends io.netty.buffer.ByteBuf,
L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either
(StreamCodec<? super B, L> p_331983_, StreamCodec<? super B, R> p_332156_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec
(com.mojang.serialization.Codec<T> p_320615_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodec
(com.mojang.serialization.Codec<T> p_330943_, Supplier<NbtAccounter> p_330382_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, T> ByteBufCodecs.fromCodecTrusted
(com.mojang.serialization.Codec<T> p_331105_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries
(com.mojang.serialization.Codec<T> p_323797_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistries
(com.mojang.serialization.Codec<T> p_331571_, Supplier<NbtAccounter> p_331922_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.fromCodecWithRegistriesTrusted
(com.mojang.serialization.Codec<T> p_331713_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry
(ResourceKey<? extends Registry<T>> p_320387_) static <T> StreamCodec
<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet
(ResourceKey<? extends Registry<T>> p_332137_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, T> ByteBufCodecs.idMapper
(IntFunction<T> p_320877_, ToIntFunction<T> p_319985_) static <T> StreamCodec
<io.netty.buffer.ByteBuf, T> static <B extends io.netty.buffer.ByteBuf,
K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map
(IntFunction<? extends M> p_320265_, StreamCodec<? super B, K> p_320113_, StreamCodec<? super B, V> p_320275_) static <B extends io.netty.buffer.ByteBuf,
K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map
(IntFunction<? extends M> p_331325_, StreamCodec<? super B, K> p_331975_, StreamCodec<? super B, V> p_331254_, int p_330938_) default <O> StreamCodec
<B, O> StreamCodec.map
(Function<? super V, ? extends O> p_320812_, Function<? super O, ? extends V> p_320191_) default <O extends io.netty.buffer.ByteBuf>
StreamCodec<O, V> static <B,
V> StreamCodec <B, V> StreamCodec.of
(StreamEncoder<B, V> p_320243_, StreamDecoder<B, V> p_320197_) static <B,
V> StreamCodec <B, V> StreamCodec.ofMember
(StreamMemberEncoder<B, V> p_320316_, StreamDecoder<B, V> p_319991_) static <B extends io.netty.buffer.ByteBuf,
V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional
(StreamCodec<B, V> p_320522_) static <B,
T> StreamCodec <B, T> StreamCodec.recursive
(UnaryOperator<StreamCodec<B, T>> p_330470_) static <T> StreamCodec
<RegistryFriendlyByteBuf, T> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_320404_) private static <T,
R> StreamCodec <RegistryFriendlyByteBuf, R> ByteBufCodecs.registry
(ResourceKey<? extends Registry<T>> p_319942_, Function<Registry<T>, IdMap<R>> p_320353_) StreamCodec
<? super B, ? extends V> IdDispatchCodec.Entry.serializer()
Returns the value of theserializer
record component.static StreamCodec
<io.netty.buffer.ByteBuf, String> ByteBufCodecs.stringUtf8
(int p_320693_) static StreamCodec
<io.netty.buffer.ByteBuf, Tag> ByteBufCodecs.tagCodec
(Supplier<NbtAccounter> p_320506_) static <B,
V> StreamCodec <B, V> StreamCodec.unit
(V p_320438_) Modifier and TypeMethodDescriptionIdDispatchCodec.Builder.add
(T p_320423_, StreamCodec<? super B, ? extends V> p_320781_) StreamCodec.CodecOperation.apply
(StreamCodec<B, S> p_320347_) static <B extends io.netty.buffer.ByteBuf,
V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection
(IntFunction<C> p_320579_, StreamCodec<? super B, V> p_319970_) static <B extends io.netty.buffer.ByteBuf,
V, C extends Collection<V>>
StreamCodec<B, C> ByteBufCodecs.collection
(IntFunction<C> p_332198_, StreamCodec<? super B, V> p_332183_, int p_332173_) static <B,
C, T1> StreamCodec <B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320179_, Function<C, T1> p_320085_, Function<T1, C> p_320672_) static <B,
C, T1, T2>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320642_, Function<C, T1> p_320284_, StreamCodec<? super B, T2> p_320068_, Function<C, T2> p_319959_, BiFunction<T1, T2, C> p_320761_) static <B,
C, T1, T2, T3>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_320928_, Function<C, T1> p_320123_, StreamCodec<? super B, T2> p_319815_, Function<C, T2> p_319965_, StreamCodec<? super B, T3> p_319834_, Function<C, T3> p_320645_, com.mojang.datafixers.util.Function3<T1, T2, T3, C> p_320386_) static <B,
C, T1, T2, T3, T4>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_323726_, Function<C, T1> p_324414_, StreamCodec<? super B, T2> p_323659_, Function<C, T2> p_323932_, StreamCodec<? super B, T3> p_323964_, Function<C, T3> p_324282_, StreamCodec<? super B, T4> p_323671_, Function<C, T4> p_324254_, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> p_324090_) static <B,
C, T1, T2, T3, T4, T5>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_324413_, Function<C, T1> p_323568_, StreamCodec<? super B, T2> p_323835_, Function<C, T2> p_323513_, StreamCodec<? super B, T3> p_324112_, Function<C, T3> p_323815_, StreamCodec<? super B, T4> p_323483_, Function<C, T4> p_323725_, StreamCodec<? super B, T5> p_324486_, Function<C, T5> p_323518_, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> p_324480_) static <B,
C, T1, T2, T3, T4, T5, T6>
StreamCodec<B, C> StreamCodec.composite
(StreamCodec<? super B, T1> p_331822_, Function<C, T1> p_330864_, StreamCodec<? super B, T2> p_331390_, Function<C, T2> p_331203_, StreamCodec<? super B, T3> p_331499_, Function<C, T3> p_330294_, StreamCodec<? super B, T4> p_331169_, Function<C, T4> p_331830_, StreamCodec<? super B, T5> p_331057_, Function<C, T5> p_331593_, StreamCodec<? super B, T6> p_331117_, Function<C, T6> p_331904_, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> p_331335_) static <B extends io.netty.buffer.ByteBuf,
L, R>
StreamCodec<B, com.mojang.datafixers.util.Either<L, R>> ByteBufCodecs.either
(StreamCodec<? super B, L> p_331983_, StreamCodec<? super B, R> p_332156_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <B extends io.netty.buffer.ByteBuf,
K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map
(IntFunction<? extends M> p_320265_, StreamCodec<? super B, K> p_320113_, StreamCodec<? super B, V> p_320275_) static <B extends io.netty.buffer.ByteBuf,
K, V, M extends Map<K, V>>
StreamCodec<B, M> ByteBufCodecs.map
(IntFunction<? extends M> p_331325_, StreamCodec<? super B, K> p_331975_, StreamCodec<? super B, V> p_331254_, int p_330938_) static <B extends io.netty.buffer.ByteBuf,
V>
StreamCodec<B, Optional<V>> ByteBufCodecs.optional
(StreamCodec<B, V> p_320522_) Modifier and TypeMethodDescriptionstatic <B,
T> StreamCodec <B, T> StreamCodec.recursive
(UnaryOperator<StreamCodec<B, T>> p_330470_) ModifierConstructorDescription(package private)
Entry
(StreamCodec<? super B, ? extends V> serializer, T type) Creates an instance of aEntry
record class. -
Uses of StreamCodec in net.minecraft.network.protocol
Modifier and TypeFieldDescriptionprivate final StreamCodec
<io.netty.buffer.ByteBuf, Packet<? super L>> ProtocolInfoBuilder.Implementation.codec
The field for thecodec
record component.private final StreamCodec
<? super B, P> ProtocolInfoBuilder.CodecEntry.serializer
The field for theserializer
record component.Modifier and TypeMethodDescriptionStreamCodec
<B, Packet<? super L>> ProtocolCodecBuilder.build()
private StreamCodec
<io.netty.buffer.ByteBuf, Packet<? super T>> ProtocolInfoBuilder.buildPacketCodec
(Function<io.netty.buffer.ByteBuf, B> p_320922_, List<ProtocolInfoBuilder.CodecEntry<T, ?, B>> p_320733_) static <B extends io.netty.buffer.ByteBuf,
T extends Packet<?>>
StreamCodec<B, T> Packet.codec
(StreamMemberEncoder<B, T> p_319871_, StreamDecoder<B, T> p_319793_) StreamCodec
<io.netty.buffer.ByteBuf, Packet<? super L>> ProtocolInfoBuilder.Implementation.codec()
Returns the value of thecodec
record component.StreamCodec
<? super B, P> ProtocolInfoBuilder.CodecEntry.serializer()
Returns the value of theserializer
record component.Modifier and TypeMethodDescription<T extends Packet<? super L>>
ProtocolCodecBuilder<B, L> ProtocolCodecBuilder.add
(PacketType<T> p_319852_, StreamCodec<? super B, T> p_320657_) <P extends Packet<? super T>>
ProtocolInfoBuilder<T, B> ProtocolInfoBuilder.addPacket
(PacketType<P> p_320673_, StreamCodec<? super B, P> p_319828_) ModifierConstructorDescription(package private)
CodecEntry
(PacketType<P> type, StreamCodec<? super B, P> serializer) Creates an instance of aCodecEntry
record class.(package private)
Implementation
(ConnectionProtocol id, PacketFlow flow, StreamCodec<io.netty.buffer.ByteBuf, Packet<? super L>> codec, BundlerInfo bundlerInfo) Creates an instance of aImplementation
record class. -
Uses of StreamCodec in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.CONFIG_STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.CONFIG_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket> ClientboundCustomPayloadPacket.GAMEPLAY_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, byte[]> ClientboundStoreCookiePacket.PAYLOAD_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundDisconnectPacket> ClientboundDisconnectPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundKeepAlivePacket> ClientboundKeepAlivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPingPacket> ClientboundPingPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundResourcePackPopPacket> ClientboundResourcePackPopPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundResourcePackPushPacket> ClientboundResourcePackPushPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundStoreCookiePacket> ClientboundStoreCookiePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTransferPacket> ClientboundTransferPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundUpdateTagsPacket> ClientboundUpdateTagsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundClientInformationPacket> ServerboundClientInformationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomPayloadPacket> ServerboundCustomPayloadPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundKeepAlivePacket> ServerboundKeepAlivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPongPacket> ServerboundPongPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundResourcePackPacket> ServerboundResourcePackPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.common.custom
Modifier and TypeFieldDescriptionprivate final StreamCodec
<B, T> CustomPacketPayload.TypeAndCodec.codec
The field for thecodec
record component.static final StreamCodec
<FriendlyByteBuf, BeeDebugPayload> BeeDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BrainDebugPayload> BrainDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BrandPayload> BrandPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, BreezeDebugPayload> BreezeDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameEventDebugPayload> GameEventDebugPayload.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, GameEventListenerDebugPayload> GameEventListenerDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameTestAddMarkerDebugPayload> GameTestAddMarkerDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GameTestClearMarkersDebugPayload> GameTestClearMarkersDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, GoalDebugPayload> GoalDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, HiveDebugPayload> HiveDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, NeighborUpdatesDebugPayload> NeighborUpdatesDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PathfindingDebugPayload> PathfindingDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiAddedDebugPayload> PoiAddedDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiRemovedDebugPayload> PoiRemovedDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, PoiTicketCountDebugPayload> PoiTicketCountDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, RaidsDebugPayload> RaidsDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, StructuresDebugPayload> StructuresDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, VillageSectionsDebugPayload> VillageSectionsDebugPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, WorldGenAttemptDebugPayload> WorldGenAttemptDebugPayload.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,
T extends CustomPacketPayload>
StreamCodec<B, T> CustomPacketPayload.codec
(StreamMemberEncoder<B, T> p_319960_, StreamDecoder<B, T> p_320047_) static <B extends FriendlyByteBuf>
StreamCodec<B, CustomPacketPayload> CustomPacketPayload.codec
(CustomPacketPayload.FallbackProvider<B> p_319839_, List<CustomPacketPayload.TypeAndCodec<? super B, ?>> p_320495_, ConnectionProtocol protocol, PacketFlow packetFlow) CustomPacketPayload.TypeAndCodec.codec()
Returns the value of thecodec
record component.static <T extends FriendlyByteBuf>
StreamCodec<T, DiscardedPayload> DiscardedPayload.codec
(ResourceLocation p_320106_, int p_319929_) StreamCodec
<B, ? extends CustomPacketPayload> CustomPacketPayload.FallbackProvider.create
(ResourceLocation p_320236_) ModifierConstructorDescriptionTypeAndCodec
(CustomPacketPayload.Type<T> type, StreamCodec<B, T> codec) Creates an instance of aTypeAndCodec
record class. -
Uses of StreamCodec in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<? extends Registry<?>>> ClientboundRegistryDataPacket.REGISTRY_KEY_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundFinishConfigurationPacket> ClientboundFinishConfigurationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRegistryDataPacket> ClientboundRegistryDataPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundResetChatPacket> ClientboundResetChatPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundSelectKnownPacks> ClientboundSelectKnownPacks.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundUpdateEnabledFeaturesPacket> ClientboundUpdateEnabledFeaturesPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundFinishConfigurationPacket> ServerboundFinishConfigurationPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundSelectKnownPacks> ServerboundSelectKnownPacks.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.cookie
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundCookieRequestPacket> ClientboundCookieRequestPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCookieResponsePacket> ServerboundCookieResponsePacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<RegistryFriendlyByteBuf, Holder<DamageType>> ClientboundDamageEventPacket.DAMAGE_TYPE_ID_STREAM_CODEC
private static final StreamCodec
<io.netty.buffer.ByteBuf, byte[]> ClientboundLightUpdatePacketData.DATA_LAYER_STREAM_CODEC
private static final StreamCodec
<RegistryFriendlyByteBuf, Holder<DimensionType>> CommonPlayerSpawnInfo.DIMENSION_TYPE_ID_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, List<ClientboundLevelChunkPacketData.BlockEntityInfo>> ClientboundLevelChunkPacketData.BlockEntityInfo.LIST_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, AttributeModifier> ClientboundUpdateAttributesPacket.AttributeSnapshot.MODIFIER_STREAM_CODEC
private static final StreamCodec
<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ItemStack>> ServerboundContainerClickPacket.SLOTS_STREAM_CODEC
private static final StreamCodec
<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>> ClientboundAwardStatsPacket.STAT_VALUES_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundAddEntityPacket> ClientboundAddEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundAddExperienceOrbPacket> ClientboundAddExperienceOrbPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundAnimatePacket> ClientboundAnimatePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundAwardStatsPacket> ClientboundAwardStatsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundBlockChangedAckPacket> ClientboundBlockChangedAckPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundBlockDestructionPacket> ClientboundBlockDestructionPacket.STREAM_CODEC
ClientboundBlockEntityDataPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockEventPacket> ClientboundBlockEventPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBlockUpdatePacket> ClientboundBlockUpdatePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundBossEventPacket> ClientboundBossEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChangeDifficultyPacket> ClientboundChangeDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChunkBatchFinishedPacket> ClientboundChunkBatchFinishedPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundChunkBatchStartPacket> ClientboundChunkBatchStartPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundChunksBiomesPacket> ClientboundChunksBiomesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundClearTitlesPacket> ClientboundClearTitlesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundCommandsPacket> ClientboundCommandsPacket.STREAM_CODEC
ClientboundCommandSuggestionsPacket.Entry.STREAM_CODEC
ClientboundCommandSuggestionsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundContainerClosePacket> ClientboundContainerClosePacket.STREAM_CODEC
ClientboundContainerSetContentPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundContainerSetDataPacket> ClientboundContainerSetDataPacket.STREAM_CODEC
ClientboundContainerSetSlotPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundCooldownPacket> ClientboundCooldownPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundCustomChatCompletionsPacket> ClientboundCustomChatCompletionsPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundDamageEventPacket> ClientboundDamageEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundDebugSamplePacket> ClientboundDebugSamplePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundDeleteChatPacket> ClientboundDeleteChatPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundDisguisedChatPacket> ClientboundDisguisedChatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundEntityEventPacket> ClientboundEntityEventPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundExplodePacket> ClientboundExplodePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundForgetLevelChunkPacket> ClientboundForgetLevelChunkPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundGameEventPacket> ClientboundGameEventPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHorseScreenOpenPacket> ClientboundHorseScreenOpenPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHurtAnimationPacket> ClientboundHurtAnimationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundInitializeBorderPacket> ClientboundInitializeBorderPacket.STREAM_CODEC
ClientboundLevelChunkPacketData.BlockEntityInfo.STREAM_CODEC
ClientboundLevelChunkWithLightPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLevelEventPacket> ClientboundLevelEventPacket.STREAM_CODEC
ClientboundLevelParticlesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLightUpdatePacket> ClientboundLightUpdatePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundLoginPacket> ClientboundLoginPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundMapItemDataPacket> ClientboundMapItemDataPacket.STREAM_CODEC
ClientboundMerchantOffersPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.Pos> ClientboundMoveEntityPacket.Pos.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.PosRot> ClientboundMoveEntityPacket.PosRot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveEntityPacket.Rot> ClientboundMoveEntityPacket.Rot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundMoveVehiclePacket> ClientboundMoveVehiclePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundOpenBookPacket> ClientboundOpenBookPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundOpenScreenPacket> ClientboundOpenScreenPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundOpenSignEditorPacket> ClientboundOpenSignEditorPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlaceGhostRecipePacket> ClientboundPlaceGhostRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerAbilitiesPacket> ClientboundPlayerAbilitiesPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundPlayerChatPacket> ClientboundPlayerChatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerCombatEndPacket> ClientboundPlayerCombatEndPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundPlayerCombatEnterPacket> ClientboundPlayerCombatEnterPacket.STREAM_CODEC
ClientboundPlayerCombatKillPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerInfoRemovePacket> ClientboundPlayerInfoRemovePacket.STREAM_CODEC
ClientboundPlayerInfoUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerLookAtPacket> ClientboundPlayerLookAtPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundPlayerPositionPacket> ClientboundPlayerPositionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundProjectilePowerPacket> ClientboundProjectilePowerPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRecipePacket> ClientboundRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRemoveEntitiesPacket> ClientboundRemoveEntitiesPacket.STREAM_CODEC
ClientboundRemoveMobEffectPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundResetScorePacket> ClientboundResetScorePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundRespawnPacket> ClientboundRespawnPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundRotateHeadPacket> ClientboundRotateHeadPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSectionBlocksUpdatePacket> ClientboundSectionBlocksUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSelectAdvancementsTabPacket> ClientboundSelectAdvancementsTabPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundServerDataPacket> ClientboundServerDataPacket.STREAM_CODEC
ClientboundSetActionBarTextPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderCenterPacket> ClientboundSetBorderCenterPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderLerpSizePacket> ClientboundSetBorderLerpSizePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderSizePacket> ClientboundSetBorderSizePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetBorderWarningDelayPacket> ClientboundSetBorderWarningDelayPacket.STREAM_CODEC
ClientboundSetBorderWarningDistancePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetCameraPacket> ClientboundSetCameraPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetCarriedItemPacket> ClientboundSetCarriedItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetChunkCacheCenterPacket> ClientboundSetChunkCacheCenterPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetChunkCacheRadiusPacket> ClientboundSetChunkCacheRadiusPacket.STREAM_CODEC
ClientboundSetDefaultSpawnPositionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket> ClientboundSetDisplayObjectivePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetEntityDataPacket> ClientboundSetEntityDataPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetEntityLinkPacket> ClientboundSetEntityLinkPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetEntityMotionPacket> ClientboundSetEntityMotionPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetEquipmentPacket> ClientboundSetEquipmentPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetExperiencePacket> ClientboundSetExperiencePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetHealthPacket> ClientboundSetHealthPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetObjectivePacket> ClientboundSetObjectivePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetPassengersPacket> ClientboundSetPassengersPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetPlayerTeamPacket> ClientboundSetPlayerTeamPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetScorePacket> ClientboundSetScorePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetSimulationDistancePacket> ClientboundSetSimulationDistancePacket.STREAM_CODEC
ClientboundSetSubtitleTextPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTimePacket> ClientboundSetTimePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundSetTitlesAnimationPacket> ClientboundSetTitlesAnimationPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSetTitleTextPacket> ClientboundSetTitleTextPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSoundEntityPacket> ClientboundSoundEntityPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSoundPacket> ClientboundSoundPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundStartConfigurationPacket> ClientboundStartConfigurationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundStopSoundPacket> ClientboundStopSoundPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundSystemChatPacket> ClientboundSystemChatPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundTabListPacket> ClientboundTabListPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTagQueryPacket> ClientboundTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTakeItemEntityPacket> ClientboundTakeItemEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTeleportEntityPacket> ClientboundTeleportEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTickingStatePacket> ClientboundTickingStatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundTickingStepPacket> ClientboundTickingStepPacket.STREAM_CODEC
ClientboundUpdateAdvancementsPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundUpdateAttributesPacket.AttributeSnapshot> ClientboundUpdateAttributesPacket.AttributeSnapshot.STREAM_CODEC
ClientboundUpdateAttributesPacket.STREAM_CODEC
ClientboundUpdateMobEffectPacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ClientboundUpdateRecipesPacket> ClientboundUpdateRecipesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundAcceptTeleportationPacket> ServerboundAcceptTeleportationPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundBlockEntityTagQueryPacket> ServerboundBlockEntityTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChangeDifficultyPacket> ServerboundChangeDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatAckPacket> ServerboundChatAckPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatCommandPacket> ServerboundChatCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatCommandSignedPacket> ServerboundChatCommandSignedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatPacket> ServerboundChatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChatSessionUpdatePacket> ServerboundChatSessionUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundChunkBatchReceivedPacket> ServerboundChunkBatchReceivedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundClientCommandPacket> ServerboundClientCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCommandSuggestionPacket> ServerboundCommandSuggestionPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundConfigurationAcknowledgedPacket> ServerboundConfigurationAcknowledgedPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundContainerButtonClickPacket> ServerboundContainerButtonClickPacket.STREAM_CODEC
ServerboundContainerClickPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundContainerClosePacket> ServerboundContainerClosePacket.STREAM_CODEC
ServerboundContainerSlotStateChangedPacket.STREAM_CODEC
ServerboundDebugSampleSubscriptionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundEditBookPacket> ServerboundEditBookPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundEntityTagQueryPacket> ServerboundEntityTagQueryPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundInteractPacket> ServerboundInteractPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundJigsawGeneratePacket> ServerboundJigsawGeneratePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundLockDifficultyPacket> ServerboundLockDifficultyPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.Pos> ServerboundMovePlayerPacket.Pos.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.PosRot> ServerboundMovePlayerPacket.PosRot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.Rot> ServerboundMovePlayerPacket.Rot.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMovePlayerPacket.StatusOnly> ServerboundMovePlayerPacket.StatusOnly.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundMoveVehiclePacket> ServerboundMoveVehiclePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPaddleBoatPacket> ServerboundPaddleBoatPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPickItemPacket> ServerboundPickItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlaceRecipePacket> ServerboundPlaceRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerAbilitiesPacket> ServerboundPlayerAbilitiesPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerActionPacket> ServerboundPlayerActionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerCommandPacket> ServerboundPlayerCommandPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPlayerInputPacket> ServerboundPlayerInputPacket.STREAM_CODEC
ServerboundRecipeBookChangeSettingsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundRecipeBookSeenRecipePacket> ServerboundRecipeBookSeenRecipePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundRenameItemPacket> ServerboundRenameItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSeenAdvancementsPacket> ServerboundSeenAdvancementsPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSelectTradePacket> ServerboundSelectTradePacket.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ServerboundSetBeaconPacket> ServerboundSetBeaconPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCarriedItemPacket> ServerboundSetCarriedItemPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCommandBlockPacket> ServerboundSetCommandBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetCommandMinecartPacket> ServerboundSetCommandMinecartPacket.STREAM_CODEC
ServerboundSetCreativeModeSlotPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetJigsawBlockPacket> ServerboundSetJigsawBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSetStructureBlockPacket> ServerboundSetStructureBlockPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSignUpdatePacket> ServerboundSignUpdatePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundSwingPacket> ServerboundSwingPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundTeleportToEntityPacket> ServerboundTeleportToEntityPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundUseItemOnPacket> ServerboundUseItemOnPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundUseItemPacket> ServerboundUseItemPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.handshake
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientIntentionPacket> ClientIntentionPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.login
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundCustomQueryPacket> ClientboundCustomQueryPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ClientboundGameProfilePacket> ClientboundGameProfilePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundHelloPacket> ClientboundHelloPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLoginCompressionPacket> ClientboundLoginCompressionPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ClientboundLoginDisconnectPacket> ClientboundLoginDisconnectPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundCustomQueryAnswerPacket> ServerboundCustomQueryAnswerPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundHelloPacket> ServerboundHelloPacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundKeyPacket> ServerboundKeyPacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundLoginAcknowledgedPacket> ServerboundLoginAcknowledgedPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.ping
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundPongResponsePacket> ClientboundPongResponsePacket.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ServerboundPingRequestPacket> ServerboundPingRequestPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.protocol.status
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ClientboundStatusResponsePacket> ClientboundStatusResponsePacket.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ServerboundStatusRequestPacket> ServerboundStatusRequestPacket.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<BlockState>> EntityDataSerializers.OPTIONAL_BLOCK_STATE_CODEC
private static final StreamCodec
<io.netty.buffer.ByteBuf, OptionalInt> EntityDataSerializers.OPTIONAL_UNSIGNED_INT_CODEC
Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> EntityDataSerializer.codec()
Modifier and TypeMethodDescriptionstatic <T> EntityDataSerializer
<T> EntityDataSerializer.forValueType
(StreamCodec<? super RegistryFriendlyByteBuf, T> p_319946_) -
Uses of StreamCodec in net.minecraft.resources
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, ResourceLocation> ResourceLocation.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<io.netty.buffer.ByteBuf, ResourceKey<T>> ResourceKey.streamCodec
(ResourceKey<? extends Registry<T>> p_320330_) -
Uses of StreamCodec in net.minecraft.server.network
Modifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,
T>
StreamCodec<B, Filterable<T>> Filterable.streamCodec
(StreamCodec<B, T> p_330521_) Modifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,
T>
StreamCodec<B, Filterable<T>> Filterable.streamCodec
(StreamCodec<B, T> p_330521_) -
Uses of StreamCodec in net.minecraft.server.packs.repository
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, KnownPack> KnownPack.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.sounds
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, SoundEvent> SoundEvent.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.stats
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodec
-
Uses of StreamCodec in net.minecraft.world.effect
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, MobEffectInstance.Details> MobEffectInstance.Details.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MobEffectInstance> MobEffectInstance.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.entity
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, EquipmentSlotGroup> EquipmentSlotGroup.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Pose> Pose.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, AttributeModifier.Operation> AttributeModifier.Operation.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, AttributeModifier> AttributeModifier.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.entity.animal.armadillo
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, Armadillo.ArmadilloState> Armadillo.ArmadilloState.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.entity.animal.sniffer
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, Sniffer.State> Sniffer.State.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, VillagerData> VillagerData.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.food
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties> FoodProperties.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, FoodProperties.PossibleEffect> FoodProperties.PossibleEffect.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Instrument> Instrument.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, List<ItemStack>> ItemStack.LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, List<ItemStack>> ItemStack.OPTIONAL_LIST_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemStack> ItemStack.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdventureModePredicate> AdventureModePredicate.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, DyeColor> DyeColor.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemStack> ItemStack.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Rarity> Rarity.STREAM_CODEC
Modifier and TypeMethodDescriptionItemStack.validatedStreamCodec
(StreamCodec<RegistryFriendlyByteBuf, ItemStack> p_340962_) Modifier and TypeMethodDescriptionItemStack.validatedStreamCodec
(StreamCodec<RegistryFriendlyByteBuf, ItemStack> p_340962_) -
Uses of StreamCodec in net.minecraft.world.item.alchemy
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, PotionContents> PotionContents.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TrimPattern> TrimPattern.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ArmorTrim> ArmorTrim.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<io.netty.buffer.ByteBuf, it.unimi.dsi.fastutil.ints.IntList> FireworkExplosion.COLOR_LIST_STREAM_CODEC
private static final StreamCodec
<io.netty.buffer.ByteBuf, Map<String, String>> BlockItemStateProperties.PROPERTIES_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, BlockItemStateProperties> BlockItemStateProperties.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BundleContents> BundleContents.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ChargedProjectiles> ChargedProjectiles.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, CustomData> CustomData.STREAM_CODEC
Deprecated.static final StreamCodec
<io.netty.buffer.ByteBuf, CustomModelData> CustomModelData.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, DyedItemColor> DyedItemColor.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, FireworkExplosion.Shape> FireworkExplosion.Shape.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, FireworkExplosion> FireworkExplosion.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Fireworks> Fireworks.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers.Entry> ItemAttributeModifiers.Entry.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemAttributeModifiers> ItemAttributeModifiers.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemContainerContents> ItemContainerContents.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemLore> ItemLore.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, LodestoneTracker> LodestoneTracker.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, MapItemColor> MapItemColor.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, MapPostProcessing> MapPostProcessing.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ResolvableProfile> ResolvableProfile.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SuspiciousStewEffects.Entry> SuspiciousStewEffects.Entry.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SuspiciousStewEffects> SuspiciousStewEffects.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Tool.Rule> Tool.Rule.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Tool> Tool.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Unbreakable> Unbreakable.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, WritableBookContent> WritableBookContent.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, WrittenBookContent> WrittenBookContent.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.item.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Ingredient> Ingredient.CONTENTS_STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, CraftingBookCategory> CraftingBookCategory.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Recipe<?>> Recipe.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, RecipeHolder<?>> RecipeHolder.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapedRecipe> ShapedRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapedRecipePattern> ShapedRecipePattern.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ShapelessRecipe> ShapelessRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTransformRecipe> SmithingTransformRecipe.Serializer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SmithingTrimRecipe> SmithingTrimRecipe.Serializer.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> SimpleCookingSerializer.streamCodec
private final StreamCodec
<RegistryFriendlyByteBuf, T> SimpleCraftingRecipeSerializer.streamCodec
private final StreamCodec
<RegistryFriendlyByteBuf, T> SingleItemRecipe.Serializer.streamCodec
Modifier and TypeMethodDescriptionRecipeSerializer.streamCodec()
ShapedRecipe.Serializer.streamCodec()
ShapelessRecipe.Serializer.streamCodec()
SimpleCookingSerializer.streamCodec()
SimpleCraftingRecipeSerializer.streamCodec()
SingleItemRecipe.Serializer.streamCodec()
SmithingTransformRecipe.Serializer.streamCodec()
SmithingTrimRecipe.Serializer.streamCodec()
-
Uses of StreamCodec in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, ItemEnchantments> ItemEnchantments.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.item.trading
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, Optional<ItemCost>> ItemCost.OPTIONAL_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, ItemCost> ItemCost.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffer> MerchantOffer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffers> MerchantOffers.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, BannerPattern> BannerPattern.DIRECT_STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BannerPatternLayers.Layer> BannerPatternLayers.Layer.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, BannerPatternLayers> BannerPatternLayers.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, BeehiveBlockEntity.Occupant> BeehiveBlockEntity.Occupant.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, PotDecorations> PotDecorations.STREAM_CODEC
-
Uses of StreamCodec in net.minecraft.world.level.gameevent
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, BlockPositionSource> BlockPositionSource.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, EntityPositionSource> EntityPositionSource.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, PositionSource> PositionSource.STREAM_CODEC
Modifier 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.saveddata.maps
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, MapDecoration> MapDecoration.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, MapId> MapId.STREAM_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, Optional<MapItemSavedData.MapPatch>> MapItemSavedData.MapPatch.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.common
Modifier and TypeFieldDescriptionstatic final StreamCodec
<io.netty.buffer.ByteBuf, EffectCure> EffectCure.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic <E extends Enum<E> & StringRepresentable>
StreamCodec<io.netty.buffer.ByteBuf, E> IExtensibleEnum.createStreamCodecForExtensibleEnum
(Supplier<E[]> valuesSupplier) Use this instead ofByteBufCodecs.idMapper(IntFunction, ToIntFunction)
for extensible enums because this not cache the enum values on construction -
Uses of StreamCodec in net.neoforged.neoforge.common.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, SizedIngredient> SizedIngredient.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> IngredientType.streamCodec
The field for thestreamCodec
record component.Modifier and TypeMethodDescriptionIngredientType.streamCodec()
Returns the value of thestreamCodec
record component.ModifierConstructorDescriptionIngredientType
(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aIngredientType
record class. -
Uses of StreamCodec in net.neoforged.neoforge.debug.crafting
Modifier and TypeMethodDescriptionIngredientTests.CompressedShapelessRecipeSerializer.streamCodec()
-
Uses of StreamCodec in net.neoforged.neoforge.debug.entity
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<FriendlyByteBuf, EntityTests.CustomSyncPayload> EntityTests.CustomSyncPayload.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.fluids
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FluidStack> FluidStack.OPTIONAL_STREAM_CODEC
A stream codec for fluid stacks that accepts empty stacks.static final StreamCodec
<RegistryFriendlyByteBuf, FluidStack> FluidStack.STREAM_CODEC
A stream codec for fluid stacks that does not accept empty stacks.static final StreamCodec
<RegistryFriendlyByteBuf, SimpleFluidContent> SimpleFluidContent.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.fluids.crafting
Modifier and TypeFieldDescriptionstatic final StreamCodec
<RegistryFriendlyByteBuf, FluidIngredient> FluidIngredient.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, SizedFluidIngredient> SizedFluidIngredient.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, T> FluidIngredientType.streamCodec
The field for thestreamCodec
record component.Modifier and TypeMethodDescriptionFluidIngredientType.streamCodec()
Returns the value of thestreamCodec
record component.ModifierConstructorDescriptionFluidIngredientType
(com.mojang.serialization.MapCodec<T> codec, StreamCodec<RegistryFriendlyByteBuf, T> streamCodec) Creates an instance of aFluidIngredientType
record class. -
Uses of StreamCodec in net.neoforged.neoforge.network.codec
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, ChunkPos> NeoForgeStreamCodecs.CHUNK_POS
static final StreamCodec
<FriendlyByteBuf, byte[]> NeoForgeStreamCodecs.UNBOUNDED_BYTE_ARRAY
Modifier and TypeFieldDescriptionprivate final Lazy
<StreamCodec<B, V>> NeoForgeStreamCodecs.LazyStreamCodec.delegate
Modifier and TypeMethodDescriptionstatic <B,
C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> NeoForgeStreamCodecs.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> p_331335_) static <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 aResourceKey
that identifies a registry.static <B,
V> StreamCodec <B, V> NeoForgeStreamCodecs.uncheckedUnit
(V defaultValue) Similar tounit(Object)
, but without checks for the value to be encoded.Modifier and TypeMethodDescriptionstatic <B,
C, T1, T2, T3, T4, T5, T6, T7>
StreamCodec<B, C> NeoForgeStreamCodecs.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> p_331335_) static <V> StreamCodec
<RegistryFriendlyByteBuf, V> NeoForgeStreamCodecs.connectionAware
(StreamCodec<? super RegistryFriendlyByteBuf, V> neoForgeCodec, StreamCodec<? super RegistryFriendlyByteBuf, V> otherCodec) Creates a stream codec that uses different implementation depending on theConnectionType
.Modifier and TypeMethodDescriptionstatic <B,
V> StreamCodec <B, V> NeoForgeStreamCodecs.lazy
(Supplier<StreamCodec<B, V>> streamCodecSupplier) -
Uses of StreamCodec in net.neoforged.neoforge.network.payload
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, Set<ResourceLocation>> DinnerboneProtocolUtils.CHANNELS_CODEC
static final StreamCodec
<FriendlyByteBuf, AdvancedAddEntityPayload> AdvancedAddEntityPayload.STREAM_CODEC
AdvancedContainerSetDataPayload.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AdvancedOpenScreenPayload> AdvancedOpenScreenPayload.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, AuxiliaryLightDataPayload> AuxiliaryLightDataPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ConfigFilePayload> ConfigFilePayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistryPayload> FrozenRegistryPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistrySyncCompletedPayload> FrozenRegistrySyncCompletedPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, FrozenRegistrySyncStartPayload> FrozenRegistrySyncStartPayload.STREAM_CODEC
KnownRegistryDataMapsPayload.KnownDataMap.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, KnownRegistryDataMapsPayload> KnownRegistryDataMapsPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, KnownRegistryDataMapsReplyPayload> KnownRegistryDataMapsReplyPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, MinecraftRegisterPayload> MinecraftRegisterPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, MinecraftUnregisterPayload> MinecraftUnregisterPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkComponent> ModdedNetworkComponent.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkPayload> ModdedNetworkPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkQueryComponent> ModdedNetworkQueryComponent.STREAM_CODEC
ModdedNetworkQueryPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, ModdedNetworkSetupFailedPayload> ModdedNetworkSetupFailedPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, RegistryDataMapSyncPayload<?>> RegistryDataMapSyncPayload.STREAM_CODEC
static final StreamCodec
<FriendlyByteBuf, SplitPacketPayload> SplitPacketPayload.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.network.registration
Modifier and TypeFieldDescriptionprivate final StreamCodec
<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec
The field for thecodec
record component.private final StreamCodec
<FriendlyByteBuf, T> ModdedConfigurationPayloadRegistration.reader
The field for thereader
record component.private final StreamCodec
<RegistryFriendlyByteBuf, T> ModdedPlayPayloadRegistration.reader
The field for thereader
record component.static final StreamCodec
<FriendlyByteBuf, NetworkChannel> NetworkChannel.STREAM_CODEC
NetworkPayloadSetup.STREAM_CODEC
Modifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, StreamCodec<FriendlyByteBuf, ? extends CustomPacketPayload>> NetworkRegistry.BUILTIN_PAYLOADS
Map of NeoForge payloads that may be sent before channel negotiation.Modifier and TypeMethodDescriptionStreamCodec
<? super RegistryFriendlyByteBuf, T> PayloadRegistration.codec()
Returns the value of thecodec
record component.static @Nullable StreamCodec
<? super FriendlyByteBuf, ? extends CustomPacketPayload> NetworkRegistry.getCodec
(ResourceLocation id, ConnectionProtocol protocol, PacketFlow flow) Attempts to retrieve theStreamCodec
for a non-vanilla payload.ModdedConfigurationPayloadRegistration.reader()
Returns the value of thereader
record component.ModdedPlayPayloadRegistration.reader()
Returns the value of thereader
record component.Modifier and TypeMethodDescription<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonBidirectional
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a client-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.commonToServer
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a server-bound payload for all phases.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationBidirectional
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for the configuration phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.configurationToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super FriendlyByteBuf, T> reader, 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> reader, 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> reader, IPayloadHandler<T> handler) Registers a bidirectional payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToClient
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a client-bound payload for the play phase.<T extends CustomPacketPayload>
PayloadRegistrarPayloadRegistrar.playToServer
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> reader, IPayloadHandler<T> handler) Registers a server-bound payload for the play phase.static <T extends CustomPacketPayload,
B extends FriendlyByteBuf>
voidNetworkRegistry.register
(CustomPacketPayload.Type<T> type, StreamCodec<? super B, T> codec, IPayloadHandler<T> handler, 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, IPayloadHandler<T> handler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) ModifierConstructorDescriptionModdedConfigurationPayloadRegistration
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<FriendlyByteBuf, T> reader) Creates an instance of aModdedConfigurationPayloadRegistration
record class.ModdedPlayPayloadRegistration
(ResourceLocation id, Class<T> type, IPayloadHandler<T> handler, StreamCodec<RegistryFriendlyByteBuf, T> reader) Creates an instance of aModdedPlayPayloadRegistration
record class.PayloadRegistration
(CustomPacketPayload.Type<T> type, StreamCodec<? super RegistryFriendlyByteBuf, T> codec, IPayloadHandler<T> handler, List<ConnectionProtocol> protocols, Optional<PacketFlow> flow, String version, boolean optional) Creates an instance of aPayloadRegistration
record class. -
Uses of StreamCodec in net.neoforged.neoforge.oldtest.misc
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<FriendlyByteBuf, ModMismatchTest.ModMismatchPayload> ModMismatchTest.ModMismatchPayload.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeFieldDescriptionprivate static final StreamCodec
<RegistryFriendlyByteBuf, RecipeBookTestRecipe> RecipeBookTestRecipeSerializer.STREAM_CODEC
-
Uses of StreamCodec in net.neoforged.neoforge.registries
Modifier and TypeFieldDescriptionstatic final StreamCodec
<FriendlyByteBuf, RegistrySnapshot> RegistrySnapshot.STREAM_CODEC