Class Image
java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<Image>
com.pixelmonmod.api.client.screen.widget.misc.Image
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolor
(float r, float g, float b, float a) color
(int r, int g, int b, int a) static Image
static Image
create
(net.minecraft.resources.ResourceLocation texture) void
render
(WidgetRenderState<Image> state) uv
(float us, float vs, float ue, float ve) uv
(int size, int us, int vs, int ue, int ve) uvDrawMode
(Image.DrawMode uvDrawMode) Methods inherited from class com.pixelmonmod.api.client.screen.widget.StatefulWidget
bounds, boundsOffset, boundsOffset, boundsOffset, child, children, colorTable, contains, contains, defaultTypeface, draggableInternal, draggedInternal, enabledInternal, equals, focusableInternal, focusedInternal, hashCode, hoverableInternal, hoveredInternal, index, index, init, init, initInternal, minecraft, offset, offset, offset, onCharTyped, onCharTypedInternal, onKeyPressed, onKeyPressedInternal, onKeyReleased, onKeyReleasedInternal, onMouseClicked, onMouseClickedInternal, onMouseDragged, onMouseDraggedInternal, onMouseMoved, onMouseMovedInternal, onMousePressedInternal, onMouseReleased, onMouseReleasedInternal, onMouseScrolled, onMouseScrolledInternal, owner, owner, parent, parent, play, play, play, play, play, play, playClick, player, position, position, position, position, positionRemap, positionRemap, postRender, postRender, postTick, preRender, preRender, preTick, rawPosition, rawSize, renderInternal, self, size, size, size, size, sizeRemap, sizeRemap, stateInternal, tick, tickableInternal, tickInternal, toString, transform, transform, uid, visibleInternal, widget
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.pixelmonmod.api.client.screen.widget.States
active, disable, disabled, doesNotTick, draggable, draggable, dragged, dragged, enable, enabled, enabled, focusable, focusable, focused, focused, hidden, hide, hoverable, hoverable, hovered, hovered, inactive, noTicks, receivesTicks, show, state, state, state, tickable, ticks, visible, visible
-
Constructor Details
-
Image
protected Image(net.minecraft.resources.ResourceLocation texture)
-
-
Method Details
-
create
-
create
-
uv
-
uv
-
color
-
color
-
color
-
uvDrawMode
-
render
- Overrides:
render
in classStatefulWidget<Image>
-