Uses of Interface
net.minecraft.network.codec.StreamCodec.CodecOperation
Packages that use StreamCodec.CodecOperation
-
Uses of StreamCodec.CodecOperation in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return StreamCodec.CodecOperationModifier and TypeMethodDescriptionstatic <B extends io.netty.buffer.ByteBuf,V, C extends Collection<V>>
StreamCodec.CodecOperation<B, V, C> ByteBufCodecs.collection(IntFunction<C> pFactory) static <T,B extends io.netty.buffer.ByteBuf, V>
StreamCodec.CodecOperation<B, T, V> ByteBufCodecs.fromCodec(com.mojang.serialization.DynamicOps<T> pOps, com.mojang.serialization.Codec<V> pCodec) static <V> StreamCodec.CodecOperation<io.netty.buffer.ByteBuf, V, V> ByteBufCodecs.lengthPrefixed(int pLength) static <B extends io.netty.buffer.ByteBuf,V>
StreamCodec.CodecOperation<B, V, V> ByteBufCodecs.lengthPrefixed(int pMaxLength, BiFunction<B, io.netty.buffer.ByteBuf, B> pFunction) static <B extends io.netty.buffer.ByteBuf,V>
StreamCodec.CodecOperation<B, V, List<V>> ByteBufCodecs.list()static <B extends io.netty.buffer.ByteBuf,V>
StreamCodec.CodecOperation<B, V, List<V>> ByteBufCodecs.list(int pMaxSize) static <V> StreamCodec.CodecOperation<RegistryFriendlyByteBuf, V, V> ByteBufCodecs.registryFriendlyLengthPrefixed(int pLength) Methods in net.minecraft.network.codec with parameters of type StreamCodec.CodecOperationModifier and TypeMethodDescriptiondefault <O> StreamCodec<B, O> StreamCodec.apply(StreamCodec.CodecOperation<B, V, O> pOperation)