public abstract class AbstractRecipeScreenHandler<C extends Inventory> extends ScreenHandler
slots, syncId
Constructor and Description |
---|
AbstractRecipeScreenHandler(ScreenHandlerType<?> type,
int syncId) |
Modifier and Type | Method and 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 void |
populateRecipeFinder(RecipeFinder finder) |
addListener, addProperties, addProperty, addSlot, calculateComparatorOutput, calculateComparatorOutput, calculateStackSize, canInsertIntoSlot, canInsertIntoSlot, canInsertItemIntoSlot, canStacksCombine, 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
public AbstractRecipeScreenHandler(ScreenHandlerType<?> type, int syncId)
public void fillInputSlots(boolean craftAll, Recipe<?> recipe, ServerPlayerEntity player)
public abstract void populateRecipeFinder(RecipeFinder finder)
public abstract void clearCraftingSlots()
public abstract int getCraftingResultSlotIndex()
public abstract int getCraftingWidth()
public abstract int getCraftingHeight()
@Environment(value=CLIENT) public abstract int getCraftingSlotCount()
@Environment(value=CLIENT) public abstract RecipeBookCategory getCategory()