@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, TEXTURE, toggleCraftableButton
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_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() |
private Item |
getItem() |
protected void |
setBookButtonTexture() |
void |
showGhostRecipe(Recipe<?> recipe,
List<Slot> slots) |
void |
slotClicked(Slot slot) |
acceptAlignedInput, changeFocus, charTyped, close, drawTooltip, findLeftEdge, getToggleCraftableButtonText, initialize, isClickOutsideBounds, isMouseOver, isOpen, keyPressed, keyReleased, mouseClicked, onRecipesDisplayed, refresh, render, reset, sendBookDataPacket, setOpen, toggleOpen, update
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseDragged, mouseMoved, mouseReleased, mouseScrolled
alignRecipeToGrid
private Slot outputSlot
private Item currentItem
private float frameTime
protected void setBookButtonTexture()
setBookButtonTexture
in class RecipeBookWidget
public void slotClicked(@Nullable Slot slot)
slotClicked
in class RecipeBookWidget
public void showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
showGhostRecipe
in class RecipeBookWidget
public void drawGhostSlots(MatrixStack matrixStack, int int2, int int3, boolean bool, float float2)
drawGhostSlots
in class RecipeBookWidget
private Item getItem()