类 CraftingInput
java.lang.Object
net.minecraft.world.item.crafting.CraftingInput
- 所有已实现的接口:
RecipeInput
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明static final CraftingInput
private final int
private final int
private final StackedItemContents
private final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
getItem
(int p_345667_) getItem
(int p_346237_, int p_345556_) int
hashCode()
int
height()
int
boolean
isEmpty()
items()
static CraftingInput
static CraftingInput.Positioned
ofPositioned
(int p_347479_, int p_347466_, List<ItemStack> p_347585_) int
size()
int
width()
-
字段详细资料
-
EMPTY
-
width
private final int width -
height
private final int height -
items
-
stackedContents
-
ingredientCount
private final int ingredientCount
-
-
构造器详细资料
-
CraftingInput
-
-
方法详细资料
-
of
-
ofPositioned
public static CraftingInput.Positioned ofPositioned(int p_347479_, int p_347466_, List<ItemStack> p_347585_) -
getItem
- 指定者:
getItem
在接口中RecipeInput
-
getItem
-
size
public int size()- 指定者:
size
在接口中RecipeInput
-
isEmpty
public boolean isEmpty()- 指定者:
isEmpty
在接口中RecipeInput
-
stackedContents
-
items
-
ingredientCount
public int ingredientCount() -
width
public int width() -
height
public int height() -
equals
-
hashCode
public int hashCode()
-