Class HTProgressWidget
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.widget.HTWidget,hiiragi283.core.api.integration.jei.widget.HTRecipeAreaWidget
public final class HTProgressWidget extends HTAbstractWidget implements HTRecipeAreaWidget<HTProgressWidget>
-
-
Field Summary
Fields Modifier and Type Field Description private ResourceLocationtextureprivate final ResourceLocationbackgroundTextureprivate HTFillDirectionfillDirectionprivate final HTBoundsbounds
-
Constructor Summary
Constructors Constructor Description HTProgressWidget(HTFractionSyncSlot syncSlot, HTBounds bounds)HTProgressWidget(HTFractionSyncSlot syncSlot, Integer x, Integer y, Integer width, Integer height)
-
Method Summary
Modifier and Type Method Description final ResourceLocationgetTexture()final UnitsetTexture(ResourceLocation value)final ResourceLocationgetBackgroundTexture()final HTFillDirectiongetFillDirection()final UnitsetFillDirection(HTFillDirection value)final HTBoundsgetBounds()final HTProgressWidgetsetTexture(ResourceLocation texture)final HTProgressWidgetsetDirection(HTFillDirection direction)final FractiongetProgress()HTWidgetType<HTProgressWidget>getType()HTWidgetTypeを取得します。 UnitsetupHolder(HTWidgetHolder widgetHolder)Iterable<HTRecipeViewerType<?>>getSupportedRecipeTypes()サポートしているレシピの種類を取得します。 HTProgressWidgetsetSupportedRecipeTypes(Iterable<HTRecipeViewerType<?>> recipeTypes)サポートするレシピの種類を追加します。 final static HTProgressWidgetcreateArrow(HTFractionSyncSlot syncSlot, Integer x, Integer y)-
Methods inherited from class hiiragi283.core.api.integration.jei.widget.HTRecipeAreaWidget
isRecipeAreaActive, setSupportedRecipeTypes -
Methods inherited from class hiiragi283.core.api.gui.widget.HTWidget
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, onInit -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTProgressWidget
HTProgressWidget(HTFractionSyncSlot syncSlot, HTBounds bounds)
-
HTProgressWidget
HTProgressWidget(HTFractionSyncSlot syncSlot, Integer x, Integer y, Integer width, Integer height)
-
-
Method Detail
-
getTexture
final ResourceLocation getTexture()
-
setTexture
final Unit setTexture(ResourceLocation value)
-
getBackgroundTexture
final ResourceLocation getBackgroundTexture()
-
getFillDirection
final HTFillDirection getFillDirection()
-
setFillDirection
final Unit setFillDirection(HTFillDirection value)
-
setTexture
final HTProgressWidget setTexture(ResourceLocation texture)
-
setDirection
final HTProgressWidget setDirection(HTFillDirection direction)
-
getProgress
final Fraction getProgress()
-
getType
HTWidgetType<HTProgressWidget> getType()
HTWidgetTypeを取得します。
-
setupHolder
Unit setupHolder(HTWidgetHolder widgetHolder)
-
getSupportedRecipeTypes
Iterable<HTRecipeViewerType<?>> getSupportedRecipeTypes()
サポートしているレシピの種類を取得します。
- Returns:
-
setSupportedRecipeTypes
HTProgressWidget setSupportedRecipeTypes(Iterable<HTRecipeViewerType<?>> recipeTypes)
サポートするレシピの種類を追加します。
- Returns:
このウィジェットのインスタンス
-
createArrow
final static HTProgressWidget createArrow(HTFractionSyncSlot syncSlot, Integer x, Integer y)
-
-
-
-