Package org.kikikan.deadbymoonlight.game
Class World
- java.lang.Object
-
- org.kikikan.deadbymoonlight.game.World
-
public final class World extends java.lang.Object
Has every information regarding the Arena. Most of this is probably useless to you and you should only useWorldManager
when dealing with the Arena.
-
-
Constructor Summary
Constructors Constructor Description World(org.bukkit.configuration.file.FileConfiguration fc, boolean isTemp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
errorMessage()
java.util.ArrayList<org.bukkit.Location>
getChestSpawns()
int
getChestsToSpawn()
java.util.ArrayList<org.bukkit.Location>
getGenerators()
int
getGeneratorsRepairTime()
int
getGeneratorsToRepair()
int
getGeneratorsToSpawn()
double
getGenHorizontalDistance()
double
getGenVerticalDistance()
java.util.ArrayList<org.bukkit.Location>
getHatchSpawns()
java.util.ArrayList<org.bukkit.Location>
getHooks()
java.util.ArrayList<org.bukkit.Location>
getKillerSpawns()
java.util.Optional<org.bukkit.Location>
getLobbyLocation()
int
getMaxPlayers()
int
getMinSurvivors()
java.lang.String
getName()
java.util.ArrayList<org.bukkit.Location>
getSurvivorSpawns()
java.util.ArrayList<org.bukkit.Location>
getTotems()
java.lang.String
getWorldName()
boolean
isUsable()
-
-
-
Method Detail
-
isUsable
public boolean isUsable()
-
errorMessage
public java.lang.String errorMessage()
-
getGenerators
public java.util.ArrayList<org.bukkit.Location> getGenerators()
-
getHooks
public java.util.ArrayList<org.bukkit.Location> getHooks()
-
getHatchSpawns
public java.util.ArrayList<org.bukkit.Location> getHatchSpawns()
-
getLobbyLocation
public java.util.Optional<org.bukkit.Location> getLobbyLocation()
-
getSurvivorSpawns
public java.util.ArrayList<org.bukkit.Location> getSurvivorSpawns()
-
getKillerSpawns
public java.util.ArrayList<org.bukkit.Location> getKillerSpawns()
-
getChestSpawns
public java.util.ArrayList<org.bukkit.Location> getChestSpawns()
-
getTotems
public java.util.ArrayList<org.bukkit.Location> getTotems()
-
getName
public java.lang.String getName()
-
getWorldName
public java.lang.String getWorldName()
-
getGeneratorsToSpawn
public int getGeneratorsToSpawn()
-
getGeneratorsToRepair
public int getGeneratorsToRepair()
-
getGeneratorsRepairTime
public int getGeneratorsRepairTime()
-
getGenHorizontalDistance
public double getGenHorizontalDistance()
-
getGenVerticalDistance
public double getGenVerticalDistance()
-
getChestsToSpawn
public int getChestsToSpawn()
-
getMinSurvivors
public int getMinSurvivors()
-
getMaxPlayers
public int getMaxPlayers()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-