net.minecraft.world.inventory

public class CraftingMenu

extends RecipeBookMenu<CraftingContainer>

bre
net.minecraft.world.inventory.CraftingMenu
net.minecraft.class_1714
net.minecraft.screen.CraftingScreenHandler
net.minecraft.src.C_1252_
net.minecraft.world.inventory.ContainerWorkbench

Field summary

Modifier and TypeField
public static final int
k
RESULT_SLOT
field_30781
field_30781
f_150539_
private static final int
l
CRAFT_SLOT_START
field_30782
field_30782
f_150540_
private static final int
m
CRAFT_SLOT_END
field_30783
field_30783
f_150541_
private static final int
n
INV_SLOT_START
field_30784
field_30784
f_150542_
private static final int
o
INV_SLOT_END
field_30785
field_30785
f_150543_
private static final int
p
USE_ROW_SLOT_START
field_30786
field_30786
f_150544_
private static final int
q
USE_ROW_SLOT_END
field_30787
field_30787
f_150545_
private final CraftingContainer
r
craftSlots
field_7801
input
f_39348_
private final ResultContainer
s
resultSlots
field_7800
result
f_39349_
private final ContainerLevelAccess
t
access
field_7799
context
f_39350_
private final Player
u
player
field_7797
player
f_39351_

Constructor summary

ModifierConstructor
public (int syncId, Inventory playerInventory)
public (int syncId, Inventory playerInventory, ContainerLevelAccess context)

Method summary

Modifier and TypeMethod
protected static void
a(bqp arg0, cav arg1, boj arg2, brd arg3, bsb arg4)
slotChangedCraftingGrid(AbstractContainerMenu arg0, Level arg1, Player arg2, CraftingContainer arg3, ResultContainer arg4)
method_17399(class_1703 arg0, class_1937 arg1, class_1657 arg2, class_1715 arg3, class_1731 arg4)
updateResult(ScreenHandler handler, World world, PlayerEntity player, CraftingInventory craftingInventory, CraftingResultInventory resultInventory)
m_150546_(C_1226_ p_150547_, C_1596_ p_150548_, C_1141_ p_150549_, C_1251_ p_150550_, C_1300_ p_150551_)
public void
a(awa arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
m_6199_(C_464_ arg0)
public void
a(bol arg0)
fillCraftSlotsStackedContents(StackedContents arg0)
method_7654(class_1662 arg0)
populateRecipeFinder(RecipeMatcher arg0)
m_5816_(C_1145_ arg0)
public void
l()
clearCraftingContent()
method_7657()
clearCraftingSlots()
m_6650_()
public boolean
a(bxo<? super brd> arg0)
recipeMatches(Recipe<? super CraftingContainer> arg0)
method_7652(class_1860<? super class_1715> arg0)
matches(Recipe<? super CraftingInventory> arg0)
m_6032_(C_1469_<? super C_1251_> arg0)
public void
b(boj arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
close(PlayerEntity arg0)
m_6877_(C_1141_ arg0)
public boolean
a(boj arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
m_6875_(C_1141_ arg0)
public ItemStack
b(boj 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_39392_, int arg1)
public boolean
a(buw arg0, bsg arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
m_5882_(C_1391_ p_39382_, C_1305_ arg1)
public int
m()
getResultSlotIndex()
method_7655()
getCraftingResultSlotIndex()
m_6636_()
public int
n()
getGridWidth()
method_7653()
getCraftingWidth()
m_6635_()
public int
o()
getGridHeight()
method_7656()
getCraftingHeight()
m_6656_()
public int
p()
getSize()
method_7658()
getCraftingSlotCount()
m_6653_()
public RecipeBookType
t()
getRecipeBookType()
method_30264()
getCategory()
m_5867_()
public boolean
e(int arg0)
shouldMoveToInventory(int arg0)
method_32339(int arg0)
canInsertIntoSlot(int arg0)
m_142157_(int arg0)