net.minecraft.client.gui.screens.recipebook

public class RecipeBookComponent

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

All mapped superinterfaces:

Widget, GuiEventListener, RecipeShownListener, PlaceRecipe

dim
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 int
i
xOffset
field_3102
leftOffset
field_191903_n
private int
j
width
field_3101
parentWidth
field_191904_o
private int
k
height
field_3100
parentHeight
field_191905_p
protected final GhostRecipe
b
ghostRecipe
field_3092
ghostSlots
field_191915_z
private final List<RecipeBookTabButton>
l
tabButtons
field_3094
tabButtons
field_193018_j
private RecipeBookTabButton
m
selectedTab
field_3098
currentTab
field_191913_x
protected StateSwitchingButton
c
filterButton
field_3088
toggleCraftableButton
field_193960_m
protected RecipeBookMenu<?>
d
menu
field_3095
craftingContainer
field_201522_g
protected Minecraft
e
minecraft
field_3091
client
field_191888_F
private EditBox
n
searchBox
field_3089
searchField
field_193962_q
private String
o
lastSearch
field_3099
searchText
field_193963_r
protected ClientRecipeBook
f
book
field_3096
recipeBook
field_193964_s
protected final RecipeBookPage
g
recipeBookPage
field_3086
recipesArea
field_193022_s
protected final StackedContents
h
stackedContents
field_3090
recipeFinder
field_193965_u
private int
p
timesInventoryChanged
field_3093
cachedInvChangeCount
field_193966_v
private boolean
q
ignoreTextInput
field_3087
searching
field_199738_u

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, int arg1, dbl arg2, boolean arg3, bbq<?> 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 isNarrow, CraftingContainer<?> craftingContainer)
func_201520_a(int arg0, int arg1, Minecraft arg2, boolean arg3, RecipeBookContainer<?> arg4)
public void
d(boolean arg0)
initVisuals(boolean arg0)
method_2579(boolean arg0)
reset(boolean isNarrow)
func_201518_a(boolean arg0)
public boolean
changeFocus(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
changeFocus(boolean arg0)
protected void
e()
initFilterButtonTextures()
method_2585()
setBookButtonTexture()
func_205702_a()
public void
i()
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 containerWidth)
func_193011_a(boolean arg0, int arg1, int arg2)
public void
j()
toggleVisibility()
method_2591()
toggleOpen()
func_191866_a()
public boolean
c()
isVisible()
method_2605()
isOpen()
func_191878_b()
protected void
b(boolean arg0)
setVisible(boolean arg0)
method_2593(boolean arg0)
setOpen(boolean opened)
func_193006_a(boolean arg0)
public void
a(bbx arg0)
slotClicked(Slot arg0)
method_2600(class_1735 arg0)
slotClicked(Slot slot)
func_191874_a(Slot arg0)
private void
a(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
k()
tick()
method_2590()
update()
func_193957_d()
private void
d()
updateStackedContents()
method_2587()
refreshInputs()
func_193942_g()
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
public void
a(int arg0, int arg1, int arg2, int arg3)
renderTooltip(int arg0, int arg1, int arg2, int arg3)
method_2601(int arg0, int arg1, int arg2, int arg3)
drawTooltip(int left, int top, int mouseX, int mouseY)
func_191876_c(int arg0, int arg1, int arg2, int arg3)
protected String
f()
getFilterButtonTooltip()
method_2599()
getCraftableButtonText()
func_205703_f()
private void
b(int arg0, int arg1, int arg2, int arg3)
renderGhostRecipeTooltip(int arg0, int arg1, int arg2, int arg3)
method_2602(int arg0, int arg1, int arg2, int arg3)
drawGhostSlotTooltip(int arg0, int arg1, int arg2, int arg3)
func_193015_d(int arg0, int arg1, int arg2, int arg3)
public void
a(int arg0, int arg1, boolean arg2, float arg3)
renderGhostRecipe(int arg0, int arg1, boolean arg2, float arg3)
method_2581(int arg0, int arg1, boolean arg2, float arg3)
drawGhostSlots(int left, int top, boolean arg2, float lastFrameDuration)
func_191864_a(int arg0, int arg1, boolean arg2, float arg3)
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
protected boolean
a()
updateFiltering()
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
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public boolean
a(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
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
private void
g()
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
h()
isOffsetNextToMainGUI()
method_2604()
isWide()
func_191880_f()
public void
l()
recipesUpdated()
method_2592()
refresh()
func_193948_e()
public void
a(List<bgt<?>> arg0)
recipesShown(List<Recipe<?>> arg0)
method_2646(List<class_1860<?>> arg0)
onRecipesDisplayed(List<Recipe<?>> arg0)
func_193001_a(List<IRecipe<?>> arg0)
public void
a(bgt<?> arg0, List<bbx> 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<bgq> 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
m()
sendUpdateSettings()
method_2588()
sendBookDataPacket()
func_193956_j()