Class OverlayRecipeComponent
java.lang.Object
net.minecraft.client.gui.screens.recipebook.OverlayRecipeComponent
- All Implemented Interfaces:
- GuiEventListener,- Renderable,- TabOrderedElement
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) class(package private) class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intprivate RecipeCollection(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) static final ResourceLocation(package private) booleanprivate booleanprivate static final floatprivate RecipeHolder<?>private static final intprivate static final intprivate Minecraftprivate static final ResourceLocationprivate final List<OverlayRecipeComponent.OverlayRecipeButton>(package private) floatprivate intprivate intFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListenerDOUBLE_CLICK_THRESHOLD_MS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionRecipeHolder<?>voidinit(Minecraft p_100195_, RecipeCollection p_100196_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_) booleanbooleanisMouseOver(double p_100208_, double p_100209_) booleanbooleanmouseClicked(double p_100186_, double p_100187_, int p_100188_) voidrender(GuiGraphics p_281618_, int p_282646_, int p_283687_, float p_283147_) voidsetFocused(boolean p_265597_) voidsetVisible(boolean p_100205_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListenercharTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElementgetTabOrderGroup
- 
Field Details- 
OVERLAY_RECIPE_SPRITE
- 
FURNACE_OVERLAY_HIGHLIGHTED_SPRITE
- 
FURNACE_OVERLAY_SPRITE
- 
CRAFTING_OVERLAY_HIGHLIGHTED_SPRITE
- 
CRAFTING_OVERLAY_SPRITE
- 
FURNACE_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE
- 
FURNACE_OVERLAY_DISABLED_SPRITE
- 
CRAFTING_OVERLAY_DISABLED_HIGHLIGHTED_SPRITE
- 
CRAFTING_OVERLAY_DISABLED_SPRITE
- 
MAX_ROWprivate static final int MAX_ROW- See Also:
 
- 
MAX_ROW_LARGEprivate static final int MAX_ROW_LARGE- See Also:
 
- 
ITEM_RENDER_SCALEprivate static final float ITEM_RENDER_SCALE- See Also:
 
- 
BUTTON_SIZEpublic static final int BUTTON_SIZE- See Also:
 
- 
recipeButtons
- 
isVisibleprivate boolean isVisible
- 
xprivate int x
- 
yprivate int y
- 
minecraft
- 
collection
- 
lastRecipeClicked
- 
timefloat time
- 
isFurnaceMenuboolean isFurnaceMenu
 
- 
- 
Constructor Details- 
OverlayRecipeComponentpublic OverlayRecipeComponent()
 
- 
- 
Method Details- 
initpublic void init(Minecraft p_100195_, RecipeCollection p_100196_, int p_100197_, int p_100198_, int p_100199_, int p_100200_, float p_100201_) 
- 
getRecipeCollection
- 
getLastRecipeClicked
- 
mouseClickedpublic boolean mouseClicked(double p_100186_, double p_100187_, int p_100188_) - Specified by:
- mouseClickedin interface- GuiEventListener
 
- 
isMouseOverpublic boolean isMouseOver(double p_100208_, double p_100209_) - Specified by:
- isMouseOverin interface- GuiEventListener
 
- 
render- Specified by:
- renderin interface- Renderable
 
- 
setVisiblepublic void setVisible(boolean p_100205_) 
- 
isVisiblepublic boolean isVisible()
- 
setFocusedpublic void setFocused(boolean p_265597_) - Specified by:
- setFocusedin interface- GuiEventListener
 
- 
isFocusedpublic boolean isFocused()- Specified by:
- isFocusedin interface- GuiEventListener
 
 
-