net.minecraft.client.gui.screens.recipebook

public class RecipeBookComponent

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

All mapped superinterfaces:

Widget, GuiEventListener, RecipeShownListener, PlaceRecipe

drp
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
net.minecraft.class_507
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
net.minecraft.client.gui.recipebook.RecipeBookGui

Field summary

Modifier and TypeField
protected static final ResourceLocation
a
RECIPE_BOOK_LOCATION
field_3097
TEXTURE
field_191894_a
private static final Component
i
SEARCH_HINT
field_25711
SEARCH_HINT_TEXT
field_241620_l_
private static final Component
j
ONLY_CRAFTABLES_TOOLTIP
field_26593
TOGGLE_CRAFTABLE_RECIPES_TEXT
field_243410_j
private static final Component
k
ALL_RECIPES_TOOLTIP
field_26594
TOGGLE_ALL_RECIPES_TEXT
field_243411_k
private int
l
xOffset
field_3102
leftOffset
field_191903_n
private int
m
width
field_3101
parentWidth
field_191904_o
private int
n
height
field_3100
parentHeight
field_191905_p
protected final GhostRecipe
b
ghostRecipe
field_3092
ghostSlots
field_191915_z
private final List<RecipeBookTabButton>
o
tabButtons
field_3094
tabButtons
field_193018_j
private RecipeBookTabButton
p
selectedTab
field_3098
currentTab
field_191913_x
protected StateSwitchingButton
c
filterButton
field_3088
toggleCraftableButton
field_193960_m
protected RecipeBookMenu<?>
d
menu
field_3095
craftingScreenHandler
field_201522_g
protected Minecraft
e
minecraft
field_3091
client
field_191888_F
private EditBox
q
searchBox
field_3089
searchField
field_193962_q
private String
r
lastSearch
field_3099
searchText
field_193963_r
private ClientRecipeBook
s
book
field_3096
recipeBook
field_193964_s
private final RecipeBookPage
t
recipeBookPage
field_3086
recipesArea
field_193022_s
private final StackedContents
u
stackedContents
field_3090
recipeFinder
field_193965_u
private int
v
timesInventoryChanged
field_3093
cachedInvChangeCount
field_193966_v
private boolean
w
ignoreTextInput
field_3087
searching
field_199738_u

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, djz arg2, boolean arg3, bjj<?> 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)
func_201520_a(int arg0, int arg1, Minecraft arg2, boolean arg3, RecipeBookContainer<?> arg4)
public void
a(boolean arg0)
initVisuals(boolean arg0)
method_2579(boolean arg0)
reset(boolean narrow)
func_201518_a(boolean arg0)
public boolean
c_(boolean arg0)
changeFocus(boolean arg0)
method_25407(boolean arg0)
changeFocus(boolean arg0)
func_231049_c__(boolean arg0)
protected void
a()
initFilterButtonTextures()
method_2585()
setBookButtonTexture()
func_205702_a()
public void
d()
removed()
method_2607()
close()
func_191871_c()
public int
a(boolean arg0, int arg1, int arg2)
updateScreenPosition(boolean arg0, int arg1, int arg2)
method_2595(boolean arg0, int arg1, int arg2)
findLeftEdge(boolean narrow, int width, int parentWidth)
func_193011_a(boolean arg0, int arg1, int arg2)
public void
e()
toggleVisibility()
method_2591()
toggleOpen()
func_191866_a()
public boolean
f()
isVisible()
method_2605()
isOpen()
func_191878_b()
protected void
c(boolean arg0)
setVisible(boolean arg0)
method_2593(boolean arg0)
setOpen(boolean opened)
func_193006_a(boolean arg0)
public void
a(bjr arg0)
slotClicked(Slot arg0)
method_2600(class_1735 arg0)
slotClicked(Slot slot)
func_191874_a(Slot arg0)
private void
d(boolean arg0)
updateCollections(boolean arg0)
method_2603(boolean arg0)
refreshResults(boolean resetCurrentPage)
func_193003_g(boolean arg0)
private void
b()
updateTabs()
method_2606()
refreshTabButtons()
func_193949_f()
public void
g()
tick()
method_2590()
update()
func_193957_d()
private void
j()
updateStackedContents()
method_2587()
refreshInputs()
func_193942_g()
public void
a(dfm 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)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
func_230430_a_(MatrixStack arg0, int arg1, int arg2, float arg3)
public void
c(dfm 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)
drawTooltip(MatrixStack matrices, int arg1, int arg2, int arg3, int arg4)
func_238924_c_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
private Component
k()
getFilterButtonTooltip()
method_2599()
getCraftableButtonText()
func_230478_f_()
protected Component
c()
getRecipeFilterName()
method_17064()
getToggleCraftableButtonText()
func_230479_g_()
private void
d(dfm 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)
drawGhostSlotTooltip(MatrixStack matrices, int arg1, int arg2, int arg3, int arg4)
func_238925_d_(MatrixStack arg0, int arg1, int arg2, int arg3, int arg4)
public void
a(dfm 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)
drawGhostSlots(MatrixStack matrices, int arg1, int arg2, boolean arg3, float arg4)
func_230477_a_(MatrixStack arg0, int arg1, int arg2, boolean arg3, 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)
mouseClicked(double arg0, double arg1, int arg2)
func_231044_a_(double arg0, double arg1, int arg2)
private boolean
l()
toggleFiltering()
method_2589()
toggleFilteringCraftable()
func_201521_f()
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)
isClickOutsideBounds(double arg0, double arg1, int arg2, int arg3, int arg4, int arg5, int arg6)
func_195604_a(double arg0, double arg1, int arg2, int arg3, 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)
keyPressed(int arg0, int arg1, int arg2)
func_231046_a_(int arg0, int arg1, 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)
keyReleased(int arg0, int arg1, int arg2)
func_223281_a_(int arg0, int arg1, int arg2)
public boolean
a(char arg0, int arg1)
charTyped(char arg0, int arg1)
method_25400(char arg0, int arg1)
charTyped(char arg0, int arg1)
func_231042_a_(char arg0, int arg1)
public boolean
b(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
func_231047_b_(double arg0, double arg1)
private void
m()
checkSearchStringUpdate()
method_2586()
refreshSearchResults()
func_195603_h()
private void
a(String arg0)
pirateSpeechForThePeople(String arg0)
method_2576(String arg0)
triggerPirateSpeakEasterEgg(String arg0)
func_193716_a(String arg0)
private boolean
n()
isOffsetNextToMainGUI()
method_2604()
isWide()
func_191880_f()
public void
h()
recipesUpdated()
method_2592()
refresh()
func_193948_e()
public void
a(List<boq<?>> arg0)
recipesShown(List<Recipe<?>> arg0)
method_2646(List<class_1860<?>> arg0)
onRecipesDisplayed(List<Recipe<?>> arg0)
func_193001_a(List<IRecipe<?>> arg0)
public void
a(boq<?> arg0, List<bjr> arg1)
setupGhostRecipe(Recipe<?> arg0, List<Slot> arg1)
method_2596(class_1860<?> arg0, List<class_1735> arg1)
showGhostRecipe(Recipe<?> recipe, List<Slot> slots)
func_193951_a(IRecipe<?> arg0, List<Slot> arg1)
public void
a(Iterator<bon> 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)
acceptAlignedInput(Iterator<Ingredient> arg0, int arg1, int arg2, int arg3, int arg4)
func_201500_a(Iterator<Ingredient> arg0, int arg1, int arg2, int arg3, int arg4)
protected void
i()
sendUpdateSettings()
method_2588()
sendBookDataPacket()
func_193956_j()