Class HTFluidSlotElement

  • All Implemented Interfaces:
    com.lowdragmc.lowdraglib2.configurator.IConfigurable , com.lowdragmc.lowdraglib2.gui.sync.bindings.IBindable , com.lowdragmc.lowdraglib2.gui.sync.bindings.IDataConsumer , com.lowdragmc.lowdraglib2.gui.sync.bindings.IDataSource , com.lowdragmc.lowdraglib2.gui.sync.bindings.IObservable , com.lowdragmc.lowdraglib2.registry.ILDLRegister , com.lowdragmc.lowdraglib2.syncdata.IPersistedSerializable , net.neoforged.neoforge.common.util.INBTSerializable

    
    public final class HTFluidSlotElement
    extends FluidSlot
                        

    Hiiragi Coreとそれを前提とするmodで使用されるFluidSlotの拡張クラスです。

    Since:

    0.7.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HTFluidSlotElement xeiRecipeIngredient(IngredientIO io)
      HTFluidSlotElement xeiRecipeSlot(IngredientIO io, Float chance)
      HTFluidSlotElement slotStyle(Consumer<FluidSlot.SlotStyle> style)
      HTFluidSlotElement setFluid(FluidStack fluid)
      HTFluidSlotElement setFluid(FluidStack fluid, Boolean notify)
      HTFluidSlotElement setValue(FluidStack value)
      HTFluidSlotElement setValue(FluidStack value, Boolean notify)
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.ui.UIElement

        adaptPositionToElement, adaptPositionToScreen, addChild, addChildAt, addChildren, addClass, addClasses, addEditorChild, addEventListener, addEventListener, addRPCEvent, addRPCEvent, addServerEventListener, addServerEventListener, addStyleRules, addSyncValue, addSyncValue, allChildrenStream, animation, animation, appendExtraAreas, blur, canAddEditorChild, clearAllChildren, clearAllExternalChildren, clearLayoutCache, clearPoseCache, clearSortedChildrenCache, clearStructurePathCache, copy, disabled, drawBackgroundAdditional, drawBackgroundOverlay, drawBackgroundTexture, drawContents, drawInBackground, drawInBackgroundInternal, focus, getBaubleServerEvent, getBubbleListeners, getCaptureListeners, getCaptureServerEvent, getChatComponent, getChildren, getClasses, getContentHeight, getContentWidth, getContentX, getContentY, getDebugInfo, getEditorIcon, getEditorName, getEditorVisibleChildren, getElementName, getFlattenChildren, getId, getLayout, getLayoutNode, getLayoutStyle, getLayoutX, getLayoutY, getLocalMouse, getLocalToWorldPose, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getModularUI, getPaddingHeight, getPaddingWidth, getPaddingX, getPaddingY, getParent, getPositionX, getPositionY, getRegisterUI, getRegistry, getRegistryHolder, getRegistryHolderOptional, getSafeChildren, getSiblingIndex, getSizeHeight, getSizeWidth, getSortedChildren, getStructurePath, getStyle, getStyleBag, getStyles, getTranslateKey, getWorldToLocalPose, hasChild, hasClass, hasEventListener, hasEventListener, hasParent, initEditorTemplate, initScreen, internalSetup, isActive, isAncestorOf, isChildFocused, isDisplayed, isFocusable, isFocused, isHover, isInternalUI, isLDLRegister, isMouseDown, isMouseOver, isMouseOver, isMouseOverContent, isMouseOverElement, isSelfOrChildHover, isVisible, layout, loadXml, lss, lss, markAsInternal, moveInlineAsDefault, node, onClassIdChanged, onStyleChanged, removeAllRules, removeChild, removeClass, removeEventListener, removeEventListener, removeRPCEvent, removeSelf, removeServerEventListener, removeServerEventListener, removeStyleRules, removeSyncValue, saveXml, screenTick, selfAndAllChildren, selfCall, sendEvent, sendEvent, serverTick, setActive, setDisplay, setDisplay, setEnforceFocus, setFocusable, setId, setOverflow, setOverflowVisible, setVisible, startDrag, stopInteractionEventsPropagation, style, transform
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.ui.elements.FluidSlot

        bind, getCapacity, getFluid, getFluidAmountText, getFullTooltipTexts, getSlotStyle, getValue, isAllowClickDrained, isAllowClickFilled, setAllowClickDrained, setAllowClickFilled, setCapacity, xeiPhantom, xeiRecipeSlot
      • Methods inherited from class com.lowdragmc.lowdraglib2.configurator.IConfigurable

        buildConfigurator, createDirectConfigurator, getConfigurableName
      • Methods inherited from class hiiragi283.core.api.gui.element.HTFluidSlotElement

        setFluid, setValue
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.sync.bindings.IBindable

        bind, unbind
      • Methods inherited from class com.lowdragmc.lowdraglib2.syncdata.IPersistedSerializable

        afterDeserialize, afterSerialize, beforeDeserialize, beforeSerialize, deserializeAdditionalNBT, serializeAdditionalNBT
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.ui.elements.BindableUIElement

        bindDataSource, registerValueListener
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.sync.bindings.IObservable

        bindObserver, unbindObserver
      • Methods inherited from class com.lowdragmc.lowdraglib2.gui.sync.bindings.IDataConsumer

        bindDataSource, unbindDataSource
      • Methods inherited from class com.lowdragmc.lowdraglib2.registry.ILDLRegister

        getRegistryHolder, getRegistryHolderOptional, group, name, registryName
      • Methods inherited from class net.neoforged.neoforge.common.util.INBTSerializable

        deserializeNBT, serializeNBT
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait