net.minecraft.world.inventory

public abstract class ItemCombinerMenu

extends AbstractContainerMenu

cth
net.minecraft.world.inventory.ItemCombinerMenu
net.minecraft.class_4861
net.minecraft.screen.ForgingScreenHandler
net.minecraft.world.inventory.ContainerAnvilAbstract

Field summary

Modifier and TypeField
private static final int
m
INVENTORY_SLOTS_PER_ROW
field_41901
field_41901
private static final int
n
INVENTORY_ROWS
field_41902
field_41902
private static final int
o
INPUT_SLOT_START
field_54595
field_54595
protected final ContainerLevelAccess
q
access
field_22481
context
protected final Player
r
player
field_22482
player
protected final Container
s
inputSlots
field_22480
input
protected final ResultContainer
t
resultSlots
field_22479
output
private final int
p
resultSlotIndex
field_41904
resultSlotIndex

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(coy arg0, boolean arg1)
mayPickup(Player arg0, boolean arg1)
method_24927(class_1657 arg0, boolean arg1)
canTakeOutput(PlayerEntity player, boolean present)
protected abstract void
a(coy arg0, cwq arg1)
onTake(Player arg0, ItemStack arg1)
method_24923(class_1657 arg0, class_1799 arg1)
onTakeOutput(PlayerEntity player, ItemStack stack)
protected abstract boolean
a(dwy arg0)
isValidBlock(BlockState arg0)
method_24925(class_2680 arg0)
canUse(BlockState state)
private void
a(cti arg0)
createInputSlots(ItemCombinerMenuSlotDefinition arg0)
method_48354(class_8047 arg0)
addInputSlots(ForgingSlotsManager forgingSlotsManager)
private void
b(cti arg0)
createResultSlot(ItemCombinerMenuSlotDefinition arg0)
method_48355(class_8047 arg0)
addResultSlot(ForgingSlotsManager forgingSlotsManager)
public abstract void
l()
createResult()
method_24928()
updateResult()
private SimpleContainer
e(int arg0)
createContainer(int arg0)
method_48358(int arg0)
createInputInventory(int size)
public void
a(bse arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
a(coy arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public boolean
b(coy arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
b(coy arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
protected boolean
c(cwq arg0)
canMoveIntoInputSlots(ItemStack arg0)
method_48356(class_1799 arg0)
isValidIngredient(ItemStack stack)
public int
n()
getResultSlot()
method_48360()
getResultSlotIndex()
private int
m()
getInventorySlotStart()
method_48359()
getPlayerInventoryStartIndex()
private int
o()
getInventorySlotEnd()
method_48361()
getPlayerInventoryEndIndex()
private int
p()
getUseRowStart()
method_48362()
getPlayerHotbarStartIndex()
private int
q()
getUseRowEnd()
method_48363()
getPlayerHotbarEndIndex()