public class WorldScaling extends Object
Modifier and Type | Field and Description |
---|---|
static ConcurrentHashMap<String,WorldScaling> |
worldSettings |
Constructor and Description |
---|
WorldScaling(String world) |
WorldScaling(String world,
MythicConfig mc) |
Modifier and Type | Method and Description |
---|---|
static WorldScaling |
get(String world) |
static int |
getLevelBonus(AbstractLocation l) |
double |
getScaleFactor_BlocksFromSpawn() |
String |
getWorldName() |
static void |
initialize(String world,
MythicConfig mc) |
boolean |
isEnabled() |
static void |
reset() |
public static ConcurrentHashMap<String,WorldScaling> worldSettings
public WorldScaling(String world, MythicConfig mc)
public WorldScaling(String world)
public boolean isEnabled()
public String getWorldName()
public double getScaleFactor_BlocksFromSpawn()
public static void initialize(String world, MythicConfig mc)
public static WorldScaling get(String world)
public static void reset()
public static int getLevelBonus(AbstractLocation l)
Copyright © 2020. All rights reserved.