net.minecraft.world.inventory

public class TransientCraftingContainer

implements CraftingContainer

ckb
net.minecraft.world.inventory.TransientCraftingContainer
net.minecraft.class_1715
net.minecraft.inventory.CraftingInventory
net.minecraft.src.C_286928_
net.minecraft.world.inventory.TransientCraftingContainer

Field summary

Modifier and TypeField
private final NonNullList<ItemStack>
c
items
field_7805
stacks
f_286951_
private final int
d
width
field_7804
width
f_286956_
private final int
e
height
field_7803
height
f_286972_
private final AbstractContainerMenu
f
menu
field_7802
handler
f_286998_

Constructor summary

ModifierConstructor
public (AbstractContainerMenu handler, int width, int height)
public (AbstractContainerMenu handler, int width, int height, NonNullList<ItemStack> stacks)

Method summary

Modifier and TypeMethod
public int
b()
getContainerSize()
method_5439()
size()
m_6643_()
public boolean
ai_()
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_287576_, int arg1)
public void
a(int arg0, cmy arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_287620_, C_1391_ arg1)
public void
e()
setChanged()
method_5431()
markDirty()
m_6596_()
public boolean
a(cfi 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
g()
getHeight()
method_17397()
getHeight()
m_39346_()
public int
f()
getWidth()
method_17398()
getWidth()
m_39347_()
public List<ItemStack>
h()
getItems()
method_51305()
getHeldStacks()
m_7086_()
public void
a(cfm arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)