Package net.minecraft.world.inventory
Class ResultContainer
java.lang.Object
net.minecraft.world.inventory.ResultContainer
- All Implemented Interfaces:
- Clearable,- Container,- RecipeCraftingHolder
- 
Field SummaryFieldsFields inherited from interface net.minecraft.world.ContainerDEFAULT_DISTANCE_LIMIT, LARGE_MAX_STACK_SIZE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidintgetItem(int p_40147_) RecipeHolder<?>booleanisEmpty()removeItem(int p_40149_, int p_40150_) removeItemNoUpdate(int p_40160_) voidvoidvoidsetRecipeUsed(RecipeHolder<?> p_301012_) booleanstillValid(Player p_40155_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.ContainercanPlaceItem, canTakeItem, countItem, getMaxStackSize, hasAnyMatching, hasAnyOf, startOpen, stopOpenMethods inherited from interface net.minecraft.world.inventory.RecipeCraftingHolderawardUsedRecipes, setRecipeUsed
- 
Field Details- 
itemStacks
- 
recipeUsed
 
- 
- 
Constructor Details- 
ResultContainerpublic ResultContainer()
 
- 
- 
Method Details- 
getContainerSizepublic int getContainerSize()- Specified by:
- getContainerSizein interface- Container
 
- 
isEmptypublic boolean isEmpty()
- 
getItem
- 
removeItem- Specified by:
- removeItemin interface- Container
 
- 
removeItemNoUpdate- Specified by:
- removeItemNoUpdatein interface- Container
 
- 
setItem
- 
setChangedpublic void setChanged()- Specified by:
- setChangedin interface- Container
 
- 
stillValid- Specified by:
- stillValidin interface- Container
 
- 
clearContentpublic void clearContent()- Specified by:
- clearContentin interface- Clearable
 
- 
setRecipeUsed- Specified by:
- setRecipeUsedin interface- RecipeCraftingHolder
 
- 
getRecipeUsed- Specified by:
- getRecipeUsedin interface- RecipeCraftingHolder
 
 
-