public class RecipeOverlayGui extends AbstractGui implements IRenderable, IGuiEventListener
Modifier and Type | Class and Description |
---|---|
(package private) class |
RecipeOverlayGui.FurnaceRecipeButtonWidget |
(package private) class |
RecipeOverlayGui.RecipeButtonWidget |
Modifier and Type | Field and Description |
---|---|
private java.util.List<RecipeOverlayGui.RecipeButtonWidget> |
buttonList |
private boolean |
field_201704_n |
private IRecipe<?> |
lastRecipeClicked |
private Minecraft |
mc |
private static ResourceLocation |
RECIPE_BOOK_TEXTURE |
private RecipeList |
recipeList |
private float |
time |
private boolean |
visible |
private int |
x |
private int |
y |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
RecipeOverlayGui() |
Modifier and Type | Method and Description |
---|---|
boolean |
changeFocus(boolean p_changeFocus_1_) |
void |
func_201703_a(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_) |
IRecipe<?> |
getLastRecipeClicked() |
RecipeList |
getRecipeList() |
boolean |
isMouseOver(double p_isMouseOver_1_,
double p_isMouseOver_3_) |
boolean |
isVisible() |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
private void |
nineInchSprite(int p_191846_1_,
int p_191846_2_,
int p_191846_3_,
int p_191846_4_,
int p_191846_5_,
int p_191846_6_) |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
setVisible(boolean p_192999_1_) |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
private static final ResourceLocation RECIPE_BOOK_TEXTURE
private final java.util.List<RecipeOverlayGui.RecipeButtonWidget> buttonList
private boolean visible
private int x
private int y
private Minecraft mc
private RecipeList recipeList
private IRecipe<?> lastRecipeClicked
private float time
private boolean field_201704_n
public void func_201703_a(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_)
public boolean changeFocus(boolean p_changeFocus_1_)
changeFocus
in interface IGuiEventListener
public RecipeList getRecipeList()
public IRecipe<?> getLastRecipeClicked()
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
public boolean isMouseOver(double p_isMouseOver_1_, double p_isMouseOver_3_)
isMouseOver
in interface IGuiEventListener
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
private void nineInchSprite(int p_191846_1_, int p_191846_2_, int p_191846_3_, int p_191846_4_, int p_191846_5_, int p_191846_6_)
public void setVisible(boolean p_192999_1_)
public boolean isVisible()