net.minecraft.screen

public abstract class AbstractCraftingScreenHandler

extends AbstractRecipeScreenHandler

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

Field summary

Modifier and TypeField
private final int
width
field_52561
width
private final int
height
field_52562
height
protected final RecipeInputInventory
craftSlots
field_52559
craftingInventory
protected final CraftingResultInventory
resultSlots
field_52560
craftingResultInventory

Constructor summary

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

Method summary

Modifier and TypeMethod
protected Slot
addResultSlot(Player player, int x, int y)
method_61625(class_1657 arg0, int arg1, int arg2)
addResultSlot(PlayerEntity player, int x, int y)
protected void
addCraftingGridSlots(int left, int top)
method_61626(int arg0, int arg1)
addInputSlots(int x, int y)
public AbstractRecipeScreenHandler$PostFillAction
handlePlacement(boolean useMaxItems, boolean allowDroppingItemsToClear, RecipeHolder<?> recipe, ServerLevel level, Inventory inventory)
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
beginPlacingRecipe()
method_59963()
onInputSlotFillStart()
protected void
finishPlacingRecipe(ServerLevel level, RecipeHolder<CraftingRecipe> recipe)
method_59964(class_3218 arg0, class_8786<class_3955> arg1)
onInputSlotFillFinish(ServerWorld world, RecipeEntry<CraftingRecipe> recipe)
public abstract Slot
getResultSlot()
method_61627()
getOutputSlot()
public abstract List<Slot>
getInputGridSlots()
method_61628()
getInputSlots()
public int
getGridWidth()
method_61629()
getWidth()
public int
getGridHeight()
method_61630()
getHeight()
protected abstract PlayerEntity
owner()
method_61631()
getPlayer()
public void
fillCraftSlotsStackedContents(StackedItemContents stackedContents)
method_7654(class_9875 arg0)
populateRecipeFinder(RecipeFinder arg0)