net.minecraft.world.inventory

public class CraftingContainer

implements Container, StackedContentsCompatible

bwd
net.minecraft.world.inventory.CraftingContainer
net.minecraft.class_1715
net.minecraft.inventory.CraftingInventory
net.minecraft.src.C_1251_
net.minecraft.world.inventory.InventoryCrafting

Field summary

Modifier and TypeField
private final NonNullList<ItemStack>
b
items
field_7805
stacks
f_39320_
private final int
c
width
field_7804
width
f_39321_
private final int
d
height
field_7803
height
f_39322_
private final AbstractContainerMenu
e
menu
field_7802
handler
f_39323_

Constructor summary

ModifierConstructor
public (AbstractContainerMenu handler, int width, int height)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_39335_, int arg1)
public void
a(int arg0, caa arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_39338_, C_1391_ arg1)
public void
e()
setChanged()
method_5431()
markDirty()
m_6596_()
public boolean
a(btf arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
public int
f()
getHeight()
method_17397()
getHeight()
m_39346_()
public int
g()
getWidth()
method_17398()
getWidth()
m_39347_()
public void
a(btj arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)