Uses of Class
dev.twilite.game.wrapper.IfComponent
Packages that use IfComponent
Package
Description
-
Uses of IfComponent in dev.twilite.game
Methods in dev.twilite.game that return types with arguments of type IfComponentModifier and TypeMethodDescriptionstatic Optional<IfComponent> Interfaces.cc(int id, int child) Returns a dynamic child of a component by packed id and child index.static Optional<IfComponent> Interfaces.component(int id) Returns a component by packed id. -
Uses of IfComponent in dev.twilite.game.common
Method parameters in dev.twilite.game.common with type arguments of type IfComponentModifier and TypeMethodDescriptionbooleanInteractionScope.component(int id, Function<ComponentView, Optional<IfComponent>> ccQuery, String op) Interacts with a dynamic child component selected from a parent component's child view.booleanInteractionScope.resumePause(int id, Function<ComponentView, Optional<IfComponent>> ccQuery) Enqueues a resume/pause-button action on a dynamic child selected from a parent component's child view.static ItemViewItemContainers.view(Supplier<Optional<dev.twilite.game.internal.memory.RSInventory>> inventory, Function<Item, Optional<IfComponent>> componentFunction) -
Uses of IfComponent in dev.twilite.game.facade
Methods in dev.twilite.game.facade that return types with arguments of type IfComponentModifier and TypeMethodDescriptiondefault Optional<IfComponent> TLI.component()Returns the component for the current top-level layout, when it is available. -
Uses of IfComponent in dev.twilite.game.stream
Method parameters in dev.twilite.game.stream with type arguments of type IfComponentModifier and TypeMethodDescriptionComponentView.filter(Predicate<IfComponent> filter) Returns a new component view with an additional filter.ComponentView.or(Predicate<IfComponent> filter) Returns a new component view with the supplied filter OR'ed with the most recent filter.Constructor parameters in dev.twilite.game.stream with type arguments of type IfComponentModifierConstructorDescriptionComponentView(Supplier<Stream<IfComponent>> source) Creates a component view backed by a stream supplier. -
Uses of IfComponent in dev.twilite.game.wrapper
Methods in dev.twilite.game.wrapper that return types with arguments of type IfComponentModifier and TypeMethodDescriptionItem.component()Returns the interface component that currently backs this item stack.IfComponent.dynamicChild(int child) Returns a dynamic child by index.IfComponent.layer()Resolves the raw layer component.IfComponent.parentLayer()Resolves the effective parent layer.Constructor parameters in dev.twilite.game.wrapper with type arguments of type IfComponentModifierConstructorDescriptionItem(int id, int stackSize, int slot, Function<Item, Optional<IfComponent>> componentFunction)