Package net.minecraft.inventory
Class CraftResultInventory
java.lang.Object
net.minecraft.inventory.CraftResultInventory
- All Implemented Interfaces:
IClearable
,IInventory
,IRecipeHolder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getItem
(int p_70301_1_) IRecipe<?>
boolean
isEmpty()
removeItem
(int p_70298_1_, int p_70298_2_) removeItemNoUpdate
(int p_70304_1_) void
void
void
setRecipeUsed
(IRecipe<?> p_193056_1_) boolean
stillValid
(PlayerEntity p_70300_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.IInventory
canPlaceItem, countItem, getMaxStackSize, hasAnyOf, startOpen, stopOpen
Methods inherited from interface net.minecraft.inventory.IRecipeHolder
awardUsedRecipes, setRecipeUsed
-
Field Details
-
itemStacks
-
recipeUsed
-
-
Constructor Details
-
CraftResultInventory
public CraftResultInventory()
-
-
Method Details
-
getContainerSize
public int getContainerSize()- Specified by:
getContainerSize
in interfaceIInventory
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceIInventory
-
getItem
- Specified by:
getItem
in interfaceIInventory
-
removeItem
- Specified by:
removeItem
in interfaceIInventory
-
removeItemNoUpdate
- Specified by:
removeItemNoUpdate
in interfaceIInventory
-
setItem
- Specified by:
setItem
in interfaceIInventory
-
setChanged
public void setChanged()- Specified by:
setChanged
in interfaceIInventory
-
stillValid
- Specified by:
stillValid
in interfaceIInventory
-
clearContent
public void clearContent()- Specified by:
clearContent
in interfaceIClearable
-
setRecipeUsed
- Specified by:
setRecipeUsed
in interfaceIRecipeHolder
-
getRecipeUsed
- Specified by:
getRecipeUsed
in interfaceIRecipeHolder
-