net.minecraft.world.inventory

public abstract class AbstractCraftingMenu

extends RecipeBookMenu

cse
net.minecraft.world.inventory.AbstractCraftingMenu
net.minecraft.class_9884
net.minecraft.screen.AbstractCraftingScreenHandler
net.minecraft.src.C_345883_
net.minecraft.world.inventory.AbstractCraftingMenu

Field summary

Modifier and TypeField
private final int
o
width
field_52561
width
f_346927_
private final int
p
height
field_52562
height
f_346267_
protected final CraftingContainer
m
craftSlots
field_52559
craftingInventory
f_349267_
protected final ResultContainer
n
resultSlots
field_52560
craftingResultInventory
f_348876_

Constructor summary

ModifierConstructor
public (MenuType<?> type, int syncId, int width, int height)

Method summary

Modifier and TypeMethod
protected Slot
a(coy arg0, int arg1, int arg2)
addResultSlot(Player arg0, int arg1, int arg2)
method_61625(class_1657 arg0, int arg1, int arg2)
addResultSlot(PlayerEntity player, int x, int y)
m_355018_(C_1141_ p_367668_, int p_363802_, int arg2)
protected void
d(int arg0, int arg1)
addCraftingGridSlots(int arg0, int arg1)
method_61626(int arg0, int arg1)
addInputSlots(int x, int y)
m_351669_(int p_366601_, int arg1)
public RecipeBookMenu$PostPlaceAction
a(boolean arg0, boolean arg1, dbk<?> arg2, ard arg3, cox arg4)
handlePlacement(boolean arg0, boolean arg1, RecipeHolder<?> arg2, ServerLevel arg3, Inventory arg4)
method_17697(boolean arg0, boolean arg1, class_8786<?> arg2, class_3218 arg3, class_1661 arg4)
fillInputSlots(boolean arg0, boolean arg1, RecipeEntry<?> arg2, ServerWorld arg3, PlayerInventory arg4)
m_6951_(boolean p_360772_, boolean p_361387_, C_290175_<?> p_365408_, C_12_ p_368520_, C_1140_ arg4)
protected void
l()
beginPlacingRecipe()
method_59963()
onInputSlotFillStart()
m_340196_()
protected void
a(ard arg0, dbk<dau> arg1)
finishPlacingRecipe(ServerLevel arg0, RecipeHolder<CraftingRecipe> arg1)
method_59964(class_3218 arg0, class_8786<class_3955> arg1)
onInputSlotFillFinish(ServerWorld world, RecipeEntry<CraftingRecipe> recipe)
m_338706_(C_12_ p_364067_, C_290175_<C_1457_> arg1)
public abstract Slot
m()
getResultSlot()
method_61627()
getOutputSlot()
m_353093_()
public abstract List<Slot>
n()
getInputGridSlots()
method_61628()
getInputSlots()
m_351714_()
public int
o()
getGridWidth()
method_61629()
getWidth()
m_355294_()
public int
p()
getGridHeight()
method_61630()
getHeight()
m_352430_()
protected abstract Player
q()
owner()
method_61631()
getPlayer()
m_353860_()
public void
a(cpd arg0)
fillCraftSlotsStackedContents(StackedItemContents arg0)
method_7654(class_9875 arg0)
populateRecipeFinder(RecipeFinder arg0)
m_5816_(C_345581_ arg0)