类 ShapelessRecipe
- java.lang.Object
-
- net.minecraft.recipe.ShapelessRecipe
-
- 所有已实现的接口:
CraftingRecipe,Recipe<CraftingInventory>
public class ShapelessRecipe extends Object implements CraftingRecipe
- Mappings:
Namespace Name official bspintermediary net/minecraft/class_1867named net/minecraft/recipe/ShapelessRecipe
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classShapelessRecipe.Serializer
-
字段概要
字段 修饰符和类型 字段 说明 private Stringgroupprivate Identifieridprivate DefaultedList<Ingredient>inputprivate ItemStackoutput
-
构造器概要
构造器 构造器 说明 ShapelessRecipe(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ItemStackcraft(CraftingInventory craftingInventory)booleanfits(int width, int height)StringgetGroup()IdentifiergetId()ItemStackgetOutput()DefaultedList<Ingredient>getPreviewInputs()RecipeSerializer<?>getSerializer()booleanmatches(CraftingInventory craftingInventory, World world)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.recipe.CraftingRecipe
getType
-
从接口继承的方法 net.minecraft.recipe.Recipe
getRecipeKindIcon, getRemainingStacks, isEmpty, isIgnoredInRecipeBook
-
-
-
-
字段详细资料
-
id
private final Identifier id
- Mappings:
Namespace Name Mixin selector official aLbsp;a:Lwp;intermediary field_9048Lnet/minecraft/class_1867;field_9048:Lnet/minecraft/class_2960;named idLnet/minecraft/recipe/ShapelessRecipe;id:Lnet/minecraft/util/Identifier;
-
group
private final String group
- Mappings:
Namespace Name Mixin selector official bLbsp;b:Ljava/lang/String;intermediary field_9049Lnet/minecraft/class_1867;field_9049:Ljava/lang/String;named groupLnet/minecraft/recipe/ShapelessRecipe;group:Ljava/lang/String;
-
output
private final ItemStack output
- Mappings:
Namespace Name Mixin selector official cLbsp;c:Lbpr;intermediary field_9050Lnet/minecraft/class_1867;field_9050:Lnet/minecraft/class_1799;named outputLnet/minecraft/recipe/ShapelessRecipe;output:Lnet/minecraft/item/ItemStack;
-
input
private final DefaultedList<Ingredient> input
- Mappings:
Namespace Name Mixin selector official dLbsp;d:Lgn;intermediary field_9047Lnet/minecraft/class_1867;field_9047:Lnet/minecraft/class_2371;named inputLnet/minecraft/recipe/ShapelessRecipe;input:Lnet/minecraft/util/collection/DefaultedList;
-
-
构造器详细资料
-
ShapelessRecipe
public ShapelessRecipe(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input)
- Mappings:
Namespace Name Mixin selector official <init>Lbsp;<init>(Lwp;Ljava/lang/String;Lbpr;Lgn;)Vintermediary <init>Lnet/minecraft/class_1867;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1799;Lnet/minecraft/class_2371;)Vnamed <init>Lnet/minecraft/recipe/ShapelessRecipe;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/collection/DefaultedList;)V
-
-
方法详细资料
-
getId
public Identifier getId()
- 指定者:
getId在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official fLbsj;f()Lwp;intermediary method_8114Lnet/minecraft/class_1860;method_8114()Lnet/minecraft/class_2960;named getIdLnet/minecraft/recipe/Recipe;getId()Lnet/minecraft/util/Identifier;
-
getSerializer
public RecipeSerializer<?> getSerializer()
- 指定者:
getSerializer在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official aj_Lbsj;aj_()Lbsl;intermediary method_8119Lnet/minecraft/class_1860;method_8119()Lnet/minecraft/class_1865;named getSerializerLnet/minecraft/recipe/Recipe;getSerializer()Lnet/minecraft/recipe/RecipeSerializer;
-
getGroup
public String getGroup()
- 指定者:
getGroup在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official dLbsj;d()Ljava/lang/String;intermediary method_8112Lnet/minecraft/class_1860;method_8112()Ljava/lang/String;named getGroupLnet/minecraft/recipe/Recipe;getGroup()Ljava/lang/String;
-
getOutput
public ItemStack getOutput()
- 指定者:
getOutput在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official cLbsj;c()Lbpr;intermediary method_8110Lnet/minecraft/class_1860;method_8110()Lnet/minecraft/class_1799;named getOutputLnet/minecraft/recipe/Recipe;getOutput()Lnet/minecraft/item/ItemStack;
-
getPreviewInputs
public DefaultedList<Ingredient> getPreviewInputs()
- 指定者:
getPreviewInputs在接口中Recipe<CraftingInventory>- 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;
-
matches
public boolean matches(CraftingInventory craftingInventory, World world)
- 指定者:
matches在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official aLbsp;a(Lblz;Lbvr;)Zintermediary method_17730Lnet/minecraft/class_1867;method_17730(Lnet/minecraft/class_1715;Lnet/minecraft/class_1937;)Znamed matchesLnet/minecraft/recipe/ShapelessRecipe;matches(Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/world/World;)Z
-
craft
public ItemStack craft(CraftingInventory craftingInventory)
- 指定者:
craft在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official aLbsp;a(Lblz;)Lbpr;intermediary method_17729Lnet/minecraft/class_1867;method_17729(Lnet/minecraft/class_1715;)Lnet/minecraft/class_1799;named craftLnet/minecraft/recipe/ShapelessRecipe;craft(Lnet/minecraft/inventory/CraftingInventory;)Lnet/minecraft/item/ItemStack;
-
fits
public boolean fits(int width, int height)- 指定者:
fits在接口中Recipe<CraftingInventory>- Mappings:
Namespace Name Mixin selector official aLbsj;a(II)Zintermediary method_8113Lnet/minecraft/class_1860;method_8113(II)Znamed fitsLnet/minecraft/recipe/Recipe;fits(II)Z
-
-