Class GuiGameElement.GuiRenderBuilder
java.lang.Object
com.simibubi.create.foundation.gui.element.RenderElement
com.simibubi.create.foundation.gui.element.GuiGameElement.GuiRenderBuilder
- All Implemented Interfaces:
ScreenElement
- Direct Known Subclasses:
GuiGameElement.GuiBlockPartialRenderBuilder,GuiGameElement.GuiBlockStateRenderBuilder,GuiGameElement.GuiItemRenderBuilder
- Enclosing class:
- GuiGameElement
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.gui.element.RenderElement
RenderElement.SimpleRenderElement -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected ILightingSettingsprotected net.minecraft.world.phys.Vec3protected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatLocal(double x, double y, double z) protected voidcleanUpLighting(com.mojang.blaze3d.vertex.PoseStack matrixStack) protected voidcleanUpMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) color(int color) lighting(ILightingSettings lighting) protected voidprepareLighting(com.mojang.blaze3d.vertex.PoseStack matrixStack) protected voidprepareMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) rotate(double xRot, double yRot, double zRot) rotateBlock(double xRot, double yRot, double zRot) scale(double scale) protected voidtransformMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) withRotationOffset(net.minecraft.world.phys.Vec3 offset)
-
Field Details
-
xLocal
protected double xLocal -
yLocal
protected double yLocal -
zLocal
protected double zLocal -
xRot
protected double xRot -
yRot
protected double yRot -
zRot
protected double zRot -
scale
protected double scale -
color
protected int color -
rotationOffset
protected net.minecraft.world.phys.Vec3 rotationOffset -
customLighting
-
-
Constructor Details
-
GuiRenderBuilder
public GuiRenderBuilder()
-
-
Method Details
-
atLocal
-
rotate
-
rotateBlock
-
scale
-
color
-
withRotationOffset
-
lighting
-
prepareMatrix
protected void prepareMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) -
transformMatrix
protected void transformMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) -
cleanUpMatrix
protected void cleanUpMatrix(com.mojang.blaze3d.vertex.PoseStack matrixStack) -
prepareLighting
protected void prepareLighting(com.mojang.blaze3d.vertex.PoseStack matrixStack) -
cleanUpLighting
protected void cleanUpLighting(com.mojang.blaze3d.vertex.PoseStack matrixStack)
-