类 SpecialRecipeSerializer<T extends Recipe<?>>

  • 所有已实现的接口:
    RecipeSerializer<T>

    public class SpecialRecipeSerializer<T extends Recipe<?>>
    extends Object
    implements RecipeSerializer<T>
    Mappings:
    Namespace Name
    official bst
    intermediary net/minecraft/class_1866
    named net/minecraft/recipe/SpecialRecipeSerializer
    • 字段详细资料

      • id

        private final Function<Identifier,​T extends Recipe<?>> id
        Mappings:
        Namespace Name Mixin selector
        official v Lbst;v:Ljava/util/function/Function;
        intermediary field_9046 Lnet/minecraft/class_1866;field_9046:Ljava/util/function/Function;
        named id Lnet/minecraft/recipe/SpecialRecipeSerializer;id:Ljava/util/function/Function;
    • 构造器详细资料

      • SpecialRecipeSerializer

        public SpecialRecipeSerializer​(Function<Identifier,​T> id)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbst;<init>(Ljava/util/function/Function;)V
        intermediary <init> Lnet/minecraft/class_1866;<init>(Ljava/util/function/Function;)V
        named <init> Lnet/minecraft/recipe/SpecialRecipeSerializer;<init>(Ljava/util/function/Function;)V
    • 方法详细资料

      • read

        public T read​(Identifier id,
                      JsonObject json)
        指定者:
        read 在接口中 RecipeSerializer<T extends Recipe<?>>
        Mappings:
        Namespace Name Mixin selector
        official a Lbsl;a(Lwp;Lcom/google/gson/JsonObject;)Lbsj;
        intermediary method_8121 Lnet/minecraft/class_1865;method_8121(Lnet/minecraft/class_2960;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1860;
        named read Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lcom/google/gson/JsonObject;)Lnet/minecraft/recipe/Recipe;
      • read

        public T read​(Identifier id,
                      PacketByteBuf buf)
        指定者:
        read 在接口中 RecipeSerializer<T extends Recipe<?>>
        Mappings:
        Namespace Name Mixin selector
        official a Lbsl;a(Lwp;Lob;)Lbsj;
        intermediary method_8122 Lnet/minecraft/class_1865;method_8122(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;
        named read Lnet/minecraft/recipe/RecipeSerializer;read(Lnet/minecraft/util/Identifier;Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/recipe/Recipe;
      • write

        public void write​(PacketByteBuf buf,
                          T recipe)
        指定者:
        write 在接口中 RecipeSerializer<T extends Recipe<?>>
        Mappings:
        Namespace Name Mixin selector
        official a Lbsl;a(Lob;Lbsj;)V
        intermediary method_8124 Lnet/minecraft/class_1865;method_8124(Lnet/minecraft/class_2540;Lnet/minecraft/class_1860;)V
        named write Lnet/minecraft/recipe/RecipeSerializer;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/Recipe;)V