Last updated
Last updated
Ouranos API has bunch of functions you can use to interact with Ouranos worlds.
All of these functions uses integrated Database to work, that's why they are throwing an exception
This method returns all settlements (cities and villages) loaded in the world
This method returns all cities loaded in the world
This method returns all villages loaded in the world
This method will return the settlement at the specific location, or null if there's no settlement at this location
Settlement is the superclass of Village and City, you can then use the instanceof keyword to get the city or village from a settlement.