Interface KubeJSStreamCodecs


public interface KubeJSStreamCodecs
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,Duration>
     
    static final net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,net.minecraft.util.valueproviders.IntProvider>
     
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,com.google.gson.JsonElement>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,net.minecraft.resources.ResourceLocation>
     
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <B, C, T1, T2, T3, T4, T5, T6, T7, T8>
    net.minecraft.network.codec.StreamCodec<B,C>
    composite(net.minecraft.network.codec.StreamCodec<? super B,T1> codec1, Function<C,T1> getter1, net.minecraft.network.codec.StreamCodec<? super B,T2> codec2, Function<C,T2> getter2, net.minecraft.network.codec.StreamCodec<? super B,T3> codec3, Function<C,T3> getter3, net.minecraft.network.codec.StreamCodec<? super B,T4> codec4, Function<C,T4> getter4, net.minecraft.network.codec.StreamCodec<? super B,T5> codec5, Function<C,T5> getter5, net.minecraft.network.codec.StreamCodec<? super B,T6> codec6, Function<C,T6> getter6, net.minecraft.network.codec.StreamCodec<? super B,T7> codec7, Function<C,T7> getter7, net.minecraft.network.codec.StreamCodec<? super B,T8> codec8, Function<C,T8> getter8, com.mojang.datafixers.util.Function8<T1,T2,T3,T4,T5,T6,T7,T8,C> func)
     
    static <B, C, T1, T2, T3, T4, T5, T6, T7, T8, T9>
    net.minecraft.network.codec.StreamCodec<B,C>
    composite(net.minecraft.network.codec.StreamCodec<? super B,T1> codec1, Function<C,T1> getter1, net.minecraft.network.codec.StreamCodec<? super B,T2> codec2, Function<C,T2> getter2, net.minecraft.network.codec.StreamCodec<? super B,T3> codec3, Function<C,T3> getter3, net.minecraft.network.codec.StreamCodec<? super B,T4> codec4, Function<C,T4> getter4, net.minecraft.network.codec.StreamCodec<? super B,T5> codec5, Function<C,T5> getter5, net.minecraft.network.codec.StreamCodec<? super B,T6> codec6, Function<C,T6> getter6, net.minecraft.network.codec.StreamCodec<? super B,T7> codec7, Function<C,T7> getter7, net.minecraft.network.codec.StreamCodec<? super B,T8> codec8, Function<C,T8> getter8, net.minecraft.network.codec.StreamCodec<? super B,T9> codec9, Function<C,T9> getter9, com.mojang.datafixers.util.Function9<T1,T2,T3,T4,T5,T6,T7,T8,T9,C> func)
     
  • Field Details

    • INT_PROVIDER

      static final net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,net.minecraft.util.valueproviders.IntProvider> INT_PROVIDER
    • KUBEJS_ID

      static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,net.minecraft.resources.ResourceLocation> KUBEJS_ID
    • JSON_ELEMENT

      static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,com.google.gson.JsonElement> JSON_ELEMENT
    • DURATION

      static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,Duration> DURATION
  • Method Details

    • composite

      static <B, C, T1, T2, T3, T4, T5, T6, T7, T8> net.minecraft.network.codec.StreamCodec<B,C> composite(net.minecraft.network.codec.StreamCodec<? super B,T1> codec1, Function<C,T1> getter1, net.minecraft.network.codec.StreamCodec<? super B,T2> codec2, Function<C,T2> getter2, net.minecraft.network.codec.StreamCodec<? super B,T3> codec3, Function<C,T3> getter3, net.minecraft.network.codec.StreamCodec<? super B,T4> codec4, Function<C,T4> getter4, net.minecraft.network.codec.StreamCodec<? super B,T5> codec5, Function<C,T5> getter5, net.minecraft.network.codec.StreamCodec<? super B,T6> codec6, Function<C,T6> getter6, net.minecraft.network.codec.StreamCodec<? super B,T7> codec7, Function<C,T7> getter7, net.minecraft.network.codec.StreamCodec<? super B,T8> codec8, Function<C,T8> getter8, com.mojang.datafixers.util.Function8<T1,T2,T3,T4,T5,T6,T7,T8,C> func)
    • composite

      static <B, C, T1, T2, T3, T4, T5, T6, T7, T8, T9> net.minecraft.network.codec.StreamCodec<B,C> composite(net.minecraft.network.codec.StreamCodec<? super B,T1> codec1, Function<C,T1> getter1, net.minecraft.network.codec.StreamCodec<? super B,T2> codec2, Function<C,T2> getter2, net.minecraft.network.codec.StreamCodec<? super B,T3> codec3, Function<C,T3> getter3, net.minecraft.network.codec.StreamCodec<? super B,T4> codec4, Function<C,T4> getter4, net.minecraft.network.codec.StreamCodec<? super B,T5> codec5, Function<C,T5> getter5, net.minecraft.network.codec.StreamCodec<? super B,T6> codec6, Function<C,T6> getter6, net.minecraft.network.codec.StreamCodec<? super B,T7> codec7, Function<C,T7> getter7, net.minecraft.network.codec.StreamCodec<? super B,T8> codec8, Function<C,T8> getter8, net.minecraft.network.codec.StreamCodec<? super B,T9> codec9, Function<C,T9> getter9, com.mojang.datafixers.util.Function9<T1,T2,T3,T4,T5,T6,T7,T8,T9,C> func)