net.minecraft.world.inventory

public abstract class ItemCombinerMenu

extends AbstractContainerMenu

cqy
net.minecraft.world.inventory.ItemCombinerMenu
net.minecraft.class_4861
net.minecraft.screen.ForgingScreenHandler
net.minecraft.src.C_1278_
net.minecraft.world.inventory.ContainerAnvilAbstract

Field summary

Modifier and TypeField
private static final int
k
INVENTORY_SLOTS_PER_ROW
field_41901
field_41901
f_265978_
private static final int
l
INVENTORY_SLOTS_PER_COLUMN
field_41902
field_41902
f_266084_
protected final ContainerLevelAccess
o
access
field_22481
context
f_39770_
protected final Player
p
player
field_22482
player
f_39771_
protected final Container
q
inputSlots
field_22480
input
f_39769_
private final List<Integer>
m
inputSlotIndexes
field_41903
inputSlotIndices
f_266110_
protected final ResultContainer
r
resultSlots
field_22479
output
f_39768_
private final int
n
resultSlotIndex
field_41904
resultSlotIndex
f_266048_

Constructor summary

ModifierConstructor
public (MenuType<?> type, int syncId, Inventory playerInventory, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
protected abstract boolean
a(cmz arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
canTakeOutput(PlayerEntity player, boolean present)
m_6560_(C_1141_ p_39799_, boolean arg1)
protected abstract void
a(cmz arg0, cur arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity player, ItemStack stack)
m_142365_(C_1141_ p_150602_, C_1391_ arg1)
protected abstract boolean
a(dse arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState state)
m_8039_(C_2064_ arg0)
private void
a(cqz arg0)
createInputSlots(ItemCombinerMenuSlotDefinition arg0)
method_48354(class_8047 arg0)
addInputSlots(ForgingSlotsManager forgingSlotsManager)
m_266254_(C_265801_ arg0)
private void
b(cqz arg0)
createResultSlot(ItemCombinerMenuSlotDefinition arg0)
method_48355(class_8047 arg0)
addResultSlot(ForgingSlotsManager forgingSlotsManager)
m_266430_(C_265801_ arg0)
private void
a(cmy arg0)
createInventorySlots(Inventory arg0)
method_48353(class_1661 arg0)
addPlayerInventorySlots(PlayerInventory playerInventory)
m_266235_(C_1140_ arg0)
public abstract void
m()
createResult()
method_24928()
updateResult()
m_6640_()
protected abstract ItemCombinerMenuSlotDefinition
l()
createInputSlotDefinitions()
method_48352()
getForgingSlotsManager()
m_266183_()
private SimpleContainer
e(int arg0)
createContainer(int arg0)
method_48358(int arg0)
createInputInventory(int size)
m_266190_(int arg0)
public void
a(bqp arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
b(cmz arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(cmz arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
a(cmz arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39793_, int arg1)
protected boolean
c(cur arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack stack)
m_5861_(C_1391_ arg0)
public int
d(cur arg0)
getSlotToQuickMoveTo(ItemStack arg0)
method_48357(class_1799 arg0)
getSlotFor(ItemStack stack)
m_266159_(C_1391_ arg0)
public int
o()
getResultSlot()
method_48360()
getResultSlotIndex()
m_266562_()
private int
n()
getInventorySlotStart()
method_48359()
getPlayerInventoryStartIndex()
m_266318_()
private int
p()
getInventorySlotEnd()
method_48361()
getPlayerInventoryEndIndex()
m_266402_()
private int
q()
getUseRowStart()
method_48362()
getPlayerHotbarStartIndex()
m_266416_()
private int
r()
getUseRowEnd()
method_48363()
getPlayerHotbarEndIndex()
m_266360_()