Uses of Class
dev.twilite.game.wrapper.Npc
Packages that use Npc
-
Uses of Npc in dev.twilite.game.common
Method parameters in dev.twilite.game.common with type arguments of type NpcModifier and TypeMethodDescriptionbooleanCasts a spell on an NPC, walking tofallbackif the NPC is not available.booleanInteractionScope.castSpellOnNpc(Spell spell, Function<NpcView, Optional<Npc>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on an NPC with optional local reachability checks.booleanInteracts with an NPC, walking tofallbackif the NPC is not available.booleanInteractionScope.npc(Function<NpcView, Optional<Npc>> query, Coord fallback, String op, boolean skipReachableCheck) Interacts with an NPC using optional local reachability checks.booleanInteractionScope.npc(Function<NpcView, Optional<Npc>> query, Coord fallback, String op, boolean skipReachableCheck, int distance) Interacts with an NPC using optional reachability checks and a custom walk distance.booleanInteractionScope.talkTo(Function<NpcView, Optional<Npc>> query, Coord fallback, boolean skipReachableCheck, String... dialog) Selects matching dialogue or talks to an NPC with optional local reachability checks.booleanSelects matching dialogue or talks to an NPC, walking tofallbackif the NPC is not available.booleanUses an inventory item on an NPC, walking tofallbackif the NPC is not available.booleanInteractionScope.useItemOnNpc(int item, Function<NpcView, Optional<Npc>> query, Coord fallback, boolean skipReachableCheck) Uses an inventory item on an NPC with optional local reachability checks. -
Uses of Npc in dev.twilite.game.stream
Constructor parameters in dev.twilite.game.stream with type arguments of type Npc -
Uses of Npc in dev.twilite.game.wrapper
Methods in dev.twilite.game.wrapper that return types with arguments of type Npc