net.minecraft.client.gui.screens.inventory

public abstract class AbstractRecipeBookScreen<T extends RecipeBookMenu>

extends AbstractContainerScreen<T> implements RecipeUpdateListener

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, MenuAccess, RecipeUpdateListener

gsc
net.minecraft.client.gui.screens.inventory.AbstractRecipeBookScreen
net.minecraft.class_10260
net.minecraft.client.gui.screen.ingame.RecipeBookScreen

Field summary

Modifier and TypeField
private final RecipeBookComponent<?>
D
recipeBookComponent
field_54474
recipeBook
private boolean
E
widthTooNarrow
field_54475
narrow

Constructor summary

ModifierConstructor
public (T handler, RecipeBookComponent<?> recipeBook, Inventory inventory, Component title)

Method summary

Modifier and TypeMethod
protected void
bf_()
init()
method_25426()
init()
protected abstract ScreenPosition
I()
getRecipeBookButtonPosition()
method_64509()
getRecipeBookButtonPos()
private void
M()
initButton()
method_64512()
addRecipeBook()
protected void
J()
onRecipeBookButtonClick()
method_64510()
onRecipeBookToggled()
public void
a(ghi arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
e(ghi arg0)
renderSlots(GuiGraphics arg0)
method_64508(class_332 arg0)
drawSlots(DrawContext arg0)
protected boolean
K()
isBiggerResultSlot()
method_64511()
shouldAddPaddingToGhostResult()
public boolean
a(gxo arg0)
charTyped(CharacterEvent arg0)
method_25400(class_11905 arg0)
charTyped(CharInput arg0)
public boolean
a(gxr arg0)
keyPressed(KeyEvent arg0)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public boolean
a(gxs arg0, boolean arg1)
mouseClicked(MouseButtonEvent arg0, boolean arg1)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
a(gxs arg0, double arg1, double arg2)
mouseDragged(MouseButtonEvent arg0, double arg1, double arg2)
method_25403(class_11909 arg0, double arg1, double arg2)
mouseDragged(Click arg0, double arg1, double arg2)
protected boolean
a(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
isHovering(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
method_2378(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
isPointWithinBounds(int arg0, int arg1, int arg2, int arg3, double arg4, double arg5)
protected boolean
a(double arg0, double arg1, int arg2, int arg3)
hasClickedOutside(double arg0, double arg1, int arg2, int arg3)
method_2381(double arg0, double arg1, int arg2, int arg3)
isClickOutsideBounds(double arg0, double arg1, int arg2, int arg3)
protected void
a(dib arg0, int arg1, int arg2, dgo arg3)
slotClicked(Slot arg0, int arg1, int arg2, ClickType arg3)
method_2383(class_1735 arg0, int arg1, int arg2, class_1713 arg3)
onMouseClick(Slot arg0, int arg1, int arg2, SlotActionType arg3)
public void
p()
containerTick()
method_37432()
handledScreenTick()
public void
L()
recipesUpdated()
method_16891()
refreshRecipeBook()
public void
a(dqq arg0)
fillGhostRecipe(RecipeDisplay arg0)
method_64862(class_10295 arg0)
onCraftFailed(RecipeDisplay arg0)