Class Research
java.lang.Object
com.pixelmonmod.api.client.screen.widget.StatefulWidget<Research>
com.pixelmonmod.api.client.screen.widget.misc.Research
- All Implemented Interfaces:
ResearchLike,States<Research>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolor(WidgetRenderState<Research> state) voidcopyState(ResearchLike like) static Researchcreate(ClientResearch research) onKeyPressed(Action action, int keyCode, int scanCode, int modifiers) onKeyReleased(Action action, int keyCode, int scanCode, int modifiers) onMouseClicked(Action action, double mouseX, double mouseY, int button) onMouseDragged(Action action, double mouseX, double mouseY, int button, double deltaX, double deltaY) onMouseReleased(Action action, double mouseX, double mouseY, int button) onMouseScrolled(Action action, double mouseX, double mouseY, double deltaX, double deltaY) voidrender(WidgetRenderState<Research> state) research(ClientResearch research) voidtick()booleanupdate(ClientResearch research) Methods inherited from class com.pixelmonmod.api.client.screen.widget.StatefulWidget
bounds, boundsOffset, boundsOffset, boundsOffset, child, children, contains, contains, defaultTypeface, draggableInternal, draggedInternal, enabledInternal, equals, focusableInternal, focusedInternal, hashCode, hoverableInternal, hoveredInternal, index, index, init, init, initInternal, minecraft, offset, offset, offset, onCharTyped, onCharTypedInternal, onKeyPressedInternal, onKeyReleasedInternal, onMouseClickedInternal, onMouseDraggedInternal, onMouseMoved, onMouseMovedInternal, onMousePressedInternal, onMouseReleasedInternal, 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, tickableInternal, tickInternal, toString, transform, transform, uid, 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
-
Constructor Details
-
Research
protected Research()
-
-
Method Details
-
create
-
research
-
color
-
update
- Specified by:
updatein interfaceResearchLike
-
render
- Overrides:
renderin classStatefulWidget<Research>
-
color
-
onMouseReleased
- Overrides:
onMouseReleasedin classStatefulWidget<Research>
-
onMouseDragged
public Action onMouseDragged(Action action, double mouseX, double mouseY, int button, double deltaX, double deltaY) - Overrides:
onMouseDraggedin classStatefulWidget<Research>
-
onMouseClicked
- Overrides:
onMouseClickedin classStatefulWidget<Research>
-
tick
public void tick()- Overrides:
tickin classStatefulWidget<Research>
-
onKeyPressed
- Overrides:
onKeyPressedin classStatefulWidget<Research>
-
onKeyReleased
- Overrides:
onKeyReleasedin classStatefulWidget<Research>
-
onMouseScrolled
public Action onMouseScrolled(Action action, double mouseX, double mouseY, double deltaX, double deltaY) - Overrides:
onMouseScrolledin classStatefulWidget<Research>
-
copyState
- Specified by:
copyStatein interfaceResearchLike
-
colorTable
- Overrides:
colorTablein classStatefulWidget<Research>
-