net.minecraft.world.inventory

public abstract class AbstractCraftingMenu

extends RecipeBookMenu

ctd
net.minecraft.world.inventory.AbstractCraftingMenu
net.minecraft.class_9884
net.minecraft.screen.AbstractCraftingScreenHandler
net.minecraft.world.inventory.AbstractCraftingMenu

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Slot
a(cpx 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)
protected void
d(int arg0, int arg1)
addCraftingGridSlots(int arg0, int arg1)
method_61626(int arg0, int arg1)
addInputSlots(int x, int y)
public RecipeBookMenu$PostPlaceAction
a(boolean arg0, boolean arg1, dcj<?> arg2, ash arg3, cpw 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)
protected void
l()
beginPlacingRecipe()
method_59963()
onInputSlotFillStart()
protected void
a(ash arg0, dcj<dbt> arg1)
finishPlacingRecipe(ServerLevel arg0, RecipeHolder<CraftingRecipe> arg1)
method_59964(class_3218 arg0, class_8786<class_3955> arg1)
onInputSlotFillFinish(ServerWorld world, RecipeEntry<CraftingRecipe> recipe)
public abstract Slot
m()
getResultSlot()
method_61627()
getOutputSlot()
public abstract List<Slot>
n()
getInputGridSlots()
method_61628()
getInputSlots()
public int
o()
getGridWidth()
method_61629()
getWidth()
public int
p()
getGridHeight()
method_61630()
getHeight()
protected abstract Player
q()
owner()
method_61631()
getPlayer()
public void
a(cqc arg0)
fillCraftSlotsStackedContents(StackedItemContents arg0)
method_7654(class_9875 arg0)
populateRecipeFinder(RecipeFinder arg0)