Package net.minecraft.screen
Class AbstractRecipeScreenHandler<C extends Inventory>
java.lang.Object
net.minecraft.screen.ScreenHandler
net.minecraft.screen.AbstractRecipeScreenHandler<C>
- Direct Known Subclasses:
AbstractFurnaceScreenHandler
,CraftingScreenHandler
,PlayerScreenHandler
public abstract class AbstractRecipeScreenHandler<C extends Inventory> extends ScreenHandler
-
Field Summary
Fields inherited from class net.minecraft.screen.ScreenHandler
slots, syncId
-
Constructor Summary
Constructors Constructor Description AbstractRecipeScreenHandler(ScreenHandlerType<?> type, int syncId)
-
Method Summary
Modifier and Type Method Description abstract void
clearCraftingSlots()
void
fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player)
abstract RecipeBookCategory
getCategory()
abstract int
getCraftingHeight()
abstract int
getCraftingResultSlotIndex()
abstract int
getCraftingSlotCount()
abstract int
getCraftingWidth()
abstract boolean
matches(Recipe<? super C> recipe)
abstract boolean
method_32339(int int2)
abstract void
populateRecipeFinder(RecipeFinder finder)
Methods inherited from class net.minecraft.screen.ScreenHandler
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canUse, canUse, checkDataCount, checkSize, close, dropInventory, endQuickCraft, getNextActionId, getSlot, getStacks, getType, insertItem, isNotRestricted, onButtonClick, onContentChanged, onSlotClick, packQuickCraftData, removeListener, sendContentUpdates, setPlayerRestriction, setProperty, setStackInSlot, shouldQuickCraftContinue, transferSlot, unpackQuickCraftButton, unpackQuickCraftStage, updateSlotStacks
-
Constructor Details
-
AbstractRecipeScreenHandler
-
-
Method Details
-
fillInputSlots
-
populateRecipeFinder
-
clearCraftingSlots
public abstract void clearCraftingSlots() -
matches
-
getCraftingResultSlotIndex
public abstract int getCraftingResultSlotIndex() -
getCraftingWidth
public abstract int getCraftingWidth() -
getCraftingHeight
public abstract int getCraftingHeight() -
getCraftingSlotCount
public abstract int getCraftingSlotCount() -
getCategory
-
method_32339
public abstract boolean method_32339(int int2)
-