public class RecipeBookPage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private ToggleWidget |
backButton |
private java.util.List<RecipeWidget> |
buttons |
private int |
currentPage |
private ToggleWidget |
forwardButton |
private RecipeWidget |
hoveredButton |
private IRecipe<?> |
lastClickedRecipe |
private RecipeList |
lastClickedRecipeList |
private java.util.List<IRecipeUpdateListener> |
listeners |
private Minecraft |
minecraft |
private RecipeOverlayGui |
overlay |
private RecipeBook |
recipeBook |
private java.util.List<RecipeList> |
recipeLists |
private int |
totalPages |
Constructor and Description |
---|
RecipeBookPage() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(RecipeBookGui p_193732_1_) |
boolean |
func_198955_a(double p_198955_1_,
double p_198955_3_,
int p_198955_5_,
int p_198955_6_,
int p_198955_7_,
int p_198955_8_,
int p_198955_9_) |
Minecraft |
func_203411_d() |
RecipeBook |
func_203412_e() |
IRecipe<?> |
getLastClickedRecipe() |
RecipeList |
getLastClickedRecipeList() |
void |
init(Minecraft p_194194_1_,
int p_194194_2_,
int p_194194_3_) |
void |
recipesShown(java.util.List<IRecipe<?>> p_194195_1_) |
void |
render(int x,
int y,
int mouseX,
int mouseY,
float partialTicks) |
void |
renderTooltip(int p_193721_1_,
int p_193721_2_) |
void |
setInvisible() |
private void |
updateArrowButtons() |
private void |
updateButtonsForPage() |
void |
updateLists(java.util.List<RecipeList> p_194192_1_,
boolean p_194192_2_) |
private final java.util.List<RecipeWidget> buttons
private RecipeWidget hoveredButton
private final RecipeOverlayGui overlay
private Minecraft minecraft
private final java.util.List<IRecipeUpdateListener> listeners
private java.util.List<RecipeList> recipeLists
private ToggleWidget forwardButton
private ToggleWidget backButton
private int totalPages
private int currentPage
private RecipeBook recipeBook
private IRecipe<?> lastClickedRecipe
private RecipeList lastClickedRecipeList
public void init(Minecraft p_194194_1_, int p_194194_2_, int p_194194_3_)
public void addListener(RecipeBookGui p_193732_1_)
public void updateLists(java.util.List<RecipeList> p_194192_1_, boolean p_194192_2_)
private void updateButtonsForPage()
private void updateArrowButtons()
public void render(int x, int y, int mouseX, int mouseY, float partialTicks)
public void renderTooltip(int p_193721_1_, int p_193721_2_)
@Nullable public IRecipe<?> getLastClickedRecipe()
@Nullable public RecipeList getLastClickedRecipeList()
public void setInvisible()
public boolean func_198955_a(double p_198955_1_, double p_198955_3_, int p_198955_5_, int p_198955_6_, int p_198955_7_, int p_198955_8_, int p_198955_9_)
public void recipesShown(java.util.List<IRecipe<?>> p_194195_1_)
public Minecraft func_203411_d()
public RecipeBook func_203412_e()