Uses of Class
dev.twilite.game.stream.PlayerView
Packages that use PlayerView
-
Uses of PlayerView in dev.twilite.game
Methods in dev.twilite.game that return PlayerViewModifier and TypeMethodDescriptionstatic PlayerViewGame.players()Returns loaded players from the root world and local world when different. -
Uses of PlayerView in dev.twilite.game.common
Method parameters in dev.twilite.game.common with type arguments of type PlayerViewModifier and TypeMethodDescriptionbooleanInteractionScope.castSpellOnPlayer(Spell spell, Function<PlayerView, Optional<Player>> query, Coord fallback) Casts a spell on a player, walking tofallbackif the player is not available.booleanInteractionScope.castSpellOnPlayer(Spell spell, Function<PlayerView, Optional<Player>> query, Coord fallback, boolean skipReachableCheck) Casts a spell on a player with optional local reachability checks.booleanInteracts with a player, walking tofallbackif the player is not available.booleanInteractionScope.player(Function<PlayerView, Optional<Player>> query, Coord fallback, String op, boolean skipReachableCheck) Interacts with a player using optional local reachability checks.booleanInteractionScope.player(Function<PlayerView, Optional<Player>> query, Coord fallback, String op, boolean skipReachableCheck, int distance) Interacts with a player using optional reachability checks and a custom walk distance.booleanInteractionScope.useItemOnPlayer(int item, Function<PlayerView, Optional<Player>> query, Coord fallback) Uses an inventory item on a player, walking tofallbackif the player is not available.booleanInteractionScope.useItemOnPlayer(int item, Function<PlayerView, Optional<Player>> query, Coord fallback, boolean skipReachableCheck) Uses an inventory item on a player with optional local reachability checks. -
Uses of PlayerView in dev.twilite.game.wrapper
Methods in dev.twilite.game.wrapper that return PlayerView