Class HTItemWidget.SlotWidget
-
- All Implemented Interfaces:
-
hiiragi283.core.api.gui.widget.HTWidget,hiiragi283.core.api.integration.emi.widget.HTIngredientWidget
public final class HTItemWidget.SlotWidget extends HTItemWidget
-
-
Field Summary
Fields Modifier and Type Field Description private final Slotslotprivate HTBackgroundTypebackgroundTypeprivate final HTBoundsbounds
-
Constructor Summary
Constructors Constructor Description HTItemWidget.SlotWidget(Slot slot)
-
Method Summary
Modifier and Type Method Description final SlotgetSlot()final HTBackgroundTypegetBackgroundType()final UnitsetBackgroundType(HTBackgroundType value)final HTBoundsgetBounds()HTWidgetType<?>getType()HTWidgetTypeを取得します。 ItemStackgetIngredient()保持しているオブジェクトを取得します。 -
Methods inherited from class hiiragi283.core.api.gui.widget.HTWidget
charTyped, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setupHolder -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSlot
final Slot getSlot()
-
getBackgroundType
final HTBackgroundType getBackgroundType()
-
setBackgroundType
final Unit setBackgroundType(HTBackgroundType value)
-
getType
HTWidgetType<?> getType()
HTWidgetTypeを取得します。
-
getIngredient
ItemStack getIngredient()
保持しているオブジェクトを取得します。
- Returns:
空の場合は
null
-
-
-
-