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

gns
net.minecraft.client.gui.screens.inventory.AbstractRecipeBookScreen
net.minecraft.class_10260
net.minecraft.client.gui.screen.ingame.RecipeBookScreen
net.minecraft.src.C_345739_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
bg_()
init()
method_25426()
init()
m_7856_()
protected abstract ScreenPosition
I()
getRecipeBookButtonPosition()
method_64509()
getRecipeBookButtonPos()
m_351637_()
private void
M()
initButton()
method_64512()
addRecipeBook()
m_351742_()
protected void
J()
onRecipeBookButtonClick()
method_64510()
onRecipeBookToggled()
m_352206_()
public void
a(gdd 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)
m_88315_(C_279497_ p_362399_, int p_367501_, int p_361085_, float arg3)
protected void
e(gdd arg0)
renderSlots(GuiGraphics arg0)
method_64508(class_332 arg0)
drawSlots(DrawContext arg0)
m_352303_(C_279497_ arg0)
protected boolean
K()
isBiggerResultSlot()
method_64511()
shouldAddPaddingToGhostResult()
m_354162_()
public boolean
a(gte arg0)
charTyped(CharacterEvent arg0)
method_25400(class_11905 arg0)
charTyped(CharInput arg0)
m_94121_(C_411367_ arg0)
public boolean
a(gth arg0)
keyPressed(KeyEvent arg0)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
m_7933_(C_411099_ arg0)
public boolean
a(gti arg0, boolean arg1)
mouseClicked(MouseButtonEvent arg0, boolean arg1)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
m_6375_(C_410856_ p_423683_, boolean arg1)
public boolean
a(gti 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)
m_7979_(C_410856_ p_422571_, double p_423110_, 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)
m_6774_(int p_365247_, int p_369651_, int p_367039_, int p_362562_, double p_363251_, 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)
m_7467_(double p_361253_, double p_369977_, int arg2, int arg3)
protected void
a(dfe arg0, int arg1, int arg2, ddr 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)
m_6597_(C_1305_ p_365209_, int p_363173_, int p_369612_, C_1245_ arg3)
public void
p()
containerTick()
method_37432()
handledScreenTick()
m_181908_()
public void
L()
recipesUpdated()
method_16891()
refreshRecipeBook()
m_6916_()
public void
a(dno arg0)
fillGhostRecipe(RecipeDisplay arg0)
method_64862(class_10295 arg0)
onCraftFailed(RecipeDisplay arg0)
m_5564_(C_345908_ arg0)