Class RenderElement
java.lang.Object
com.simibubi.create.foundation.gui.element.RenderElement
- All Implemented Interfaces:
ScreenElement
- Direct Known Subclasses:
BoxElement,GuiGameElement.GuiRenderBuilder,RenderElement.SimpleRenderElement,StencilElement
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends RenderElement>
Tat(float x, float y) <T extends RenderElement>
Tat(float x, float y, float z) intintgetWidth()floatgetX()floatgetY()floatgetZ()static RenderElementof(ScreenElement renderable) abstract voidrender(com.mojang.blaze3d.vertex.PoseStack ms) voidrender(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y) <T extends RenderElement>
TwithAlpha(float alpha) <T extends RenderElement>
TwithBounds(int width, int height)
-
Field Details
-
EMPTY
-
width
protected int width -
height
protected int height -
x
protected float x -
y
protected float y -
z
protected float z -
alpha
protected float alpha
-
-
Constructor Details
-
RenderElement
public RenderElement()
-
-
Method Details
-
of
-
at
-
at
-
withBounds
-
withAlpha
-
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getX
public float getX() -
getY
public float getY() -
getZ
public float getZ() -
render
public abstract void render(com.mojang.blaze3d.vertex.PoseStack ms) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y) - Specified by:
renderin interfaceScreenElement
-