net.minecraft.world.level.block.entity

public class CrafterBlockEntity

extends RandomizableContainerBlockEntity implements CraftingContainer

All mapped superinterfaces:

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

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

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected Component
k()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
protected AbstractContainerMenu
a(int arg0, cmw 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)
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)
isSlotDisabled(int slot)
m_307238_(int arg0)
public boolean
b(int arg0, cuq 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, cuq 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)
betterSlotExists(int count, ItemStack stack, int slot)
m_306964_(int p_309554_, C_1391_ p_312872_, int arg2)
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_328741_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_330681_, C_213466_$C_254607_ arg1)
public int
b()
getContainerSize()
method_5439()
m_dmbfvefd()
size()
size()
m_6643_()
public boolean
c()
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, cuq 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(cmx 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>
j()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
getInventory()
m_58617_()
protected void
a(jv<cuq> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> arg0)
setInventory(DefaultedList<ItemStack> arg0)
m_58609_(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(cnb 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
c(ub arg0)
addDisabledSlots(CompoundTag arg0)
method_54486(class_2487 arg0)
m_bzyhguae(C_hhlwcnih arg0)
putDisabledSlots(NbtCompound nbt)
putDisabledSlots(NbtCompound nbt)
m_306746_(C_4917_ arg0)
private void
d(ub arg0)
addTriggered(CompoundTag arg0)
method_54487(class_2487 arg0)
m_uufcmiby(C_hhlwcnih arg0)
putTriggered(NbtCompound nbt)
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)
setTriggered(boolean triggered)
m_305342_(boolean arg0)
public boolean
l()
isTriggered()
method_54488()
m_gytzlsub()
isTriggered()
isTriggered()
m_307236_()
public static void
a(dcw arg0, jd arg1, dtc arg2, dqv 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)
tickCrafting(World world, BlockPos pos, BlockState state, CrafterBlockEntity crafterBlockEntity)
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)
setCraftingTicksRemaining(int craftingTicksRemaining)
m_305296_(int arg0)
public int
u()
getRedstoneSignal()
method_54489()
m_ibidmmff()
getComparatorOutput()
getComparatorOutput()
m_304952_()
private boolean
e(int arg0)
slotCanBeDisabled(int arg0)
method_54485(int arg0)
m_bnilwjgq(int arg0)
canToggleSlot(int slot)
canToggleSlot(int slot)
m_305899_(int arg0)