| static PacketCodec<io.netty.buffer.ByteBuf, byte[]> | | byteArray(int maxSize) | | byteArray(int maxSize) | | method_56895(int arg0) | | byteArray(int maxLength) |
|
| static PacketCodec<io.netty.buffer.ByteBuf, String> | | stringUtf8(int maxStringLength) | | stringUtf8(int maxStringLength) | | method_56364(int arg0) | | string(int maxLength) |
|
| static PacketCodec<io.netty.buffer.ByteBuf, Optional<NbtElement>> | |
| static PacketCodec<io.netty.buffer.ByteBuf, NbtElement> | |
| static PacketCodec<io.netty.buffer.ByteBuf, NbtCompound> | |
| static <T> PacketCodec<io.netty.buffer.ByteBuf, T> | | fromCodecTrusted(com.mojang.serialization.Codec<T> codec) | | fromCodecTrusted(com.mojang.serialization.Codec<T> codec) | | method_57987(com.mojang.serialization.Codec<T> arg0) | | unlimitedCodec(com.mojang.serialization.Codec<T> codec) |
|
| static <T> PacketCodec<io.netty.buffer.ByteBuf, T> | | fromCodec(com.mojang.serialization.Codec<T> codec) | | fromCodec(com.mojang.serialization.Codec<T> codec) | | method_56368(com.mojang.serialization.Codec<T> arg0) | | codec(com.mojang.serialization.Codec<T> codec) |
|
| static <T, B extends io.netty.buffer.ByteBuf, V> PacketCodec$ResultFunction<B, T, V> | | fromCodec(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.Codec<V> codec) | | fromCodec(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.Codec<V> codec) | | method_71571(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.Codec<V> arg1) | | fromCodec(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.Codec<V> codec) |
|
| static <T> PacketCodec<io.netty.buffer.ByteBuf, T> | |
| static <T> PacketCodec<RegistryByteBuf, T> | | fromCodecWithRegistriesTrusted(com.mojang.serialization.Codec<T> codec) | | fromCodecWithRegistriesTrusted(com.mojang.serialization.Codec<T> codec) | | method_58002(com.mojang.serialization.Codec<T> arg0) | | unlimitedRegistryCodec(com.mojang.serialization.Codec<T> codec) |
|
| static <T> PacketCodec<RegistryByteBuf, T> | | fromCodecWithRegistries(com.mojang.serialization.Codec<T> codec) | | fromCodecWithRegistries(com.mojang.serialization.Codec<T> codec) | | method_56896(com.mojang.serialization.Codec<T> arg0) | | registryCodec(com.mojang.serialization.Codec<T> codec) |
|
| static <T> PacketCodec<RegistryByteBuf, T> | |
| static <B extends io.netty.buffer.ByteBuf, V> PacketCodec<B, Optional<V>> | |
| static int | | readCount(io.netty.buffer.ByteBuf input, int maxSize) | | readCount(io.netty.buffer.ByteBuf input, int maxSize) | | method_57989(io.netty.buffer.ByteBuf arg0, int arg1) | | readCollectionSize(io.netty.buffer.ByteBuf buf, int maxSize) |
|
| static void | | writeCount(io.netty.buffer.ByteBuf output, int count, int maxSize) | | writeCount(io.netty.buffer.ByteBuf output, int count, int maxSize) | | method_57990(io.netty.buffer.ByteBuf arg0, int arg1, int arg2) | | writeCollectionSize(io.netty.buffer.ByteBuf buf, int size, int maxSize) |
|
| static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>> PacketCodec<B, C> | |
| static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>> PacketCodec<B, C> | | collection(IntFunction<C> constructor, StreamCodec<? super B, V> elementCodec, int maxSize) | | collection(IntFunction<C> constructor, StreamCodec<? super B, V> elementCodec, int maxSize) | | method_57991(IntFunction<C> arg0, class_9139<? super B, V> arg1, int arg2) | | collection(IntFunction<C> factory, PacketCodec<? super B, V> elementCodec, int maxSize) |
|
| static <B extends io.netty.buffer.ByteBuf, V, C extends Collection<V>> PacketCodec$ResultFunction<B, V, C> | |
| static <B extends io.netty.buffer.ByteBuf, V> PacketCodec$ResultFunction<B, V, List<V>> | | list() | | list() | | method_56363() | | toList() |
|
| static <B extends io.netty.buffer.ByteBuf, V> PacketCodec$ResultFunction<B, V, List<V>> | | list(int maxSize) | | list(int maxSize) | | method_58000(int arg0) | | toList(int maxLength) |
|
| static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K, V>> PacketCodec<B, M> | | map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec) | | map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec) | | method_56377(IntFunction<? extends M> arg0, class_9139<? super B, K> arg1, class_9139<? super B, V> arg2) | | map(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec) |
|
| static <B extends io.netty.buffer.ByteBuf, K, V, M extends Map<K, V>> PacketCodec<B, M> | | map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec, int maxSize) | | map(IntFunction<? extends M> constructor, StreamCodec<? super B, K> keyCodec, StreamCodec<? super B, V> valueCodec, int maxSize) | | method_57992(IntFunction<? extends M> arg0, class_9139<? super B, K> arg1, class_9139<? super B, V> arg2, int arg3) | | map(IntFunction<? extends M> factory, PacketCodec<? super B, K> keyCodec, PacketCodec<? super B, V> valueCodec, int maxSize) |
|
| static <B extends io.netty.buffer.ByteBuf, L, R> PacketCodec<B, com.mojang.datafixers.util.Either<L, R>> | | either(StreamCodec<? super B, L> leftCodec, StreamCodec<? super B, R> rightCodec) | | either(StreamCodec<? super B, L> leftCodec, StreamCodec<? super B, R> rightCodec) | | method_57995(class_9139<? super B, L> arg0, class_9139<? super B, R> arg1) | | either(PacketCodec<? super B, L> left, PacketCodec<? super B, R> right) |
|
| static <B extends io.netty.buffer.ByteBuf, V> PacketCodec$ResultFunction<B, V, V> | | lengthPrefixed(int maxSize, BiFunction<B, io.netty.buffer.ByteBuf, B> decorator) | | lengthPrefixed(int maxSize, BiFunction<B, io.netty.buffer.ByteBuf, B> decorator) | | method_68861(int arg0, BiFunction<B, io.netty.buffer.ByteBuf, B> arg1) | | lengthPrepended(int maxSize, BiFunction<B, io.netty.buffer.ByteBuf, B> bufWrapper) |
|
| static <V> PacketCodec$ResultFunction<io.netty.buffer.ByteBuf, V, V> | | lengthPrefixed(int maxSize) | | lengthPrefixed(int maxSize) | | method_68864(int arg0) | | lengthPrepended(int maxSize) |
|
| static <V> PacketCodec$ResultFunction<RegistryByteBuf, V, V> | | registryFriendlyLengthPrefixed(int maxSize) | | registryFriendlyLengthPrefixed(int maxSize) | | method_72187(int arg0) | | lengthPrependedRegistry(int maxSize) |
|
| static <T> PacketCodec<io.netty.buffer.ByteBuf, T> | |
| static <T> PacketCodec<io.netty.buffer.ByteBuf, T> | |
| private static <T, R> PacketCodec<RegistryByteBuf, R> | |
| static <T> PacketCodec<RegistryByteBuf, T> | |
| static <T> PacketCodec<RegistryByteBuf, RegistryEntry<T>> | |
| static <T> PacketCodec<RegistryByteBuf, RegistryEntry<T>> | |
| static <T> PacketCodec<RegistryByteBuf, RegistryEntryList<T>> | |
| static PacketCodec<io.netty.buffer.ByteBuf, com.google.gson.JsonElement> | | lenientJson(int maxStringLength) | | lenientJson(int maxStringLength) | | method_71572(int arg0) | | lenientJson(int maxLength) |
|