Class GhostRecipe
- java.lang.Object
-
- net.minecraft.client.gui.recipebook.GhostRecipe
-
public class GhostRecipe extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GhostRecipe.GhostIngredient
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<GhostRecipe.GhostIngredient>
ingredients
private IRecipe<?>
recipe
private float
time
-
Constructor Summary
Constructors Constructor Description GhostRecipe()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addIngredient(Ingredient p_194187_1_, int p_194187_2_, int p_194187_3_)
void
clear()
GhostRecipe.GhostIngredient
get(int p_192681_1_)
IRecipe<?>
getRecipe()
void
render(MatrixStack p_238922_1_, Minecraft p_238922_2_, int p_238922_3_, int p_238922_4_, boolean p_238922_5_, float p_238922_6_)
void
setRecipe(IRecipe<?> p_192685_1_)
int
size()
-
-
-
Field Detail
-
recipe
private IRecipe<?> recipe
-
ingredients
private final java.util.List<GhostRecipe.GhostIngredient> ingredients
-
time
private float time
-
-
Method Detail
-
clear
public void clear()
-
addIngredient
public void addIngredient(Ingredient p_194187_1_, int p_194187_2_, int p_194187_3_)
-
get
public GhostRecipe.GhostIngredient get(int p_192681_1_)
-
size
public int size()
-
getRecipe
@Nullable public IRecipe<?> getRecipe()
-
setRecipe
public void setRecipe(IRecipe<?> p_192685_1_)
-
render
public void render(MatrixStack p_238922_1_, Minecraft p_238922_2_, int p_238922_3_, int p_238922_4_, boolean p_238922_5_, float p_238922_6_)
-
-