public abstract static class GuiGameElement.GuiRenderBuilder extends RenderElement
RenderElement.SimpleRenderElement| Modifier and Type | Field and Description |
|---|---|
protected int |
color |
protected ILightingSettings |
customLighting |
protected net.minecraft.util.math.vector.Vector3d |
rotationOffset |
protected double |
scale |
protected double |
xLocal |
protected double |
xRot |
protected double |
yLocal |
protected double |
yRot |
protected double |
zLocal |
protected double |
zRot |
| Constructor and Description |
|---|
GuiRenderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
GuiGameElement.GuiRenderBuilder |
atLocal(double x,
double y,
double z) |
protected void |
cleanUpLighting(com.mojang.blaze3d.matrix.MatrixStack matrixStack) |
protected void |
cleanUpMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack) |
GuiGameElement.GuiRenderBuilder |
color(int color) |
GuiGameElement.GuiRenderBuilder |
lighting(ILightingSettings lighting) |
protected void |
prepareLighting(com.mojang.blaze3d.matrix.MatrixStack matrixStack) |
protected void |
prepareMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack) |
GuiGameElement.GuiRenderBuilder |
rotate(double xRot,
double yRot,
double zRot) |
GuiGameElement.GuiRenderBuilder |
rotateBlock(double xRot,
double yRot,
double zRot) |
GuiGameElement.GuiRenderBuilder |
scale(double scale) |
protected void |
transformMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack) |
GuiGameElement.GuiRenderBuilder |
withRotationOffset(net.minecraft.util.math.vector.Vector3d offset) |
protected double xLocal
protected double yLocal
protected double zLocal
protected double xRot
protected double yRot
protected double zRot
protected double scale
protected int color
protected net.minecraft.util.math.vector.Vector3d rotationOffset
protected ILightingSettings customLighting
public GuiGameElement.GuiRenderBuilder atLocal(double x, double y, double z)
public GuiGameElement.GuiRenderBuilder rotate(double xRot, double yRot, double zRot)
public GuiGameElement.GuiRenderBuilder rotateBlock(double xRot, double yRot, double zRot)
public GuiGameElement.GuiRenderBuilder scale(double scale)
public GuiGameElement.GuiRenderBuilder color(int color)
public GuiGameElement.GuiRenderBuilder withRotationOffset(net.minecraft.util.math.vector.Vector3d offset)
public GuiGameElement.GuiRenderBuilder lighting(ILightingSettings lighting)
protected void prepareMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack)
protected void transformMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack)
protected void cleanUpMatrix(com.mojang.blaze3d.matrix.MatrixStack matrixStack)
protected void prepareLighting(com.mojang.blaze3d.matrix.MatrixStack matrixStack)
protected void cleanUpLighting(com.mojang.blaze3d.matrix.MatrixStack matrixStack)