Uses of Class
dev.twilite.game.stream.SceneObjectView
Packages that use SceneObjectView
Package
Description
-
Uses of SceneObjectView in dev.twilite.game
Methods in dev.twilite.game that return SceneObjectViewModifier and TypeMethodDescriptionstatic SceneObjectViewGame.objects()Returns scene objects from the root world and local world when different.static SceneObjectViewGame.objects(int layer) Returns scene objects matching a layer mask from the root world and local world when different. -
Uses of SceneObjectView in dev.twilite.game.common
Method parameters in dev.twilite.game.common with type arguments of type SceneObjectViewModifier and TypeMethodDescriptionbooleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback) Casts a spell on an object, walking tofallbackif the object is not available.booleanInteractionScope.castSpellOnObject(Spell spell, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on an object with optional local reachability checks.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op) Interacts with an object, walking tofallbackif the object is not available.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op, boolean skipReachableCheck) Interacts with an object using optional local reachability checks.booleanInteractionScope.object(Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, String op, boolean skipReachableCheck, int distance) Interacts with an object using optional reachability checks and a custom walk distance.booleanInteractionScope.useItemOnObject(int item, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback) Uses an inventory item on an object, walking tofallbackif the object is not available.booleanInteractionScope.useItemOnObject(int item, Function<SceneObjectView, Optional<SceneObject>> query, Coord fallback, boolean skipReachableCheck) Uses an inventory item on an object with optional local reachability checks. -
Uses of SceneObjectView in dev.twilite.game.stream
Methods in dev.twilite.game.stream that return SceneObjectViewModifier and TypeMethodDescriptionSceneObjectView.baseId(int... ids) Filters scene objects by raw object definition id before transforms.SceneObjectView.filter(Predicate<SceneObject> filter) Returns a new scene-object view with an additional filter.SceneObjectView.id(int... ids) Filters scene objects by transformed definition id.SceneObjectView.layer(int... layers) Filters scene objects by layer bit.SceneObjectView.nameContains(String... names) Filters scene objects whose standardized name contains any provided text.Filters scene objects by exact standardized name.Filters scene objects by standardized name predicate.SceneObjectView.not()Returns a new scene-object view with the most recent filter negated.SceneObjectView.or(Predicate<SceneObject> filter) Returns a new scene-object view with the supplied filter OR'ed with the most recent filter.SceneObjectView.shape(int... shape) Filters scene objects by object shape. -
Uses of SceneObjectView in dev.twilite.game.wrapper
Methods in dev.twilite.game.wrapper that return SceneObjectView