类 SpecialRecipeSerializer<T extends Recipe<?>>
- java.lang.Object
-
- net.minecraft.recipe.SpecialRecipeSerializer<T>
-
- 所有已实现的接口:
RecipeSerializer<T>
public class SpecialRecipeSerializer<T extends Recipe<?>> extends Object implements RecipeSerializer<T>
- Mappings:
Namespace Name official bstintermediary net/minecraft/class_1866named net/minecraft/recipe/SpecialRecipeSerializer
-
-
字段概要
字段 修饰符和类型 字段 说明 private Function<Identifier,T>id-
从接口继承的字段 net.minecraft.recipe.RecipeSerializer
ARMOR_DYE, BANNER_DUPLICATE, BLASTING, BOOK_CLONING, CAMPFIRE_COOKING, FIREWORK_ROCKET, FIREWORK_STAR, FIREWORK_STAR_FADE, MAP_CLONING, MAP_EXTENDING, REPAIR_ITEM, SHAPED, SHAPELESS, SHIELD_DECORATION, SHULKER_BOX, SMELTING, SMITHING, SMOKING, STONECUTTING, SUSPICIOUS_STEW, TIPPED_ARROW
-
-
构造器概要
构造器 构造器 说明 SpecialRecipeSerializer(Function<Identifier,T> id)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Tread(Identifier id, JsonObject json)Tread(Identifier id, PacketByteBuf buf)voidwrite(PacketByteBuf buf, T recipe)
-
-
-
字段详细资料
-
id
private final Function<Identifier,T extends Recipe<?>> id
- Mappings:
Namespace Name Mixin selector official vLbst;v:Ljava/util/function/Function;intermediary field_9046Lnet/minecraft/class_1866;field_9046:Ljava/util/function/Function;named idLnet/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;)Vintermediary <init>Lnet/minecraft/class_1866;<init>(Ljava/util/function/Function;)Vnamed <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 aLbsl;a(Lwp;Lcom/google/gson/JsonObject;)Lbsj;intermediary method_8121Lnet/minecraft/class_1865;method_8121(Lnet/minecraft/class_2960;Lcom/google/gson/JsonObject;)Lnet/minecraft/class_1860;named readLnet/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 aLbsl;a(Lwp;Lob;)Lbsj;intermediary method_8122Lnet/minecraft/class_1865;method_8122(Lnet/minecraft/class_2960;Lnet/minecraft/class_2540;)Lnet/minecraft/class_1860;named readLnet/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 aLbsl;a(Lob;Lbsj;)Vintermediary method_8124Lnet/minecraft/class_1865;method_8124(Lnet/minecraft/class_2540;Lnet/minecraft/class_1860;)Vnamed writeLnet/minecraft/recipe/RecipeSerializer;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/recipe/Recipe;)V
-
-