Class RecipeOverlayGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.recipebook.RecipeOverlayGui
- All Implemented Interfaces:
IGuiEventListener
,IRenderable
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
-
Field Summary
Modifier and TypeFieldDescriptionprivate RecipeList
private boolean
private boolean
private IRecipe<?>
private Minecraft
private static final ResourceLocation
private final List<RecipeOverlayGui.RecipeButtonWidget>
private float
private int
private int
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
changeFocus
(boolean p_231049_1_) IRecipe<?>
void
init
(Minecraft p_201703_1_, RecipeList p_201703_2_, int p_201703_3_, int p_201703_4_, int p_201703_5_, int p_201703_6_, float p_201703_7_) boolean
isMouseOver
(double p_231047_1_, double p_231047_3_) boolean
boolean
mouseClicked
(double p_231044_1_, double p_231044_3_, int p_231044_5_) private void
nineInchSprite
(MatrixStack p_238923_1_, int p_238923_2_, int p_238923_3_, int p_238923_4_, int p_238923_5_, int p_238923_6_, int p_238923_7_) void
render
(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_) void
setVisible
(boolean p_192999_1_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Field Details
-
RECIPE_BOOK_LOCATION
-
recipeButtons
-
isVisible
private boolean isVisible -
x
private int x -
y
private int y -
minecraft
-
collection
-
lastRecipeClicked
-
time
private float time -
isFurnaceMenu
private boolean isFurnaceMenu
-
-
Constructor Details
-
RecipeOverlayGui
public RecipeOverlayGui()
-
-
Method Details
-
init
public void init(Minecraft p_201703_1_, RecipeList p_201703_2_, int p_201703_3_, int p_201703_4_, int p_201703_5_, int p_201703_6_, float p_201703_7_) -
changeFocus
public boolean changeFocus(boolean p_231049_1_) - Specified by:
changeFocus
in interfaceIGuiEventListener
-
getRecipeCollection
-
getLastRecipeClicked
-
mouseClicked
public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_) - Specified by:
mouseClicked
in interfaceIGuiEventListener
-
isMouseOver
public boolean isMouseOver(double p_231047_1_, double p_231047_3_) - Specified by:
isMouseOver
in interfaceIGuiEventListener
-
render
- Specified by:
render
in interfaceIRenderable
-
nineInchSprite
private void nineInchSprite(MatrixStack p_238923_1_, int p_238923_2_, int p_238923_3_, int p_238923_4_, int p_238923_5_, int p_238923_6_, int p_238923_7_) -
setVisible
public void setVisible(boolean p_192999_1_) -
isVisible
public boolean isVisible()
-