net.minecraft.network.codec

public interface StreamCodec<B, V>

extends StreamDecoder<B, V>, StreamEncoder<B, V>

zn
net.minecraft.network.codec.StreamCodec
net.minecraft.class_9139
net.minecraft.unmapped.C_qsrmwluu
net.minecraft.network.codec.PacketCodec
net.minecraft.network.codec.PacketCodec
net.minecraft.src.C_313866_
net.minecraft.network.codec.StreamCodec

Method summary

Modifier and TypeMethod
static <B, V> StreamCodec<B, V>
a(zp<B, V> arg0, zo<B, V> arg1)
of(StreamEncoder<B, V> arg0, StreamDecoder<B, V> arg1)
method_56437(class_9142<B, V> arg0, class_9141<B, V> arg1)
m_rgewxgtr(C_hiksfskl<B, V> arg0, C_ajdohfrc<B, V> arg1)
ofStatic(PacketEncoder<B, V> encoder, PacketDecoder<B, V> decoder)
create(PacketEncoder<B, V> encoder, PacketDecoder<B, V> decoder)
m_320617_(C_313366_<B, V> p_328457_, C_313681_<B, V> p_332601_)
static <B, V> StreamCodec<B, V>
a(zq<B, V> arg0, zo<B, V> arg1)
ofMember(StreamMemberEncoder<B, V> arg0, StreamDecoder<B, V> arg1)
method_56438(class_9143<B, V> arg0, class_9141<B, V> arg1)
m_aekplkat(C_dptxqryi<B, V> arg0, C_ajdohfrc<B, V> arg1)
of(ValueFirstEncoder<B, V> encoder, PacketDecoder<B, V> decoder)
create(ValueFirstEncoder<B, V> encoder, PacketDecoder<B, V> decoder)
m_324771_(C_313262_<B, V> p_330640_, C_313681_<B, V> p_327818_)
static <B, V> StreamCodec<B, V>
a(V arg0)
unit(V arg0)
method_56431(V arg0)
m_vdpeazsa(V arg0)
unit(V value)
unit(V value)
m_323136_(V p_336240_)
default <O> StreamCodec<B, O>
a(zn$a<B, V, O> arg0)
apply(StreamCodec$CodecOperation<B, V, O> arg0)
method_56433(class_9139$class_9140<B, V, O> arg0)
m_xepolosp(C_qsrmwluu$C_afmwjpzk<B, V, O> arg0)
collect(PacketCodec$ResultFunction<B, V, O> function)
apply(PacketCodec$ResultFunction<B, V, O> function)
m_321801_(C_313866_$C_313393_<B, V, O> arg0)
default <O> StreamCodec<B, O>
a(Function<? super V, ? extends O> arg0, Function<? super O, ? extends V> arg1)
map(Function<? super V, ? extends O> arg0, Function<? super O, ? extends V> arg1)
method_56432(Function<? super V, ? extends O> arg0, Function<? super O, ? extends V> arg1)
m_xdepsjrp(Function<? super V, ? extends O> arg0, Function<? super O, ? extends V> arg1)
xmap(Function<? super V, ? extends O> to, Function<? super O, ? extends V> from)
map(Function<? super V, ? extends O> to, Function<? super O, ? extends V> from)
m_323038_(Function<? super V, ? extends O> p_330478_, Function<? super O, ? extends V> arg1)
default <O extends io.netty.buffer.ByteBuf> StreamCodec<O, V>
b(Function<O, ? extends B> arg0)
mapStream(Function<O, ? extends B> arg0)
method_56439(Function<O, ? extends B> arg0)
m_jnlparpp(Function<O, ? extends B> arg0)
mapBuf(Function<O, ? extends B> function)
mapBuf(Function<O, ? extends B> function)
m_322313_(Function<O, ? extends B> arg0)
default <U> StreamCodec<B, U>
b(Function<? super U, ? extends V> arg0, Function<? super V, ? extends zn<? super B, ? extends U>> arg1)
dispatch(Function<? super U, ? extends V> arg0, Function<? super V, ? extends StreamCodec<? super B, ? extends U>> arg1)
method_56440(Function<? super U, ? extends V> arg0, Function<? super V, ? extends class_9139<? super B, ? extends U>> arg1)
m_xkeikrrc(Function<? super U, ? extends V> arg0, Function<? super V, ? extends C_qsrmwluu<? super B, ? extends U>> arg1)
dispatch(Function<? super U, ? extends V> type, Function<? super V, ? extends PacketCodec<? super B, ? extends U>> codec)
dispatch(Function<? super U, ? extends V> type, Function<? super V, ? extends PacketCodec<? super B, ? extends U>> codec)
m_321818_(Function<? super U, ? extends V> p_335469_, Function<? super V, ? extends C_313866_<? super B, ? extends U>> arg1)
static <B, C, T1> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, Function<T1, C> arg2)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, Function<T1, C> arg2)
method_56434(class_9139<? super B, T1> arg0, Function<C, T1> arg1, Function<T1, C> arg2)
m_tahgmrfg(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, Function<T1, C> arg2)
tuple(PacketCodec<? super B, T1> codec, Function<C, T1> from, Function<T1, C> to)
tuple(PacketCodec<? super B, T1> codec, Function<C, T1> from, Function<T1, C> to)
m_322204_(C_313866_<? super B, T1> p_332516_, Function<C, T1> p_335276_, Function<T1, C> p_330982_)
static <B, C, T1, T2> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, zn<? super B, T2> arg2, Function<C, T2> arg3, BiFunction<T1, T2, C> arg4)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, StreamCodec<? super B, T2> arg2, Function<C, T2> arg3, BiFunction<T1, T2, C> arg4)
method_56435(class_9139<? super B, T1> arg0, Function<C, T1> arg1, class_9139<? super B, T2> arg2, Function<C, T2> arg3, BiFunction<T1, T2, C> arg4)
m_neslfeqk(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, C_qsrmwluu<? super B, T2> arg2, Function<C, T2> arg3, BiFunction<T1, T2, C> arg4)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, BiFunction<T1, T2, C> to)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, BiFunction<T1, T2, C> to)
m_320349_(C_313866_<? super B, T1> p_329724_, Function<C, T1> p_329438_, C_313866_<? super B, T2> p_328233_, Function<C, T2> p_328617_, BiFunction<T1, T2, C> p_334409_)
static <B, C, T1, T2, T3> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, zn<? super B, T2> arg2, Function<C, T2> arg3, zn<? super B, T3> arg4, Function<C, T3> arg5, com.mojang.datafixers.util.Function3<T1, T2, T3, C> arg6)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, StreamCodec<? super B, T2> arg2, Function<C, T2> arg3, StreamCodec<? super B, T3> arg4, Function<C, T3> arg5, com.mojang.datafixers.util.Function3<T1, T2, T3, C> arg6)
method_56436(class_9139<? super B, T1> arg0, Function<C, T1> arg1, class_9139<? super B, T2> arg2, Function<C, T2> arg3, class_9139<? super B, T3> arg4, Function<C, T3> arg5, com.mojang.datafixers.util.Function3<T1, T2, T3, C> arg6)
m_kqzabmpi(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, C_qsrmwluu<? super B, T2> arg2, Function<C, T2> arg3, C_qsrmwluu<? super B, T3> arg4, Function<C, T3> arg5, com.mojang.datafixers.util.Function3<T1, T2, T3, C> arg6)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> to)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, com.mojang.datafixers.util.Function3<T1, T2, T3, C> to)
m_321516_(C_313866_<? super B, T1> p_329473_, Function<C, T1> p_334404_, C_313866_<? super B, T2> p_327967_, Function<C, T2> p_330724_, C_313866_<? super B, T3> p_328162_, Function<C, T3> p_333383_, com.mojang.datafixers.util.Function3<T1, T2, T3, C> p_334421_)
static <B, C, T1, T2, T3, T4> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, zn<? super B, T2> arg2, Function<C, T2> arg3, zn<? super B, T3> arg4, Function<C, T3> arg5, zn<? super B, T4> arg6, Function<C, T4> arg7, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> arg8)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, StreamCodec<? super B, T2> arg2, Function<C, T2> arg3, StreamCodec<? super B, T3> arg4, Function<C, T3> arg5, StreamCodec<? super B, T4> arg6, Function<C, T4> arg7, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> arg8)
method_56905(class_9139<? super B, T1> arg0, Function<C, T1> arg1, class_9139<? super B, T2> arg2, Function<C, T2> arg3, class_9139<? super B, T3> arg4, Function<C, T3> arg5, class_9139<? super B, T4> arg6, Function<C, T4> arg7, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> arg8)
m_ouxffrgo(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, C_qsrmwluu<? super B, T2> arg2, Function<C, T2> arg3, C_qsrmwluu<? super B, T3> arg4, Function<C, T3> arg5, C_qsrmwluu<? super B, T4> arg6, Function<C, T4> arg7, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> arg8)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> to)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> to)
m_319980_(C_313866_<? super B, T1> p_331397_, Function<C, T1> p_331210_, C_313866_<? super B, T2> p_332449_, Function<C, T2> p_329970_, C_313866_<? super B, T3> p_328015_, Function<C, T3> p_333423_, C_313866_<? super B, T4> p_332358_, Function<C, T4> p_331597_, com.mojang.datafixers.util.Function4<T1, T2, T3, T4, C> p_332476_)
static <B, C, T1, T2, T3, T4, T5> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, zn<? super B, T2> arg2, Function<C, T2> arg3, zn<? super B, T3> arg4, Function<C, T3> arg5, zn<? super B, T4> arg6, Function<C, T4> arg7, zn<? super B, T5> arg8, Function<C, T5> arg9, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> arg10)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, StreamCodec<? super B, T2> arg2, Function<C, T2> arg3, StreamCodec<? super B, T3> arg4, Function<C, T3> arg5, StreamCodec<? super B, T4> arg6, Function<C, T4> arg7, StreamCodec<? super B, T5> arg8, Function<C, T5> arg9, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> arg10)
method_56906(class_9139<? super B, T1> arg0, Function<C, T1> arg1, class_9139<? super B, T2> arg2, Function<C, T2> arg3, class_9139<? super B, T3> arg4, Function<C, T3> arg5, class_9139<? super B, T4> arg6, Function<C, T4> arg7, class_9139<? super B, T5> arg8, Function<C, T5> arg9, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> arg10)
m_whbpgkrx(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, C_qsrmwluu<? super B, T2> arg2, Function<C, T2> arg3, C_qsrmwluu<? super B, T3> arg4, Function<C, T3> arg5, C_qsrmwluu<? super B, T4> arg6, Function<C, T4> arg7, C_qsrmwluu<? super B, T5> arg8, Function<C, T5> arg9, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> arg10)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> to)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> to)
m_319894_(C_313866_<? super B, T1> p_332680_, Function<C, T1> p_336312_, C_313866_<? super B, T2> p_328131_, Function<C, T2> p_332283_, C_313866_<? super B, T3> p_330440_, Function<C, T3> p_333147_, C_313866_<? super B, T4> p_329904_, Function<C, T4> p_330832_, C_313866_<? super B, T5> p_335857_, Function<C, T5> p_333237_, com.mojang.datafixers.util.Function5<T1, T2, T3, T4, T5, C> p_328623_)
static <B, C, T1, T2, T3, T4, T5, T6> StreamCodec<B, C>
a(zn<? super B, T1> arg0, Function<C, T1> arg1, zn<? super B, T2> arg2, Function<C, T2> arg3, zn<? super B, T3> arg4, Function<C, T3> arg5, zn<? super B, T4> arg6, Function<C, T4> arg7, zn<? super B, T5> arg8, Function<C, T5> arg9, zn<? super B, T6> arg10, Function<C, T6> arg11, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> arg12)
composite(StreamCodec<? super B, T1> arg0, Function<C, T1> arg1, StreamCodec<? super B, T2> arg2, Function<C, T2> arg3, StreamCodec<? super B, T3> arg4, Function<C, T3> arg5, StreamCodec<? super B, T4> arg6, Function<C, T4> arg7, StreamCodec<? super B, T5> arg8, Function<C, T5> arg9, StreamCodec<? super B, T6> arg10, Function<C, T6> arg11, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> arg12)
method_58025(class_9139<? super B, T1> arg0, Function<C, T1> arg1, class_9139<? super B, T2> arg2, Function<C, T2> arg3, class_9139<? super B, T3> arg4, Function<C, T3> arg5, class_9139<? super B, T4> arg6, Function<C, T4> arg7, class_9139<? super B, T5> arg8, Function<C, T5> arg9, class_9139<? super B, T6> arg10, Function<C, T6> arg11, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> arg12)
m_ysrdtnvi(C_qsrmwluu<? super B, T1> arg0, Function<C, T1> arg1, C_qsrmwluu<? super B, T2> arg2, Function<C, T2> arg3, C_qsrmwluu<? super B, T3> arg4, Function<C, T3> arg5, C_qsrmwluu<? super B, T4> arg6, Function<C, T4> arg7, C_qsrmwluu<? super B, T5> arg8, Function<C, T5> arg9, C_qsrmwluu<? super B, T6> arg10, Function<C, T6> arg11, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> arg12)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, PacketCodec<? super B, T6> codec6, Function<C, T6> from6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> to)
tuple(PacketCodec<? super B, T1> codec1, Function<C, T1> from1, PacketCodec<? super B, T2> codec2, Function<C, T2> from2, PacketCodec<? super B, T3> codec3, Function<C, T3> from3, PacketCodec<? super B, T4> codec4, Function<C, T4> from4, PacketCodec<? super B, T5> codec5, Function<C, T5> from5, PacketCodec<? super B, T6> codec6, Function<C, T6> from6, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> to)
m_322230_(C_313866_<? super B, T1> p_333401_, Function<C, T1> p_329450_, C_313866_<? super B, T2> p_330884_, Function<C, T2> p_328085_, C_313866_<? super B, T3> p_332808_, Function<C, T3> p_327867_, C_313866_<? super B, T4> p_335472_, Function<C, T4> p_328511_, C_313866_<? super B, T5> p_333318_, Function<C, T5> p_330123_, C_313866_<? super B, T6> p_332458_, Function<C, T6> p_328086_, com.mojang.datafixers.util.Function6<T1, T2, T3, T4, T5, T6, C> p_329947_)
static <B, T> StreamCodec<B, T>
a(UnaryOperator<zn<B, T>> arg0)
recursive(UnaryOperator<StreamCodec<B, T>> arg0)
method_58024(UnaryOperator<class_9139<B, T>> arg0)
m_ufniiqur(UnaryOperator<C_qsrmwluu<B, T>> arg0)
recursive(UnaryOperator<PacketCodec<B, T>> codecGetter)
recursive(UnaryOperator<PacketCodec<B, T>> codecGetter)
m_320869_(UnaryOperator<C_313866_<B, T>> p_336362_)
default <S extends B> StreamCodec<S, V>
a()
cast()
method_56430()
m_yeusexqs()
cast()
cast()
m_324025_()