Class RecipeBookGhostSlots
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookGhostSlots
@Environment(CLIENT) public class RecipeBookGhostSlots extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
RecipeBookGhostSlots.GhostInputSlot
-
Field Summary
-
Constructor Summary
Constructors Constructor Description RecipeBookGhostSlots()
-
Method Summary
Modifier and Type Method Description void
addSlot(Ingredient ingredient, int x, int y)
void
draw(MatrixStack matrixStack, MinecraftClient minecraftClient, int int2, int int3, boolean bool, float float2)
Recipe<?>
getRecipe()
RecipeBookGhostSlots.GhostInputSlot
getSlot(int index)
int
getSlotCount()
void
reset()
void
setRecipe(Recipe<?> recipe)
-
Field Details
-
recipe
-
slots
-
time
private float time
-
-
Constructor Details
-
RecipeBookGhostSlots
public RecipeBookGhostSlots()
-
-
Method Details
-
reset
public void reset() -
addSlot
-
getSlot
-
getSlotCount
public int getSlotCount() -
getRecipe
-
setRecipe
-
draw
public void draw(MatrixStack matrixStack, MinecraftClient minecraftClient, int int2, int int3, boolean bool, float float2)
-