类 AbstractCookingRecipe
- java.lang.Object
-
- net.minecraft.recipe.AbstractCookingRecipe
-
-
字段概要
字段 修饰符和类型 字段 说明 protected intcookTimeprotected floatexperienceprotected Stringgroupprotected Identifieridprotected Ingredientinputprotected ItemStackoutputprotected RecipeType<?>type
-
构造器概要
构造器 构造器 说明 AbstractCookingRecipe(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ItemStackcraft(Inventory inv)booleanfits(int width, int height)intgetCookTime()floatgetExperience()StringgetGroup()IdentifiergetId()ItemStackgetOutput()DefaultedList<Ingredient>getPreviewInputs()RecipeType<?>getType()booleanmatches(Inventory inv, World world)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.recipe.Recipe
getRecipeKindIcon, getRemainingStacks, getSerializer, isEmpty, isIgnoredInRecipeBook
-
-
-
-
字段详细资料
-
type
protected final RecipeType<?> type
- Mappings:
Namespace Name Mixin selector official aLbrv;a:Lbsm;intermediary field_17544Lnet/minecraft/class_1874;field_17544:Lnet/minecraft/class_3956;named typeLnet/minecraft/recipe/AbstractCookingRecipe;type:Lnet/minecraft/recipe/RecipeType;
-
id
protected final Identifier id
- Mappings:
Namespace Name Mixin selector official bLbrv;b:Lwp;intermediary field_9060Lnet/minecraft/class_1874;field_9060:Lnet/minecraft/class_2960;named idLnet/minecraft/recipe/AbstractCookingRecipe;id:Lnet/minecraft/util/Identifier;
-
group
protected final String group
- Mappings:
Namespace Name Mixin selector official cLbrv;c:Ljava/lang/String;intermediary field_9062Lnet/minecraft/class_1874;field_9062:Ljava/lang/String;named groupLnet/minecraft/recipe/AbstractCookingRecipe;group:Ljava/lang/String;
-
input
protected final Ingredient input
- Mappings:
Namespace Name Mixin selector official dLbrv;d:Lbsg;intermediary field_9061Lnet/minecraft/class_1874;field_9061:Lnet/minecraft/class_1856;named inputLnet/minecraft/recipe/AbstractCookingRecipe;input:Lnet/minecraft/recipe/Ingredient;
-
output
protected final ItemStack output
- Mappings:
Namespace Name Mixin selector official eLbrv;e:Lbpr;intermediary field_9059Lnet/minecraft/class_1874;field_9059:Lnet/minecraft/class_1799;named outputLnet/minecraft/recipe/AbstractCookingRecipe;output:Lnet/minecraft/item/ItemStack;
-
experience
protected final float experience
- Mappings:
Namespace Name Mixin selector official fLbrv;f:Fintermediary field_9057Lnet/minecraft/class_1874;field_9057:Fnamed experienceLnet/minecraft/recipe/AbstractCookingRecipe;experience:F
-
cookTime
protected final int cookTime
- Mappings:
Namespace Name Mixin selector official gLbrv;g:Iintermediary field_9058Lnet/minecraft/class_1874;field_9058:Inamed cookTimeLnet/minecraft/recipe/AbstractCookingRecipe;cookTime:I
-
-
构造器详细资料
-
AbstractCookingRecipe
public AbstractCookingRecipe(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)
- Mappings:
Namespace Name Mixin selector official <init>Lbrv;<init>(Lbsm;Lwp;Ljava/lang/String;Lbsg;Lbpr;FI)Vintermediary <init>Lnet/minecraft/class_1874;<init>(Lnet/minecraft/class_3956;Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;FI)Vnamed <init>Lnet/minecraft/recipe/AbstractCookingRecipe;<init>(Lnet/minecraft/recipe/RecipeType;Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;FI)V
-
-
方法详细资料
-
matches
public boolean matches(Inventory inv, World world)
- 指定者:
matches在接口中Recipe<Inventory>- Mappings:
Namespace Name Mixin selector official aLbsj;a(Laqz;Lbvr;)Zintermediary method_8115Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Znamed matchesLnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Z
-
craft
public ItemStack craft(Inventory inv)
- 指定者:
craft在接口中Recipe<Inventory>- Mappings:
Namespace Name Mixin selector official aLbsj;a(Laqz;)Lbpr;intermediary method_8116Lnet/minecraft/class_1860;method_8116(Lnet/minecraft/class_1263;)Lnet/minecraft/class_1799;named craftLnet/minecraft/recipe/Recipe;craft(Lnet/minecraft/inventory/Inventory;)Lnet/minecraft/item/ItemStack;
-
fits
public boolean fits(int width, int height)
-
getPreviewInputs
public DefaultedList<Ingredient> getPreviewInputs()
- 指定者:
getPreviewInputs在接口中Recipe<Inventory>- Mappings:
Namespace Name Mixin selector official aLbsj;a()Lgn;intermediary method_8117Lnet/minecraft/class_1860;method_8117()Lnet/minecraft/class_2371;named getPreviewInputsLnet/minecraft/recipe/Recipe;getPreviewInputs()Lnet/minecraft/util/collection/DefaultedList;
-
getExperience
public float getExperience()
- Mappings:
Namespace Name Mixin selector official bLbrv;b()Fintermediary method_8171Lnet/minecraft/class_1874;method_8171()Fnamed getExperienceLnet/minecraft/recipe/AbstractCookingRecipe;getExperience()F
-
getOutput
public ItemStack getOutput()
-
getGroup
public String getGroup()
-
getCookTime
public int getCookTime()
- Mappings:
Namespace Name Mixin selector official eLbrv;e()Iintermediary method_8167Lnet/minecraft/class_1874;method_8167()Inamed getCookTimeLnet/minecraft/recipe/AbstractCookingRecipe;getCookTime()I
-
getId
public Identifier getId()
-
getType
public RecipeType<?> getType()
-
-