public class IngredientListBatchRenderer
extends java.lang.Object
Constructor and Description |
---|
IngredientListBatchRenderer(IEditModeConfig editModeConfig,
IWorldConfig worldConfig) |
Modifier and Type | Method and Description |
---|---|
void |
add(IngredientListSlot ingredientListSlot) |
void |
clear() |
java.util.List<IngredientListSlot> |
getAllGuiIngredientSlots() |
IngredientListElementRenderer<?> |
getHovered(double mouseX,
double mouseY) |
ClickedIngredient<?> |
getIngredientUnderMouse(double mouseX,
double mouseY) |
void |
render(net.minecraft.client.Minecraft minecraft,
com.mojang.blaze3d.matrix.MatrixStack matrixStack)
renders all ItemStacks
|
void |
set(int startIndex,
java.util.List<IIngredientListElement<?>> ingredientList) |
int |
size() |
public IngredientListBatchRenderer(IEditModeConfig editModeConfig, IWorldConfig worldConfig)
public void clear()
public int size()
public void add(IngredientListSlot ingredientListSlot)
public java.util.List<IngredientListSlot> getAllGuiIngredientSlots()
public void set(int startIndex, java.util.List<IIngredientListElement<?>> ingredientList)
@Nullable public ClickedIngredient<?> getIngredientUnderMouse(double mouseX, double mouseY)
@Nullable public IngredientListElementRenderer<?> getHovered(double mouseX, double mouseY)
public void render(net.minecraft.client.Minecraft minecraft, com.mojang.blaze3d.matrix.MatrixStack matrixStack)