@Environment(value=CLIENT) public abstract class AbstractFurnaceRecipeBookScreen extends RecipeBookWidget
| Modifier and Type | Field and Description |
|---|---|
private Item |
currentItem |
private float |
frameTime |
private Iterator<Item> |
fuelIterator |
private Set<Item> |
fuels |
private Slot |
outputSlot |
client, craftingScreenHandler, ghostSlots, recipeBook, recipeFinder, recipesArea, TEXTURE, toggleCraftableButtonBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
AbstractFurnaceRecipeBookScreen() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawGhostSlots(MatrixStack matrixStack,
int int2,
int int3,
boolean bool,
float float2) |
protected abstract Set<Item> |
getAllowedFuels() |
protected Text |
getCraftableButtonText() |
private Item |
getItem() |
protected abstract Text |
getToggleCraftableButtonText() |
protected abstract boolean |
isFilteringCraftable() |
protected abstract boolean |
isGuiOpen() |
boolean |
isOpen() |
protected void |
setBookButtonTexture() |
protected abstract void |
setFilteringCraftable(boolean filteringCraftable) |
protected abstract void |
setGuiOpen(boolean opened) |
protected void |
setOpen(boolean opened) |
void |
showGhostRecipe(Recipe<?> recipe,
List<Slot> slots) |
void |
slotClicked(Slot slot) |
protected boolean |
toggleFilteringCraftable() |
acceptAlignedInput, changeFocus, charTyped, close, drawTooltip, findLeftEdge, initialize, isClickOutsideBounds, isMouseOver, keyPressed, keyReleased, mouseClicked, onRecipesDisplayed, refresh, render, reset, sendBookDataPacket, toggleOpen, updatedrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmouseDragged, mouseMoved, mouseReleased, mouseScrolledalignRecipeToGridprivate Slot outputSlot
private Item currentItem
private float frameTime
protected boolean toggleFilteringCraftable()
toggleFilteringCraftable in class RecipeBookWidgetprotected abstract boolean isFilteringCraftable()
protected abstract void setFilteringCraftable(boolean filteringCraftable)
public boolean isOpen()
isOpen in class RecipeBookWidgetprotected abstract boolean isGuiOpen()
protected void setOpen(boolean opened)
setOpen in class RecipeBookWidgetprotected abstract void setGuiOpen(boolean opened)
protected void setBookButtonTexture()
setBookButtonTexture in class RecipeBookWidgetprotected Text getCraftableButtonText()
getCraftableButtonText in class RecipeBookWidgetprotected abstract Text getToggleCraftableButtonText()
public void slotClicked(@Nullable Slot slot)
slotClicked in class RecipeBookWidgetpublic void showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
showGhostRecipe in class RecipeBookWidgetpublic void drawGhostSlots(MatrixStack matrixStack, int int2, int int3, boolean bool, float float2)
drawGhostSlots in class RecipeBookWidgetprivate Item getItem()