Class SpawnSet
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.SpawnSet
A set of spawns with various properties. Has a unique name contains
SpawnInfos.
https://pixelmonmod.com/wiki/index.php?title=Better_Spawner/Spawn_Set
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.gson.Gson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpawnSetdeserialize(Reader reader) static SpawnSetdeserialize(Reader reader, Class<? extends SpawnSet> targetedSpawnSetClass) static SpawnSetdeserialize(String contents) static SpawnSetdeserialize(String contents, Class<? extends SpawnSet> targetedSpawnSetClass) iterator()voidonImport()suitableSpawnsFor(AbstractSpawner spawner, SpawnLocation spawnLocation) Returns all containedSpawnInfos that suit the givenSpawnLocation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 containedSpawnInfos that suit the givenSpawnLocation. This method is not responsible for any random calculations. -
deserialize
-
deserialize
-
deserialize
-
deserialize
-
iterator
-