Class SubSpawnSettings
- java.lang.Object
-
- me.main__.util.SerializationConfig.SerializationConfig
-
- com.onarandombox.MultiverseCore.configuration.SubSpawnSettings
-
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class SubSpawnSettings extends me.main__.util.SerializationConfig.SerializationConfig
SpawnSubSettings.
-
-
Constructor Summary
Constructors Constructor Description SubSpawnSettings()
SubSpawnSettings(java.util.Map<java.lang.String,java.lang.Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doSpawn()
java.util.List<java.lang.String>
getExceptions()
int
getSpawnRate()
void
setDefaults()
void
setSpawn(boolean spawn)
void
setSpawnRate(int rate)
-
Methods inherited from class me.main__.util.SerializationConfig.SerializationConfig
buildVPropChanges, copyValues, flushPendingVPropChanges, getAliasMap, getAliasMap, getProperty, getProperty, getPropertyDescription, getPropertyDescription, getPropertyDescriptionUnchecked, getPropertyDescriptionUnchecked, getPropertyUnchecked, getPropertyUnchecked, initLogging, loadValues, registerAlias, registerAlias, registerAll, registerGlobalValidator, registerObjectUsing, registerValidator, serialize, setProperty, setProperty, setPropertyUnchecked, setPropertyUnchecked, setPropertyValue, setPropertyValue, setPropertyValueUnchecked, setPropertyValueUnchecked, unregisterAll
-
-
-
-
Method Detail
-
setDefaults
public void setDefaults()
- Specified by:
setDefaults
in classme.main__.util.SerializationConfig.SerializationConfig
-
doSpawn
public boolean doSpawn()
- Returns:
- spawn
-
setSpawn
public void setSpawn(boolean spawn)
- Parameters:
spawn
- The new value.
-
getExceptions
public java.util.List<java.lang.String> getExceptions()
- Returns:
- The exceptions
-
setSpawnRate
public void setSpawnRate(int rate)
- Parameters:
rate
- The new spawn rate
-
getSpawnRate
public int getSpawnRate()
- Returns:
- The spawn rate
-
-