Class WidgetRenderState<W extends StatefulWidget<W>>
java.lang.Object
com.pixelmonmod.api.client.screen.widget.WidgetRenderState<W>
-
Method Summary
Modifier and TypeMethodDescriptioncolor()
design()
net.minecraft.client.gui.GuiGraphics
graphics()
double
mouseX()
double
mouseY()
static <U extends StatefulWidget<U>>
WidgetRenderState<U>of
(net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY, float partialTicks, StatefulWidget<U> widget) static <U extends StatefulWidget<U>>
voidoverride
(StatefulWidget<U> widget, Consumer<WidgetRenderState<U>> action) float
com.mojang.blaze3d.vertex.PoseStack
pose()
position()
render
(ScreenStyle.Design design, Runnable rendering) render
(ScreenStyle.Design design1, Runnable rendering1, ScreenStyle.Design design2, Runnable rendering2) render
(ScreenStyle.Design design1, Runnable rendering1, ScreenStyle.Design design2, Runnable rendering2, ScreenStyle.Design design3, Runnable rendering3) screen()
size()
widget()
-
Method Details
-
of
public static <U extends StatefulWidget<U>> WidgetRenderState<U> of(net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY, float partialTicks, StatefulWidget<U> widget) -
override
public static <U extends StatefulWidget<U>> void override(StatefulWidget<U> widget, Consumer<WidgetRenderState<U>> action) -
graphics
public net.minecraft.client.gui.GuiGraphics graphics() -
pose
public com.mojang.blaze3d.vertex.PoseStack pose() -
mouseX
public double mouseX() -
mouseY
public double mouseY() -
partialTicks
public float partialTicks() -
screen
-
widget
-
position
-
size
-
design
-
colorScheme
-
color
-
color
-
render
-
render
public WidgetRenderState<W> render(ScreenStyle.Design design1, Runnable rendering1, ScreenStyle.Design design2, Runnable rendering2) -
render
public WidgetRenderState<W> render(ScreenStyle.Design design1, Runnable rendering1, ScreenStyle.Design design2, Runnable rendering2, ScreenStyle.Design design3, Runnable rendering3)
-