类 ResultContainer
java.lang.Object
net.minecraft.world.inventory.ResultContainer
- 所有已实现的接口:
Clearable
,Container
,RecipeCraftingHolder
-
字段概要
字段从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
int
getItem
(int p_40147_) RecipeHolder
<?> boolean
isEmpty()
removeItem
(int p_40149_, int p_40150_) removeItemNoUpdate
(int p_40160_) void
void
void
setRecipeUsed
(RecipeHolder<?> p_297508_) boolean
stillValid
(Player p_40155_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpen
从接口继承的方法 net.minecraft.world.inventory.RecipeCraftingHolder
awardUsedRecipes, setRecipeUsed
-
字段详细资料
-
itemStacks
-
recipeUsed
-
-
构造器详细资料
-
ResultContainer
public ResultContainer()
-
-
方法详细资料
-
getContainerSize
public int getContainerSize()- 指定者:
getContainerSize
在接口中Container
-
isEmpty
public boolean isEmpty() -
getItem
-
removeItem
- 指定者:
removeItem
在接口中Container
-
removeItemNoUpdate
- 指定者:
removeItemNoUpdate
在接口中Container
-
setItem
-
setChanged
public void setChanged()- 指定者:
setChanged
在接口中Container
-
stillValid
- 指定者:
stillValid
在接口中Container
-
clearContent
public void clearContent()- 指定者:
clearContent
在接口中Clearable
-
setRecipeUsed
- 指定者:
setRecipeUsed
在接口中RecipeCraftingHolder
-
getRecipeUsed
- 指定者:
getRecipeUsed
在接口中RecipeCraftingHolder
-