Class PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T extends PlayerTrackingSpawner>
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.PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>
- Enclosing class:
- PlayerTrackingSpawner
public static class PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T extends PlayerTrackingSpawner>
extends TickingSpawner.TickingSpawnerBuilder<T>
-
Field Summary
Modifier and TypeFieldDescriptionFields 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 PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>>
EsetDistanceFromCentre
(int minimum, int maximum) <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>>
EsetSliceRadii
(int horizontal, int vertical) <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>>
EsetTrackFactors
(float horizontal, float 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
-
horizontalTrackFactor
-
verticalTrackFactor
-
horizontalSliceRadius
-
verticalSliceRadius
-
-
Constructor Details
-
PlayerTrackingSpawnerBuilder
public PlayerTrackingSpawnerBuilder()
-
-
Method Details
-
setDistanceFromCentre
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setDistanceFromCentre(int minimum, int maximum) -
setTrackFactors
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setTrackFactors(float horizontal, float vertical) -
setSliceRadii
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setSliceRadii(int horizontal, int vertical) -
apply
- Overrides:
apply
in classTickingSpawner.TickingSpawnerBuilder<T extends PlayerTrackingSpawner>
-