类 ResultContainer
java.lang.Object
net.minecraft.world.inventory.ResultContainer
- 所有已实现的接口:
Clearable
,Container
,RecipeHolder
-
字段概要
字段从接口继承的字段 net.minecraft.world.Container
DEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
int
getItem
(int pIndex) Recipe<?>
boolean
isEmpty()
removeItem
(int pIndex, int pCount) removeItemNoUpdate
(int pIndex) void
void
void
setRecipeUsed
(Recipe<?> pRecipe) boolean
stillValid
(Player pPlayer) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpen
从接口继承的方法 net.minecraft.world.inventory.RecipeHolder
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
在接口中RecipeHolder
-
getRecipeUsed
- 指定者:
getRecipeUsed
在接口中RecipeHolder
-