Package net.createmod.catnip.gui.element
Class GuiGameElement.GuiRenderBuilder
java.lang.Object
net.createmod.catnip.gui.element.AbstractRenderElement
net.createmod.catnip.gui.element.GuiGameElement.GuiRenderBuilder
- All Implemented Interfaces:
FadableScreenElement,RenderElement,ScreenElement
- Direct Known Subclasses:
GuiGameElement.GuiBlockModelRenderBuilder,GuiGameElement.GuiItemRenderBuilder
- Enclosing class:
- GuiGameElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.createmod.catnip.gui.element.AbstractRenderElement
AbstractRenderElement.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 poseStack) protected voidcleanUpMatrix(com.mojang.blaze3d.vertex.PoseStack poseStack) color(int color) lighting(ILightingSettings lighting) protected voidprepareLighting(com.mojang.blaze3d.vertex.PoseStack poseStack) protected voidprepareMatrix(com.mojang.blaze3d.vertex.PoseStack poseStack) rotate(double xRot, double yRot, double zRot) rotateBlock(double xRot, double yRot, double zRot) scale(double scale) protected voidtransformMatrix(com.mojang.blaze3d.vertex.PoseStack poseStack) withRotationOffset(net.minecraft.world.phys.Vec3 offset) Methods inherited from class net.createmod.catnip.gui.element.AbstractRenderElement
at, at, getHeight, getWidth, getX, getY, getZ, withAlpha, withBoundsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.createmod.catnip.gui.element.FadableScreenElement
renderMethods inherited from interface net.createmod.catnip.gui.element.RenderElement
render, render
-
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 poseStack) -
transformMatrix
protected void transformMatrix(com.mojang.blaze3d.vertex.PoseStack poseStack) -
cleanUpMatrix
protected void cleanUpMatrix(com.mojang.blaze3d.vertex.PoseStack poseStack) -
prepareLighting
protected void prepareLighting(com.mojang.blaze3d.vertex.PoseStack poseStack) -
cleanUpLighting
protected void cleanUpLighting(com.mojang.blaze3d.vertex.PoseStack poseStack)
-