net.minecraft.client.gui.screen.recipebook

public class RecipeBookWidget

implements RecipeGridAligner<Ingredient>, Drawable, Element, Selectable, RecipeDisplayListener

fqs
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
net.minecraft.class_507
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
net.minecraft.unmapped.C_xaybmvwz
net.minecraft.client.gui.widget.recipe_book.RecipeBookWidget
net.minecraft.src.C_3718_

Field summary

Modifier and TypeField
public static final ButtonTextures
a
RECIPE_BUTTON_SPRITES
field_45550
BUTTON_TEXTURES
f_aauksetz
RECIPE_BOOK_BUTTON_TEXTURES
f_291154_
private static final ButtonTextures
i
FILTER_BUTTON_SPRITES
field_45551
FILTER_BUTTON_TEXTURES
f_loleqygs
FILTER_BUTTON_TEXTURES
f_291757_
protected static final Identifier
b
RECIPE_BOOK_LOCATION
field_3097
TEXTURE
f_wavtahqx
TEXTURE
f_100268_
private static final Text
j
SEARCH_HINT
field_25711
SEARCH_HINT_TEXT
f_bhtzjsxg
SEARCH_HINT
f_100273_
public static final int
c
IMAGE_WIDTH
field_32408
field_32408
f_iznawqhs
IMAGE_WIDTH
f_170042_
public static final int
d
IMAGE_HEIGHT
field_32409
field_32409
f_xqbyijcp
IMAGE_HEIGHT
f_170043_
private static final int
k
OFFSET_X_POSITION
field_32410
field_32410
f_xkgxtiti
POSITION_X_OFFSET
f_170044_
private static final Text
l
ONLY_CRAFTABLES_TOOLTIP
field_26593
TOGGLE_CRAFTABLE_RECIPES_TEXT
f_yiouzgqp
TOGGLE_CRAFTABLE_RECIPES
f_100274_
private static final Text
m
ALL_RECIPES_TOOLTIP
field_26594
TOGGLE_ALL_RECIPES_TEXT
f_xgtpflru
TOGGLE_ALL_RECIPES
f_100275_
private int
n
xOffset
field_3102
leftOffset
f_hcsctfrl
leftOffset
f_100276_
private int
o
width
field_3101
parentWidth
f_dzkiscnb
parentWidth
f_100277_
private int
p
height
field_3100
parentHeight
f_yvmlvtve
parentHeight
f_100278_
protected final RecipeBookGhostSlots
e
ghostRecipe
field_3092
ghostSlots
f_yszcowjn
ghostSlots
f_100269_
private final List<RecipeGroupButtonWidget>
q
tabButtons
field_3094
tabButtons
f_uiackfvf
tabButtons
f_100279_
private RecipeGroupButtonWidget
r
selectedTab
field_3098
currentTab
f_acdybepj
currentTab
f_100280_
protected ToggleButtonWidget
f
filterButton
field_3088
toggleCraftableButton
f_flvdwdmg
toggleCraftableButton
f_100270_
protected AbstractRecipeScreenHandler<?>
g
menu
field_3095
craftingScreenHandler
f_qzcdzuyb
craftingScreenHandler
f_100271_
protected MinecraftClient
h
minecraft
field_3091
client
f_lyneftin
client
f_100272_
private TextFieldWidget
s
searchBox
field_3089
searchField
f_iynautfg
searchField
f_100281_
private String
u
lastSearch
field_3099
searchText
f_jmzdkyfn
searchText
f_100282_
private ClientRecipeBook
v
book
field_3096
recipeBook
f_bkprdtsy
recipeBook
f_100283_
private final RecipeBookResults
w
recipeBookPage
field_3086
recipesArea
f_whhjvotr
recipesArea
f_100284_
private final RecipeMatcher
x
stackedContents
field_3090
recipeFinder
f_zxniagpx
recipeFinder
f_100285_
private int
y
timesInventoryChanged
field_3093
cachedInvChangeCount
f_kbqtsvtc
cachedInvChangeCount
f_100286_
private boolean
z
ignoreTextInput
field_3087
searching
f_jyhqnzfz
searching
f_100287_
private boolean
A
visible
field_33679
open
f_vqmhtxmu
open
f_170041_
private boolean
B
widthTooNarrow
field_34001
narrow
f_kckueygi
narrow
f_181400_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int o, int o, ffh o, boolean o, crj<?> arg4)
init(int arg0, int arg1, Minecraft arg2, boolean arg3, RecipeBookMenu<?> arg4)
method_2597(int arg0, int arg1, class_310 arg2, boolean arg3, class_1729<?> arg4)
initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler)
m_jzxxgocn(int arg0, int arg1, C_ayfeobid arg2, boolean arg3, C_mugvwvfp<?> arg4)
initialize(int parentWidth, int parentHeight, MinecraftClient client, boolean narrow, AbstractRecipeScreenHandler<?> craftingScreenHandler)
m_100309_(int p_100311_, int p_100312_, C_3391_ p_100313_, boolean p_100314_, C_1297_<?> arg4)
public void
d()
initVisuals()
method_2579()
reset()
m_zpjxhpsw()
reset()
m_181404_()
private void
b()
updateFilterButtonTooltip()
method_47429()
updateTooltip()
m_xgiwgdik()
updateTooltip()
m_257619_()
protected void
a()
initFilterButtonTextures()
method_2585()
setBookButtonTexture()
m_wxcomnms()
setBookButtonTexture()
m_5674_()
public int
a(int o, int arg1)
updateScreenPosition(int arg0, int arg1)
method_2595(int arg0, int arg1)
findLeftEdge(int width, int backgroundWidth)
m_topijjtk(int arg0, int arg1)
findLeftEdge(int width, int backgroundWidth)
m_181401_(int p_181403_, int arg1)
public void
e()
toggleVisibility()
method_2591()
toggleOpen()
m_rggebjdu()
toggleOpen()
m_100384_()
public boolean
f()
isVisible()
method_2605()
isOpen()
m_eopkovui()
isOpen()
m_100385_()
private boolean
k()
isVisibleAccordingToBookData()
method_36485()
isGuiOpen()
m_mmwrorfx()
isGuiOpen()
m_170050_()
protected void
b(boolean arg0)
setVisible(boolean arg0)
method_2593(boolean arg0)
setOpen(boolean opened)
m_ptdhtokj(boolean arg0)
setOpen(boolean opened)
m_100369_(boolean arg0)
public void
a(crr arg0)
slotClicked(Slot arg0)
method_2600(class_1735 arg0)
slotClicked(Slot slot)
m_eanvxfyf(C_nhvqfffd arg0)
slotClicked(Slot slot)
m_6904_(C_1305_ arg0)
private void
c(boolean arg0)
updateCollections(boolean arg0)
method_2603(boolean arg0)
refreshResults(boolean resetCurrentPage)
m_twbffoto(boolean arg0)
refreshResults(boolean resetCurrentPage)
m_100382_(boolean arg0)
private void
l()
updateTabs()
method_2606()
refreshTabButtons()
m_suoowudj()
refreshTabButtons()
m_100351_()
public void
h()
tick()
method_2590()
update()
m_vwcsacbk()
update()
m_100386_()
private void
m()
updateStackedContents()
method_2587()
refreshInputs()
m_ookabkig()
refreshInputs()
m_100389_()
public void
a(fgt o, int o, int o, 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_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_88315_(C_279497_ p_282668_, int p_283506_, int p_282813_, float arg3)
public void
a(fgt o, int o, int o, int o, int arg4)
renderTooltip(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_2601(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawTooltip(DrawContext context, int x, int y, int mouseX, int mouseY)
m_ysuhyyhm(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4)
drawTooltip(GuiGraphics graphics, int x, int y, int mouseX, int mouseY)
m_280545_(C_279497_ p_281520_, int p_282050_, int p_282836_, int p_282758_, int arg4)
protected Text
c()
getRecipeFilterName()
method_17064()
getToggleCraftableButtonText()
m_kcuquhff()
getToggleCraftableButtonText()
m_5815_()
private void
b(fgt o, int o, int o, int o, int arg4)
renderGhostRecipeTooltip(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_2602(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawGhostSlotTooltip(DrawContext context, int x, int y, int mouseX, int mouseY)
m_bssiifrf(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4)
drawGhostSlotTooltip(GuiGraphics graphics, int x, int y, int mouseX, int mouseY)
m_280622_(C_279497_ p_282886_, int p_281571_, int p_282948_, int p_283050_, int arg4)
public void
a(fgt o, int o, int o, boolean o, float arg4)
renderGhostRecipe(GuiGraphics arg0, int arg1, int arg2, boolean arg3, float arg4)
method_2581(class_332 arg0, int arg1, int arg2, boolean arg3, float arg4)
drawGhostSlots(DrawContext context, int x, int y, boolean notInventory, float delta)
m_ltmzbusw(C_sedilmty arg0, int arg1, int arg2, boolean arg3, float arg4)
drawGhostSlots(GuiGraphics graphics, int x, int y, boolean hasInventory, float delta)
m_280128_(C_279497_ p_283327_, int p_282027_, int p_283495_, boolean p_283514_, float arg4)
public boolean
a(double o, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_100295_, double arg1, int arg2)
private boolean
n()
toggleFiltering()
method_2589()
toggleFilteringCraftable()
m_bpcpmltg()
toggleFilteringCraftable()
m_100391_()
public boolean
a(double o, double o, int o, int o, 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)
isClickOutsideBounds(double mouseX, double mouseY, int x, int y, int backgroundWidth, int backgroundHeight, int button)
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)
m_100297_(double p_100299_, double p_100301_, int p_100303_, int p_100304_, int arg4, int arg5, int arg6)
public boolean
a(int o, int o, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_qwrbtcbl(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_100307_, int p_100308_, int arg2)
public boolean
c(int o, int o, int arg2)
keyReleased(int arg0, int arg1, int arg2)
method_16803(int arg0, int arg1, int arg2)
keyReleased(int arg0, int arg1, int arg2)
m_cbyglwbg(int arg0, int arg1, int arg2)
keyReleased(int arg0, int arg1, int arg2)
m_7920_(int p_100357_, int p_100358_, int arg2)
public boolean
a(char o, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_jstdhuev(char arg0, int arg1)
charTyped(char arg0, int arg1)
m_5534_(char p_100292_, int arg1)
public boolean
c(double o, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_100354_, double arg1)
public void
a(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean arg0)
m_sxncwtsd(boolean arg0)
setFocused(boolean arg0)
m_93692_(boolean arg0)
public boolean
aH_()
isFocused()
method_25370()
isFocused()
m_whraqgee()
isFocused()
m_93696_()
private void
o()
checkSearchStringUpdate()
method_2586()
refreshSearchResults()
m_qeglizvq()
refreshSearchResults()
m_100392_()
private void
a(String arg0)
pirateSpeechForThePeople(String arg0)
method_2576(String arg0)
triggerPirateSpeakEasterEgg(String search)
m_qafexdom(String arg0)
triggerPirateSpeakEasterEgg(String search)
m_100335_(String arg0)
private boolean
p()
isOffsetNextToMainGUI()
method_2604()
isWide()
m_tookqomy()
isWide()
m_100393_()
public void
i()
recipesUpdated()
method_2592()
refresh()
m_ztkaxjyw()
refresh()
m_100387_()
public void
a(List<cyz<?>> arg0)
recipesShown(List<RecipeHolder<?>> arg0)
method_2646(List<class_8786<?>> arg0)
onRecipesDisplayed(List<RecipeEntry<?>> arg0)
m_hduirkds(List<C_dscbrwbj<?>> arg0)
onRecipesDisplayed(List<RecipeHolder<?>> arg0)
m_7262_(List<C_290175_<?>> arg0)
public void
a(cyz<?> o, List<crr> arg1)
setupGhostRecipe(RecipeHolder<?> arg0, List<Slot> arg1)
method_2596(class_8786<?> arg0, List<class_1735> arg1)
showGhostRecipe(RecipeEntry<?> recipe, List<Slot> slots)
m_ybriaxpu(C_dscbrwbj<?> arg0, List<C_nhvqfffd> arg1)
showGhostRecipe(RecipeHolder<?> recipe, List<Slot> slots)
m_7173_(C_290175_<?> p_100317_, List<C_1305_> arg1)
public void
a(Iterator<cyu> o, int o, int o, int o, int arg4)
addItemToSlot(Iterator<Ingredient> arg0, int arg1, int arg2, int arg3, int arg4)
method_12815(Iterator<class_1856> arg0, int arg1, int arg2, int arg3, int arg4)
acceptAlignedInput(Iterator<Ingredient> arg0, int arg1, int arg2, int arg3, int arg4)
m_vnshednj(Iterator<C_tcpsydrv> arg0, int arg1, int arg2, int arg3, int arg4)
acceptAlignedInput(Iterator<Ingredient> arg0, int arg1, int arg2, int arg3, int arg4)
m_5817_(Iterator<C_1462_> p_100339_, int p_100340_, int p_100341_, int p_100342_, int arg4)
protected void
j()
sendUpdateSettings()
method_2588()
sendBookDataPacket()
m_klldduvd()
sendBookDataPacket()
m_100388_()
public Selectable$SelectionType
t()
narrationPriority()
method_37018()
getType()
m_ohloyjiq()
getType()
m_142684_()
public void
b(flc arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_ubiaqpjr(C_pofrkllk arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)