net.minecraft.client.gui.screens.recipebook

public class RecipeBookComponent

extends GuiComponent implements PlaceRecipe<Ingredient>, Widget, GuiEventListener, NarratableEntry, RecipeShownListener

All mapped superinterfaces:

PlaceRecipe, Widget, GuiEventListener, NarratableEntry, NarrationSupplier, RecipeShownListener

eoq
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.screen.recipebook.RecipeBookWidget
net.minecraft.src.C_3718_

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, efu arg2, boolean arg3, bxv<?> 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)
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)
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()
m_zpjxhpsw()
reset()
reset()
m_181404_()
public boolean
b(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
m_cudkwwhh(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
m_5755_(boolean arg0)
protected void
a()
initFilterButtonTextures()
method_2585()
m_wxcomnms()
setBookButtonTexture()
setBookButtonTexture()
m_5674_()
public void
e()
removed()
method_2607()
m_zcshtthq()
close()
close()
m_100373_()
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)
m_181401_(int p_181403_, int arg1)
public void
f()
toggleVisibility()
method_2591()
m_rggebjdu()
toggleOpen()
toggleOpen()
m_100384_()
public boolean
g()
isVisible()
method_2605()
m_eopkovui()
isOpen()
isOpen()
m_100385_()
private boolean
b()
isVisibleAccordingToBookData()
method_36485()
m_mmwrorfx()
isGuiOpen()
isGuiOpen()
m_170050_()
protected void
a(boolean arg0)
setVisible(boolean arg0)
method_2593(boolean arg0)
m_ptdhtokj(boolean arg0)
setOpen(boolean opened)
setOpen(boolean opened)
m_100369_(boolean arg0)
public void
a(byd arg0)
slotClicked(Slot arg0)
method_2600(class_1735 arg0)
m_eanvxfyf(C_nhvqfffd arg0)
slotClicked(Slot slot)
slotClicked(Slot slot)
m_6904_(C_1305_ arg0)
private void
c(boolean arg0)
updateCollections(boolean arg0)
method_2603(boolean arg0)
m_twbffoto(boolean arg0)
refreshResults(boolean resetCurrentPage)
refreshResults(boolean resetCurrentPage)
m_100382_(boolean arg0)
private void
k()
updateTabs()
method_2606()
m_suoowudj()
refreshTabButtons()
refreshTabButtons()
m_100351_()
public void
h()
tick()
method_2590()
m_vwcsacbk()
update()
update()
m_100386_()
private void
n()
updateStackedContents()
method_2587()
m_ookabkig()
refreshInputs()
refreshInputs()
m_100389_()
public void
a(eaq arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
m_exyypwjw(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_100320_, int p_100321_, int p_100322_, float arg3)
public void
c(eaq arg0, int arg1, int arg2, int arg3, int arg4)
renderTooltip(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_2601(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
m_ysuhyyhm(C_cnszsxvd arg0, int arg1, int arg2, int arg3, int arg4)
drawTooltip(MatrixStack matrices, int x, int y, int mouseX, int mouseY)
drawTooltip(MatrixStack matrices, int x, int y, int mouseX, int mouseY)
m_100361_(C_3181_ p_100363_, int p_100364_, int p_100365_, int p_100366_, int arg4)
private Component
p()
getFilterButtonTooltip()
method_2599()
m_yjntqmju()
getCraftableButtonText()
getCraftableButtonText()
m_100390_()
protected Component
c()
getRecipeFilterName()
method_17064()
m_kcuquhff()
getToggleCraftableButtonText()
getToggleCraftableButtonText()
m_5815_()
private void
d(eaq arg0, int arg1, int arg2, int arg3, int arg4)
renderGhostRecipeTooltip(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_2602(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
m_bssiifrf(C_cnszsxvd arg0, int arg1, int arg2, int arg3, int arg4)
drawGhostSlotTooltip(MatrixStack matrices, int x, int y, int mouseX, int mouseY)
drawGhostSlotTooltip(MatrixStack matrices, int x, int y, int mouseX, int mouseY)
m_100374_(C_3181_ p_100376_, int p_100377_, int p_100378_, int p_100379_, int arg4)
public void
a(eaq arg0, int arg1, int arg2, boolean arg3, float arg4)
renderGhostRecipe(PoseStack arg0, int arg1, int arg2, boolean arg3, float arg4)
method_2581(class_4587 arg0, int arg1, int arg2, boolean arg3, float arg4)
m_ltmzbusw(C_cnszsxvd arg0, int arg1, int arg2, boolean arg3, float arg4)
drawGhostSlots(MatrixStack matrices, int x, int y, boolean arg3, float delta)
drawGhostSlots(MatrixStack matrices, int x, int y, boolean hasInventory, float delta)
m_6545_(C_3181_ p_100324_, int p_100325_, int p_100326_, boolean p_100327_, float arg4)
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)
m_6375_(double p_100295_, double arg1, int arg2)
private boolean
q()
toggleFiltering()
method_2589()
m_bpcpmltg()
toggleFilteringCraftable()
toggleFilteringCraftable()
m_100391_()
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)
m_100297_(double p_100299_, double p_100301_, int p_100303_, int p_100304_, int arg4, int arg5, int arg6)
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)
m_7933_(int p_100307_, int p_100308_, int arg2)
public boolean
b(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)
m_7920_(int p_100357_, int p_100358_, 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)
m_5534_(char p_100292_, 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)
m_5953_(double p_100354_, double arg1)
private void
r()
checkSearchStringUpdate()
method_2586()
m_qeglizvq()
refreshSearchResults()
refreshSearchResults()
m_100392_()
private void
a(String arg0)
pirateSpeechForThePeople(String arg0)
method_2576(String arg0)
m_qafexdom(String arg0)
triggerPirateSpeakEasterEgg(String search)
triggerPirateSpeakEasterEgg(String search)
m_100335_(String arg0)
private boolean
s()
isOffsetNextToMainGUI()
method_2604()
m_tookqomy()
isWide()
isWide()
m_100393_()
public void
i()
recipesUpdated()
method_2592()
m_ztkaxjyw()
refresh()
refresh()
m_100387_()
public void
a(List<cdp<?>> arg0)
recipesShown(List<Recipe<?>> arg0)
method_2646(List<class_1860<?>> arg0)
m_hduirkds(List<C_awrmdwqd<?>> arg0)
onRecipesDisplayed(List<Recipe<?>> arg0)
onRecipesDisplayed(List<Recipe<?>> arg0)
m_7262_(List<C_1469_<?>> arg0)
public void
a(cdp<?> arg0, List<byd> arg1)
setupGhostRecipe(Recipe<?> arg0, List<Slot> arg1)
method_2596(class_1860<?> arg0, List<class_1735> arg1)
m_ybriaxpu(C_awrmdwqd<?> arg0, List<C_nhvqfffd> arg1)
showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
m_7173_(C_1469_<?> p_100317_, List<C_1305_> arg1)
public void
a(Iterator<cdm> arg0, int arg1, int arg2, int arg3, 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)
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)
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()
m_klldduvd()
sendBookDataPacket()
sendBookDataPacket()
m_100388_()
public NarratableEntry$NarrationPriority
t()
narrationPriority()
method_37018()
m_ohloyjiq()
getType()
getType()
m_142684_()
public void
a(ejv arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
m_ubiaqpjr(C_pofrkllk arg0)
appendNarrations(NarrationMessageBuilder arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)