net.minecraft.world.inventory

public class CraftingMenu

extends AbstractCraftingMenu

cvd
net.minecraft.world.inventory.CraftingMenu
net.minecraft.class_1714
net.minecraft.screen.CraftingScreenHandler

Field summary

Modifier and TypeField
private static final int
p
CRAFTING_GRID_WIDTH
field_52567
field_52567
private static final int
q
CRAFTING_GRID_HEIGHT
field_52568
field_52568
public static final int
o
RESULT_SLOT
field_30781
RESULT_ID
private static final int
r
CRAFT_SLOT_START
field_30782
INPUT_START
private static final int
s
CRAFT_SLOT_COUNT
field_52569
field_52569
private static final int
t
CRAFT_SLOT_END
field_30783
INPUT_END
private static final int
u
INV_SLOT_START
field_30784
INVENTORY_START
private static final int
v
INV_SLOT_END
field_30785
INVENTORY_END
private static final int
w
USE_ROW_SLOT_START
field_30786
HOTBAR_START
private static final int
x
USE_ROW_SLOT_END
field_30787
HOTBAR_END
private final ContainerLevelAccess
y
access
field_7799
context
private final Player
z
player
field_7797
player
private boolean
A
placingRecipe
field_51625
filling

Constructor summary

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

Method summary

Modifier and TypeMethod
protected static void
a(cuk arg0, aro arg1, cqs arg2, cvc arg3, cwc arg4, ddo<dcy> arg5)
slotChangedCraftingGrid(AbstractContainerMenu arg0, ServerLevel arg1, Player arg2, CraftingContainer arg3, ResultContainer arg4, RecipeHolder<CraftingRecipe> arg5)
method_17399(class_1703 arg0, class_3218 arg1, class_1657 arg2, class_8566 arg3, class_1731 arg4, class_8786<class_3955> arg5)
updateResult(ScreenHandler handler, ServerWorld world, PlayerEntity player, RecipeInputInventory craftingInventory, CraftingResultInventory resultInventory, RecipeEntry<CraftingRecipe> recipe)
public void
a(btr arg0)
slotsChanged(Container arg0)
method_7609(class_1263 arg0)
onContentChanged(Inventory arg0)
public void
l()
beginPlacingRecipe()
method_59963()
onInputSlotFillStart()
public void
a(aro arg0, ddo<dcy> arg1)
finishPlacingRecipe(ServerLevel arg0, RecipeHolder<CraftingRecipe> arg1)
method_59964(class_3218 arg0, class_8786<class_3955> arg1)
onInputSlotFillFinish(ServerWorld arg0, RecipeEntry<CraftingRecipe> arg1)
public void
a(cqs arg0)
removed(Player arg0)
method_7595(class_1657 arg0)
onClosed(PlayerEntity arg0)
public boolean
b(cqs arg0)
stillValid(Player arg0)
method_7597(class_1657 arg0)
canUse(PlayerEntity arg0)
public ItemStack
b(cqs arg0, int arg1)
quickMoveStack(Player arg0, int arg1)
method_7601(class_1657 arg0, int arg1)
quickMove(PlayerEntity arg0, int arg1)
public boolean
a(cys arg0, cwh arg1)
canTakeItemForPickAll(ItemStack arg0, Slot arg1)
method_7613(class_1799 arg0, class_1735 arg1)
canInsertIntoSlot(ItemStack arg0, Slot arg1)
public Slot
m()
getResultSlot()
method_61627()
getOutputSlot()
public List<Slot>
n()
getInputGridSlots()
method_61628()
getInputSlots()
public RecipeBookType
ai_()
getRecipeBookType()
method_30264()
getCategory()
protected Player
q()
owner()
method_61631()
getPlayer()