Class HTFluidWidget.StackWidget
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.widget.HTWidget,hiiragi283.core.api.integration.emi.widget.HTGhostWidget,hiiragi283.core.api.integration.emi.widget.HTIngredientWidget,hiiragi283.core.api.storage.amount.HTAmountView,hiiragi283.core.api.storage.resource.HTResourceView
public final class HTFluidWidget.StackWidget extends HTFluidWidget implements HTGhostWidget
-
-
Field Summary
Fields Modifier and Type Field Description private HTBackgroundTypebackgroundTypeprivate final HTBoundsbounds
-
Constructor Summary
Constructors Constructor Description HTFluidWidget.StackWidget(HTFluidTank tank, Consumer<FluidStack> stackSetter, Integer x, Integer y)HTFluidWidget.StackWidget(HTFluidTank tank, Integer x, Integer y)
-
Method Summary
Modifier and Type Method Description final HTBackgroundTypegetBackgroundType()final UnitsetBackgroundType(HTBackgroundType value)final HTBoundsgetBounds()HTWidgetType<?>getType()HTWidgetTypeを取得します。 UnitsetupHolder(HTWidgetHolder widgetHolder)UnitmouseClicked(Double mouseX, Double mouseY, Integer button)このウィジェットをクリックした時に呼び出されます。 HTGhostWidget.FluidConsumergetGhostConsumer()保持しているGhostIngredientConsumerを取得します。 -
Methods inherited from class hiiragi283.core.common.gui.widget.HTFluidWidget
getIngredient -
Methods inherited from class hiiragi283.core.api.storage.resource.HTResourceView
getCapacity, getCapacity, getLevelAsFloat, getLevelAsFraction, getNeeded, getResource -
Methods inherited from class hiiragi283.core.api.storage.amount.HTAmountView
getAmount, getLevelAsFloat, getLevelAsFraction, getNeeded -
Methods inherited from class hiiragi283.core.api.gui.widget.HTWidget
charTyped, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HTFluidWidget.StackWidget
HTFluidWidget.StackWidget(HTFluidTank tank, Consumer<FluidStack> stackSetter, Integer x, Integer y)
-
HTFluidWidget.StackWidget
HTFluidWidget.StackWidget(HTFluidTank tank, Integer x, Integer y)
-
-
Method Detail
-
getBackgroundType
final HTBackgroundType getBackgroundType()
-
setBackgroundType
final Unit setBackgroundType(HTBackgroundType value)
-
getType
HTWidgetType<?> getType()
HTWidgetTypeを取得します。
-
setupHolder
Unit setupHolder(HTWidgetHolder widgetHolder)
-
mouseClicked
Unit mouseClicked(Double mouseX, Double mouseY, Integer button)
このウィジェットをクリックした時に呼び出されます。
-
getGhostConsumer
HTGhostWidget.FluidConsumer getGhostConsumer()
保持しているGhostIngredientConsumerを取得します。
-
-
-
-