public class GuiFluidStackGroup extends GuiIngredientGroup<net.minecraftforge.fluids.FluidStack,GuiIngredient<net.minecraftforge.fluids.FluidStack>> implements IGuiFluidStackGroup
focus, guiIngredients| Constructor and Description |
|---|
GuiFluidStackGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(int slotIndex,
boolean input,
int xPosition,
int yPosition,
int width,
int height,
int capacityMb,
boolean showCapacity,
IDrawable overlay)
Sets up the fluid at slotIndex.
|
void |
init(int slotIndex,
boolean input,
int xPosition,
int yPosition,
int width,
int height,
int capacityMb,
IDrawable overlay)
Sets up the fluid at slotIndex.
|
draw, getFocusUnderMouse, getGuiIngredients, set, set, setFocusclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitset, setpublic void init(int slotIndex,
boolean input,
int xPosition,
int yPosition,
int width,
int height,
int capacityMb,
@Nullable
IDrawable overlay)
IGuiFluidStackGroupinit in interface IGuiFluidStackGroupslotIndex - the slot index of this fluidinput - whether this slot is an inputxPosition - x position relative to the recipe backgroundyPosition - y position relative to the recipe backgroundwidth - width of this fluidheight - height of this fluidcapacityMb - maximum amount of fluid that this "tank" can hold in milli-bucketsoverlay - optional overlay to display over the tank.
Typically the overlay is fluid level lines, but it could also be a mask to shape the tank.public void init(int slotIndex,
boolean input,
int xPosition,
int yPosition,
int width,
int height,
int capacityMb,
boolean showCapacity,
@Nullable
IDrawable overlay)
IGuiFluidStackGroupinit in interface IGuiFluidStackGroupslotIndex - the slot index of this fluidinput - whether this slot is an inputxPosition - x position relative to the recipe backgroundyPosition - y position relative to the recipe backgroundwidth - width of this fluidheight - height of this fluidcapacityMb - maximum amount of fluid that this "tank" can hold in milli-bucketsshowCapacity - show the capacity in the tooltipoverlay - optional overlay to display over the tank.
Typically the overlay is fluid level lines, but it could also be a mask to shape the tank.