public class PixelmonSpawning
extends java.lang.Object
SpawnerCoordinator
, many of the set
list references, and the trigger spawners used directly in the different sections
of the codebase such as in fishing and external moves.
It is strongly advised to add to or configure Pixelmon's implementation instead of attempting to bypass this class.
Constructor and Description |
---|
PixelmonSpawning() |
Modifier and Type | Method and Description |
---|---|
static void |
addRegularSpawners(SpawnerCoordinator coordinator) |
static void |
clearSpawning() |
static java.util.Map<java.lang.String,java.util.List<SpawnSet>> |
getAll()
Get all loaded spawn sets per spawner type
|
static void |
initialize()
Performs registration of all
SpawnSet s and initializes all spawners. |
static void |
loadSpawnSet(SpawnSet set,
net.minecraft.util.ResourceLocation rl) |
static void |
startTrackingSpawner()
Starts the
TrackingSpawnerCoordinator , the top class of Pixelmon's implementation of the Better Spawner. |
public static SpawnerCoordinator coordinator
public static java.util.List<SpawnSet> standard
SpawnSet
s, for the PlayerTrackingSpawner
.public static java.util.List<SpawnSet> legendaries
SpawnSet
s used for the legendary spawner.public static java.util.List<SpawnSet> fishing
SpawnSet
s used for fishingSpawner
.public static java.util.List<SpawnSet> npcs
SpawnSet
s, for the PlayerTrackingSpawner
.public static java.util.List<SpawnSet> rocksmash
SpawnSet
s used for rocksmashSpawner
.public static java.util.List<SpawnSet> headbutt
SpawnSet
s used for headbuttSpawner
.public static java.util.List<SpawnSet> sweetscent
SpawnSet
s used for sweetscentSpawner
.public static java.util.List<SpawnSet> curry
SpawnSet
s used for currySpawner
.public static java.util.List<SpawnSet> grass
SpawnSet
s used for grassSpawner
.public static java.util.List<SpawnSet> tallgrass
SpawnSet
s used for tallGrassSpawner
.public static java.util.List<SpawnSet> seaweed
SpawnSet
s used for seaweedSpawner
.public static java.util.List<SpawnSet> caveRock
SpawnSet
s used for caveRockSpawner
.public static java.util.List<SpawnSet> forage
SpawnSet
s userd for forageSpawner
.public static LegendarySpawner legendarySpawner
LegendarySpawner
used for legendary spawning.public static LegendarySpawner megaBossSpawner
LegendarySpawner
used for mega boss spawning.public static TriggerSpawner fishingSpawner
TriggerSpawner
used for fishing.public static TriggerSpawner rocksmashSpawner
TriggerSpawner
used for Rock Smash.public static TriggerSpawner headbuttSpawner
TriggerSpawner
used for Headbutt.public static TriggerSpawner sweetscentSpawner
TriggerSpawner
used for Sweet Scent.public static TriggerSpawner currySpawner
TriggerSpawner
used for curry.public static TriggerSpawner grassSpawner
TriggerSpawner
used for Pixelmon grass.public static TriggerSpawner tallGrassSpawner
TriggerSpawner
used for tall grass (NOT IMPLEMENTED).public static TriggerSpawner seaweedSpawner
TriggerSpawner
used for seaweed (NOT IMPLEMENTED).public static TriggerSpawner caveRockSpawner
TriggerSpawner
used for cave rocks.public static TriggerSpawner forageSpawner
TriggerSpawner
userd for foragepublic static PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<PlayerTrackingSpawner> trackingSpawnerPreset
PlayerTrackingSpawner
s.public static LegendarySpawner.LegendarySpawnerBuilder<LegendarySpawner> legendarySpawnerPreset
LegendarySpawner
for legendaries.public static LegendarySpawner.LegendarySpawnerBuilder<LegendarySpawner> megaBossSpawnerPreset
LegendarySpawner
s for mega bosses.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> rockSmashPreset
TriggerSpawner
for Rock Smash spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> headbuttPreset
TriggerSpawner
for Headbutt spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> sweetScentPreset
TriggerSpawner
for Sweet Scent spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> curryPreset
TriggerSpawner
for Curry spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> pixelmonGrassPreset
TriggerSpawner
for Pixelmon grass spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> pixelmonDoubleGrassPreset
TriggerSpawner
for Pixelmon double-grass spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> seaweedPreset
TriggerSpawner
for seaweed spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> caverockPreset
TriggerSpawner
for cave rock spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> fishingPreset
TriggerSpawner
for fishing spawning.public static AbstractSpawner.SpawnerBuilder<TriggerSpawner> foragePreset
TriggerSpawner
for forage spawning.public static void startTrackingSpawner()
TrackingSpawnerCoordinator
, the top class of Pixelmon's implementation of the Better Spawner.public static void clearSpawning()
public static void loadSpawnSet(SpawnSet set, net.minecraft.util.ResourceLocation rl)
public static void initialize()
SpawnSet
s and initializes all spawners. This does not start the tracking coordinator yet.public static void addRegularSpawners(SpawnerCoordinator coordinator)
public static java.util.Map<java.lang.String,java.util.List<SpawnSet>> getAll()