Class InfoWidget
java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<InfoWidget>
com.pixelmonmod.api.client.screen.widget.misc.InfoWidget
- All Implemented Interfaces:
States<InfoWidget>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InfoWidgetcreate(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component description) description(net.minecraft.network.chat.Component description) icon(net.minecraft.network.chat.Component icon) voidrender(WidgetRenderState<InfoWidget> state) title(net.minecraft.network.chat.Component title) 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, 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, postMouseClicked, postRender, postRender, postTick, preMouseClicked, preRender, preRender, preTick, rawPosition, rawSize, renderInternal, self, size, size, size, size, sizeRemap, sizeRemap, stateInternal, tick, tickableInternal, tickInternal, toString, transform, transform, uid, updateBounds, visibleInternal, widgetMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-
Field Details
-
DEFAULT_ICON
public static final net.minecraft.network.chat.Component DEFAULT_ICON
-
-
Constructor Details
-
InfoWidget
protected InfoWidget()
-
-
Method Details
-
create
public static InfoWidget create(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component description) -
title
-
description
-
icon
-
render
- Overrides:
renderin classStatefulWidget<InfoWidget>
-