Interface IStringSerializable

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      static <E extends java.lang.Enum<E> & IStringSerializable>
      com.mojang.serialization.Codec<E>
      fromEnum​(java.util.function.Supplier<E[]> p_233023_0_, java.util.function.Function<? super java.lang.String,​? extends E> p_233023_1_)  
      static <E extends IStringSerializable>
      com.mojang.serialization.Codec<E>
      fromStringResolver​(java.util.function.ToIntFunction<E> p_233024_0_, java.util.function.IntFunction<E> p_233024_1_, java.util.function.Function<? super java.lang.String,​? extends E> p_233024_2_)  
      java.lang.String getSerializedName()  
      static com.mojang.serialization.Keyable keys​(IStringSerializable[] p_233025_0_)  
    • Method Detail

      • getSerializedName

        java.lang.String getSerializedName()
      • fromEnum

        static <E extends java.lang.Enum<E> & IStringSerializable> com.mojang.serialization.Codec<E> fromEnum​(java.util.function.Supplier<E[]> p_233023_0_,
                                                                                                              java.util.function.Function<? super java.lang.String,​? extends E> p_233023_1_)
      • fromStringResolver

        static <E extends IStringSerializable> com.mojang.serialization.Codec<E> fromStringResolver​(java.util.function.ToIntFunction<E> p_233024_0_,
                                                                                                    java.util.function.IntFunction<E> p_233024_1_,
                                                                                                    java.util.function.Function<? super java.lang.String,​? extends E> p_233024_2_)