public class PressureGaugeRenderer3D
extends java.lang.Object
| Constructor and Description |
|---|
PressureGaugeRenderer3D() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawPressureGauge(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float minPressure,
float maxPressure,
float dangerPressure,
float minWorkingPressure,
float currentPressure,
int xPos,
int yPos) |
static void |
drawPressureGauge(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float minPressure,
float maxPressure,
float dangerPressure,
float minWorkingPressure,
float currentPressure,
int xPos,
int yPos,
int fgColor)
Render a pressure gauge into the world.
|
public static void drawPressureGauge(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float minPressure,
float maxPressure,
float dangerPressure,
float minWorkingPressure,
float currentPressure,
int xPos,
int yPos)
public static void drawPressureGauge(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.client.renderer.IRenderTypeBuffer buffer,
float minPressure,
float maxPressure,
float dangerPressure,
float minWorkingPressure,
float currentPressure,
int xPos,
int yPos,
int fgColor)
minPressure - minimum pressuremaxPressure - maximum pressuredangerPressure - danger pressure (red area)minWorkingPressure - min. working pressurecurrentPressure - current pressure (where needle points)xPos - x positionyPos - y positionfgColor - color to draw the surround, needle and text