Interface World
- All Superinterfaces:
WorldProvider
Represents a world.
-
Method Summary
Methods inherited from interface WorldProvider
worlds
-
Method Details
-
of
Creates a new world based on a name and an id- Parameters:
name- world nameid- world iddataCenter- datacenter of world- Returns:
- new world instance
-
name
-
id
int id()ID of the world.This id might be -1 if the world was unknown
- Returns:
- id
-
dataCenter
-