net.minecraft.world.inventory

public abstract class ItemCombinerMenu

extends AbstractContainerMenu

bnk
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
public static final int
l
INPUT_SLOT
field_30814
FIRST_INPUT_SLOT_INDEX
f_150595_
public static final int
m
ADDITIONAL_SLOT
field_30815
SECOND_INPUT_SLOT_INDEX
f_150596_
public static final int
n
RESULT_SLOT
field_30816
OUTPUT_SLOT_INDEX
f_150597_
private static final int
k
INV_SLOT_START
field_30813
PLAYER_INVENTORY_START_INDEX
f_150594_
private static final int
s
INV_SLOT_END
field_30817
field_30817
f_150598_
private static final int
t
USE_ROW_SLOT_START
field_30818
field_30818
f_150599_
private static final int
u
USE_ROW_SLOT_END
field_30819
PLAYER_INVENTORY_END_INDEX
f_150600_
protected final ResultContainer
o
resultSlots
field_22479
output
f_39768_
protected final Container
p
inputSlots
field_22480
input
f_39769_
protected final ContainerLevelAccess
q
access
field_22481
context
f_39770_
protected final Player
r
player
field_22482
player
f_39771_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected abstract boolean
a(bke 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(bke arg0, bqq 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(ckt arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState state)
m_8039_(C_2064_ arg0)
public abstract void
l()
createResult()
method_24928()
updateResult()
m_6640_()
public void
a(aru arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
b(bke arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(bke arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
canUse(EntityHuman arg0)
protected boolean
c(bqq arg0)
shouldQuickMoveToAdditionalSlot(ItemStack arg0)
method_30025(class_1799 arg0)
isUsableAsAddition(ItemStack stack)
m_5861_(C_1391_ arg0)
public ItemStack
b(bke arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
transferSlot(PlayerEntity arg0, int arg1)
m_7648_(C_1141_ p_39793_, int arg1)
shiftClick(EntityHuman arg0, int arg1)