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> constructor) static <T, B extends io.netty.buffer.ByteBuf, V>
StreamCodec.CodecOperation<B, T, V> ByteBufCodecs.fromCodec(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.Codec<V> codec) static <V> StreamCodec.CodecOperation<io.netty.buffer.ByteBuf, V, V> ByteBufCodecs.lengthPrefixed(int maxSize) static <B extends io.netty.buffer.ByteBuf, V>
StreamCodec.CodecOperation<B, V, V> ByteBufCodecs.lengthPrefixed(int maxSize, BiFunction<B, io.netty.buffer.ByteBuf, B> decorator) 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 maxSize) static <V> StreamCodec.CodecOperation<RegistryFriendlyByteBuf, V, V> ByteBufCodecs.registryFriendlyLengthPrefixed(int maxSize) 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> operation)