net.minecraft.world.level.block.entity

public class CrafterBlockEntity

extends RandomizableContainerBlockEntity implements CraftingContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer, CraftingContainer, StackedContentsCompatible

dhj
net.minecraft.world.level.block.entity.CrafterBlockEntity
net.minecraft.class_8887
net.minecraft.unmapped.C_lamqkfie
net.minecraft.block.entity.CrafterBlockEntity
net.minecraft.block.entity.CrafterBlockEntity
net.minecraft.src.C_301918_
net.minecraft.world.level.block.entity.CrafterBlockEntity

Field summary

Modifier and TypeField
public static final int
e
CONTAINER_WIDTH
field_46809
f_drlbgikn
GRID_WIDTH
f_302244_
public static final int
f
CONTAINER_HEIGHT
field_46810
f_yrnyvuvx
GRID_HEIGHT
f_303071_
public static final int
g
CONTAINER_SIZE
field_46811
f_llifrlpt
GRID_SIZE
f_303067_
public static final int
h
SLOT_DISABLED
field_46812
f_jfytfxan
SLOT_DISABLED
f_302805_
public static final int
i
SLOT_ENABLED
field_46813
f_azbhzopk
SLOT_ENABLED
f_302934_
public static final int
j
DATA_TRIGGERED
field_46814
f_tbepijuw
TRIGGERED_PROPERTY
f_302256_
public static final int
k
NUM_DATA
field_46815
f_xaisqwwk
PROPERTIES_COUNT
f_302301_
private NonNullList<ItemStack>
r
items
field_46817
f_bqaatywv
inputStacks
f_303344_
private int
s
craftingTicksRemaining
field_46818
f_uvbziebv
craftingTicksRemaining
f_302459_
protected final ContainerData
l
containerData
field_46816
f_gkepqhms
propertyDelegate
f_303488_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected Component
l()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
protected AbstractContainerMenu
a(int arg0, cfh arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
createScreenHandler(int arg0, PlayerInventory arg1)
m_6555_(int p_309858_, C_1140_ arg1)
public void
a(int arg0, boolean arg1)
setSlotState(int arg0, boolean arg1)
method_54480(int arg0, boolean arg1)
m_eemfgjan(int arg0, boolean arg1)
setSlotEnabled(int slot, boolean enabled)
m_306488_(int p_310331_, boolean arg1)
public boolean
c(int arg0)
isSlotDisabled(int arg0)
method_54483(int arg0)
m_lmihgtns(int arg0)
isSlotDisabled(int slot)
m_307238_(int arg0)
public boolean
b(int arg0, cmy arg1)
canPlaceItem(int arg0, ItemStack arg1)
method_5437(int arg0, class_1799 arg1)
m_umfxwlmm(int arg0, C_sddaxwyk arg1)
isValid(int arg0, ItemStack arg1)
isValid(int arg0, ItemStack arg1)
m_7013_(int p_312777_, C_1391_ arg1)
private boolean
a(int arg0, cmy arg1, int arg2)
smallerStackExist(int arg0, ItemStack arg1, int arg2)
method_54479(int arg0, class_1799 arg1, int arg2)
m_kvgrcbqx(int arg0, C_sddaxwyk arg1, int arg2)
betterSlotExists(int count, ItemStack stack, int slot)
m_kvgrcbqx(int arg0, ItemStack stack, int arg2)
m_306964_(int p_309554_, C_1391_ p_312872_, int arg2)
public void
a(sn arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(sn arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public boolean
ai_()
isEmpty()
method_5442()
m_ohnjwggm()
isEmpty()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public void
a(int arg0, cmy arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_311521_, C_1391_ arg1)
public boolean
a(cfi arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public NonNullList<ItemStack>
k()
getItems()
method_11282()
m_qkfbvwxz()
method_11282()
getInvStackList()
m_7086_()
protected void
a(iq<cmy> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_whlgzmib(C_rnrfftze<C_sddaxwyk> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
m_6520_(C_4702_<C_1391_> arg0)
public int
f()
getWidth()
method_17398()
m_rkeovwln()
getWidth()
getWidth()
m_39347_()
public int
g()
getHeight()
method_17397()
m_dvbyvcly()
getHeight()
getHeight()
m_39346_()
public void
a(cfm arg0)
fillStackedContents(StackedContents arg0)
method_7683(class_1662 arg0)
m_mzbxszqu(C_nyagoaau arg0)
provideRecipeInputs(RecipeMatcher arg0)
provideRecipeInputs(RecipeMatcher arg0)
m_5809_(C_1145_ arg0)
private void
d(sn arg0)
addDisabledSlots(CompoundTag arg0)
method_54486(class_2487 arg0)
m_bzyhguae(C_hhlwcnih arg0)
putDisabledSlots(NbtCompound nbt)
m_306746_(C_4917_ arg0)
private void
e(sn arg0)
addTriggered(CompoundTag arg0)
method_54487(class_2487 arg0)
m_uufcmiby(C_hhlwcnih arg0)
putTriggered(NbtCompound nbt)
m_306781_(C_4917_ arg0)
public void
a(boolean arg0)
setTriggered(boolean arg0)
method_54482(boolean arg0)
m_qgwfsxfb(boolean arg0)
setTriggered(boolean triggered)
m_305342_(boolean arg0)
public boolean
m()
isTriggered()
method_54488()
m_gytzlsub()
isTriggered()
m_307236_()
public static void
a(ctp arg0, hx arg1, djh arg2, dhj arg3)
serverTick(Level arg0, BlockPos arg1, BlockState arg2, CrafterBlockEntity arg3)
method_54481(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_8887 arg3)
m_ycajyjlg(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_lamqkfie arg3)
tickCrafting(World world, BlockPos pos, BlockState state, CrafterBlockEntity blockEntity)
m_ycajyjlg(World world, BlockPos pos, BlockState state, CrafterBlockEntity arg3)
m_307890_(C_1596_ p_311764_, C_4675_ p_309568_, C_2064_ p_311393_, C_301918_ p_313070_)
public void
d(int arg0)
setCraftingTicksRemaining(int arg0)
method_54484(int arg0)
m_yxqplnvb(int arg0)
setCraftingTicksRemaining(int craftingTicksRemaining)
m_305296_(int arg0)
public int
w()
getRedstoneSignal()
method_54489()
m_ibidmmff()
getComparatorOutput()
m_304952_()
private boolean
e(int arg0)
slotCanBeDisabled(int arg0)
method_54485(int arg0)
m_bnilwjgq(int arg0)
canToggleSlot(int slot)
m_305899_(int arg0)