net.minecraft.client.gui.screens.recipebook

public abstract class RecipeBookComponent<T extends RecipeBookMenu>

implements Renderable, GuiEventListener, NarratableEntry

gca
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
net.minecraft.class_507
net.minecraft.unmapped.C_xaybmvwz
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
net.minecraft.client.gui.widget.recipe_book.RecipeBookWidget

Field summary

Modifier and TypeField
public static final WidgetSprites
a
RECIPE_BUTTON_SPRITES
field_45550
f_aauksetz
BUTTON_TEXTURES
RECIPE_BOOK_BUTTON_TEXTURES
protected static final ResourceLocation
b
RECIPE_BOOK_LOCATION
field_3097
f_wavtahqx
TEXTURE
TEXTURE
private static final int
h
BACKGROUND_TEXTURE_WIDTH
field_52839
f_sjkefvnz
field_52839
private static final int
i
BACKGROUND_TEXTURE_HEIGHT
field_52840
f_rnvztndz
field_52840
private static final Component
j
SEARCH_HINT
field_25711
f_bhtzjsxg
SEARCH_HINT_TEXT
SEARCH_HINT
public static final int
c
IMAGE_WIDTH
field_32408
f_iznawqhs
field_32408
IMAGE_WIDTH
public static final int
d
IMAGE_HEIGHT
field_32409
f_xqbyijcp
field_32409
IMAGE_HEIGHT
private static final int
k
OFFSET_X_POSITION
field_32410
f_xkgxtiti
field_32410
POSITION_X_OFFSET
private static final int
l
BORDER_WIDTH
field_54389
f_hwwykxtl
field_54389
private static final Component
m
ALL_RECIPES_TOOLTIP
field_26594
f_xgtpflru
TOGGLE_ALL_RECIPES_TEXT
TOGGLE_ALL_RECIPES
private static final int
n
TICKS_TO_SWAP_SLOT
field_52841
f_hidldlmx
field_52841
private int
o
xOffset
field_3102
f_hcsctfrl
leftOffset
leftOffset
private int
p
width
field_3101
f_dzkiscnb
parentWidth
parentWidth
private int
q
height
field_3100
f_yvmlvtve
parentHeight
parentHeight
private float
r
time
field_52842
f_vmtdmxct
displayTime
private RecipeDisplayId
s
lastPlacedRecipe
field_54830
f_leusmwod
selectedRecipeId
private final GhostSlots
u
ghostSlots
field_52843
f_jaklakhx
ghostRecipe
private final List<RecipeBookTabButton>
v
tabButtons
field_3094
f_uiackfvf
tabButtons
tabButtons
private RecipeBookTabButton
w
selectedTab
field_3098
f_acdybepj
currentTab
currentTab
protected StateSwitchingButton
e
filterButton
field_3088
f_flvdwdmg
toggleCraftableButton
toggleCraftableButton
protected final T
f
menu
field_3095
f_qzcdzuyb
craftingScreenHandler
craftingScreenHandler
protected Minecraft
g
minecraft
field_3091
f_lyneftin
client
client
private EditBox
x
searchBox
field_3089
f_iynautfg
searchField
searchField
private String
y
lastSearch
field_3099
f_jmzdkyfn
searchText
searchText
private final List<RecipeBookComponent$TabInfo>
z
tabInfos
field_54831
f_asemaoan
tabs
private ClientRecipeBook
A
book
field_3096
f_bkprdtsy
recipeBook
recipeBook
private final RecipeBookPage
B
recipeBookPage
field_3086
f_whhjvotr
recipesArea
recipesArea
private RecipeDisplayId
C
lastRecipe
field_53832
f_wvtevfmd
selectedRecipe
private RecipeCollection
D
lastRecipeCollection
field_53833
f_omprsicj
selectedRecipeResults
private final StackedItemContents
E
stackedContents
field_3090
f_zxniagpx
recipeFinder
recipeFinder
private int
F
timesInventoryChanged
field_3093
f_kbqtsvtc
cachedInvChangeCount
cachedInvChangeCount
private boolean
G
ignoreTextInput
field_3087
f_jyhqnzfz
searching
searching
private boolean
H
visible
field_33679
f_vqmhtxmu
open
open
private boolean
I
widthTooNarrow
field_34001
f_kckueygi
narrow
narrow
private ScreenRectangle
J
magnifierIconPlacement
field_54388
f_owcszaur
searchFieldRect

Constructor summary

ModifierConstructor
public (T craftingScreenHandler, List<RecipeBookComponent$TabInfo> tabs)

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, foz arg2, boolean arg3)
init(int arg0, int arg1, Minecraft arg2, boolean arg3)
method_2597(int arg0, int arg1, class_310 arg2, boolean arg3)
m_jzxxgocn(int arg0, int arg1, C_ayfeobid arg2, boolean arg3)
initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow)
initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow)
private void
i()
initVisuals()
method_2579()
m_zpjxhpsw()
reset()
reset()
private int
k()
getYOrigin()
method_64366()
m_evsxtqet()
getTop()
private int
l()
getXOrigin()
method_64367()
m_botrofyk()
getLeft()
private void
m()
updateFilterButtonTooltip()
method_47429()
m_xgiwgdik()
updateTooltip()
updateTooltip()
protected abstract void
a()
initFilterButtonTextures()
method_2585()
m_wxcomnms()
setBookButtonTexture()
setBookButtonTexture()
public int
a(int arg0, int arg1)
updateScreenPosition(int arg0, int arg1)
method_2595(int arg0, int arg1)
m_topijjtk(int arg0, int arg1)
findLeftEdge(int width, int backgroundWidth)
findLeftEdge(int width, int backgroundWidth)
public void
c()
toggleVisibility()
method_2591()
m_rggebjdu()
toggleOpen()
toggleOpen()
public boolean
d()
isVisible()
method_2605()
m_eopkovui()
isOpen()
isOpen()
private boolean
n()
isVisibleAccordingToBookData()
method_36485()
m_mmwrorfx()
isGuiOpen()
isGuiOpen()
protected void
b(boolean arg0)
setVisible(boolean arg0)
method_2593(boolean arg0)
m_ptdhtokj(boolean arg0)
setOpen(boolean opened)
setOpen(boolean opened)
protected abstract boolean
a(cws arg0)
isCraftingSlot(Slot arg0)
method_62023(class_1735 arg0)
m_qamdxoxq(C_nhvqfffd arg0)
isValid(Slot slot)
public void
b(cws arg0)
slotClicked(Slot arg0)
method_62044(class_1735 arg0)
m_eanvxfyf(C_nhvqfffd arg0)
onMouseClick(Slot slot)
slotClicked(Slot slot)
private void
o()
selectMatchingRecipes()
method_65072()
m_qylogjct()
populateAllRecipes()
protected abstract void
a(gce arg0, cri arg1)
selectMatchingRecipes(RecipeCollection arg0, StackedItemContents arg1)
method_62024(class_516 arg0, class_9875 arg1)
m_crfvrdyi(C_ymmazfhq arg0, C_fcquvjby arg1)
populateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder)
private void
a(boolean arg0, boolean arg1)
updateCollections(boolean arg0, boolean arg1)
method_2603(boolean arg0, boolean arg1)
m_twbffoto(boolean arg0, boolean arg1)
refreshResults(boolean resetCurrentPage, boolean filteringCraftable)
refreshResults(boolean resetCurrentPage, boolean arg1)
private void
c(boolean arg0)
updateTabs(boolean arg0)
method_2606(boolean arg0)
m_suoowudj(boolean arg0)
refreshTabButtons(boolean filteringCraftable)
refreshTabButtons(boolean arg0)
public void
e()
tick()
method_2590()
m_vwcsacbk()
update()
update()
private void
p()
updateStackedContents()
method_2587()
m_ookabkig()
refreshInputs()
refreshInputs()
private boolean
q()
isFiltering()
method_62045()
m_zqhpothv()
isFilteringCraftable()
public void
a(frv 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)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
public void
a(frv arg0, int arg1, int arg2, cws arg3)
renderTooltip(GuiGraphics arg0, int arg1, int arg2, Slot arg3)
method_2601(class_332 arg0, int arg1, int arg2, class_1735 arg3)
m_ysuhyyhm(C_sedilmty arg0, int arg1, int arg2, C_nhvqfffd arg3)
drawTooltip(DrawContext context, int x, int y, Slot slot)
drawTooltip(GuiGraphics graphics, int x, int y, Slot arg3)
protected abstract Component
b()
getRecipeFilterName()
method_17064()
m_kcuquhff()
getToggleCraftableButtonText()
getToggleCraftableButtonText()
public void
a(frv arg0, boolean arg1)
renderGhostRecipe(GuiGraphics arg0, boolean arg1)
method_2581(class_332 arg0, boolean arg1)
m_ltmzbusw(C_sedilmty arg0, boolean arg1)
drawGhostSlots(DrawContext context, boolean resultHasPadding)
drawGhostSlots(GuiGraphics graphics, boolean hasInventory)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
private boolean
a(gce arg0, dfc arg1)
tryPlaceRecipe(RecipeCollection arg0, RecipeDisplayId arg1)
method_62889(class_516 arg0, class_10298 arg1)
m_vxsrvair(C_ymmazfhq arg0, C_tglmjehp arg1)
select(RecipeResultCollection results, NetworkRecipeId recipeId)
private boolean
r()
toggleFiltering()
method_2589()
m_bpcpmltg()
toggleFilteringCraftable()
toggleFilteringCraftable()
public boolean
a(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
hasClickedOutside(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
method_2598(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
m_ogwrlwre(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button)
isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public boolean
c(int arg0, int arg1, int arg2)
keyReleased(int arg0, int arg1, int arg2)
method_16803(int arg0, int arg1, int arg2)
m_cbyglwbg(int arg0, int arg1, int arg2)
keyReleased(int arg0, int arg1, int arg2)
keyReleased(int arg0, int arg1, int arg2)
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
m_jstdhuev(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
m_sxncwtsd(boolean arg0)
setFocused(boolean arg0)
setFocused(boolean arg0)
public boolean
aJ_()
isFocused()
method_25370()
m_whraqgee()
isFocused()
isFocused()
private void
s()
checkSearchStringUpdate()
method_2586()
m_qeglizvq()
refreshSearchResults()
refreshSearchResults()
private void
a(String arg0)
pirateSpeechForThePeople(String arg0)
method_2576(String arg0)
m_qafexdom(String arg0)
triggerPirateSpeakEasterEgg(String search)
triggerPirateSpeakEasterEgg(String search)
private boolean
t()
isOffsetNextToMainGUI()
method_2604()
m_tookqomy()
isWide()
isWide()
public void
g()
recipesUpdated()
method_2592()
m_ztkaxjyw()
refresh()
refresh()
public void
a(dfc arg0)
recipeShown(RecipeDisplayId arg0)
method_64876(class_10298 arg0)
m_htznpflj(C_tglmjehp arg0)
onRecipeDisplayed(NetworkRecipeId recipeId)
public void
a(dfa arg0)
fillGhostRecipe(RecipeDisplay arg0)
method_64875(class_10295 arg0)
m_dlqouukn(C_vhhfbyhp arg0)
onCraftFailed(RecipeDisplay display)
protected abstract void
a(gby arg0, dfa arg1, baz arg2)
fillGhostRecipe(GhostSlots arg0, RecipeDisplay arg1, ContextMap arg2)
method_64868(class_9934 arg0, class_10295 arg1, class_10352 arg2)
m_bxxroqte(C_pvjasgvj arg0, C_vhhfbyhp arg1, C_zcrtzabd arg2)
showGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context)
protected void
h()
sendUpdateSettings()
method_2588()
m_klldduvd()
sendBookDataPacket()
sendBookDataPacket()
public NarratableEntry$NarrationPriority
w()
narrationPriority()
method_37018()
m_ohloyjiq()
getType()
getType()
public void
b(fwg arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
m_ubiaqpjr(C_pofrkllk arg0)
appendNarrations(NarrationMessageBuilder arg0)
appendNarrations(NarrationMessageBuilder arg0)