Class SpawnSet
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnSet
A set of spawns with various properties. Has a unique name contains
SpawnInfo
s.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Set
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.google.gson.Gson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpawnSet
deserialize
(Reader reader) static SpawnSet
deserialize
(Reader reader, Class<? extends SpawnSet> targetedSpawnSetClass) static SpawnSet
deserialize
(String contents) static SpawnSet
deserialize
(String contents, Class<? extends SpawnSet> targetedSpawnSetClass) iterator()
void
onImport()
suitableSpawnsFor
(AbstractSpawner spawner, SpawnLocation spawnLocation) Returns all containedSpawnInfo
s that suit the givenSpawnLocation
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
CLASS
-
GSON
public static final com.google.gson.Gson GSON -
id
-
setSpecificShinyRate
-
setSpecificPokerusRate
-
spawnInfos
-
-
Constructor Details
-
SpawnSet
public SpawnSet()
-
-
Method Details
-
onImport
public void onImport() -
suitableSpawnsFor
Returns all containedSpawnInfo
s that suit the givenSpawnLocation
. This method is not responsible for any random calculations. -
deserialize
-
deserialize
-
deserialize
-
deserialize
-
iterator
-