net.minecraft.inventory

public class CraftingResultInventory

implements Inventory, RecipeUnlocker

net.minecraft.world.inventory.ResultContainer
net.minecraft.class_1731
net.minecraft.inventory.CraftingResultInventory

Field summary

Modifier and TypeField
private final DefaultedList<ItemStack>
itemStacks
field_7866
stacks
private RecipeEntry<?>
recipeUsed
field_7865
lastRecipe

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public int
getContainerSize()
method_5439()
size()
public boolean
isEmpty()
method_5442()
isEmpty()
public ItemStack
getItem(int slot)
method_5438(int arg0)
getStack(int arg0)
public ItemStack
removeItem(int slot, int count)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
public ItemStack
removeItemNoUpdate(int slot)
method_5441(int arg0)
removeStack(int arg0)
public void
setItem(int slot, ItemStack itemStack)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
public void
setChanged()
method_5431()
markDirty()
public boolean
stillValid(Player player)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
public void
clearContent()
method_5448()
clear()
public void
setRecipeUsed(RecipeHolder<?> recipeUsed)
method_7662(class_8786<?> arg0)
setLastRecipe(RecipeEntry<?> arg0)
public RecipeEntry<?>
getRecipeUsed()
method_7663()
getLastRecipe()