Class LegendarySpawner.LegendarySpawnerBuilder<T extends LegendarySpawner>
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.AbstractSpawner.SpawnerBuilder<T>
com.pixelmonmod.pixelmon.api.spawning.archetypes.spawners.TickingSpawner.TickingSpawnerBuilder<T>
com.pixelmonmod.pixelmon.spawning.LegendarySpawner.LegendarySpawnerBuilder<T>
- Enclosing class:
- LegendarySpawner
public static class LegendarySpawner.LegendarySpawnerBuilder<T extends LegendarySpawner>
extends TickingSpawner.TickingSpawnerBuilder<T>
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected Integer
protected Integer
protected Integer
protected Integer
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.archetypes.spawners.TickingSpawner.TickingSpawnerBuilder
capacity, minDistBetweenSpawns, spawnFrequency, spawnLocationCalculator, spawnsPerPass
Fields inherited from class com.pixelmonmod.pixelmon.api.spawning.AbstractSpawner.SpawnerBuilder
cacheMap, checkSpawns, conditions, rarityMultipliers, selectionAlgorithm, spawnSets, tweaks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<E extends LegendarySpawner.LegendarySpawnerBuilder<T>>
EsetDistanceFromCentre
(int minimum, int maximum) <E extends LegendarySpawner.LegendarySpawnerBuilder<T>>
EsetFiresChooseEvent
(boolean firesChooseEvent) <E extends LegendarySpawner.LegendarySpawnerBuilder<T>>
EsetSliceRadii
(int horizontal, int vertical) Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.archetypes.spawners.TickingSpawner.TickingSpawnerBuilder
setCapacity, setDistanceBetweenSpawns, setSpawnFrequency, setSpawnLocationCalculator, setSpawnsPerPass
Methods inherited from class com.pixelmonmod.pixelmon.api.spawning.AbstractSpawner.SpawnerBuilder
addCondition, addRarityMultiplier, addSpawnSets, addSpawnSets, addTweak, getThis, setCheckSpawns, setConditions, setRarityMultipliers, setSelectionAlgorithm, setSpawnSets, setSpawnSets, setTweaks, setupCache
-
Field Details
-
minDistFromCentre
-
maxDistFromCentre
-
horizontalSliceRadius
-
verticalSliceRadius
-
firesChooseEvent
protected boolean firesChooseEvent
-
-
Constructor Details
-
LegendarySpawnerBuilder
public LegendarySpawnerBuilder()
-
-
Method Details
-
setDistanceFromCentre
public <E extends LegendarySpawner.LegendarySpawnerBuilder<T>> E setDistanceFromCentre(int minimum, int maximum) -
setSliceRadii
public <E extends LegendarySpawner.LegendarySpawnerBuilder<T>> E setSliceRadii(int horizontal, int vertical) -
setFiresChooseEvent
public <E extends LegendarySpawner.LegendarySpawnerBuilder<T>> E setFiresChooseEvent(boolean firesChooseEvent) -
apply
- Overrides:
apply
in classTickingSpawner.TickingSpawnerBuilder<T extends LegendarySpawner>
-