public static class PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T extends PlayerTrackingSpawner> extends TickingSpawner.TickingSpawnerBuilder<T>
Modifier and Type | Field and Description |
---|---|
java.lang.Integer |
horizontalSliceRadius |
java.lang.Float |
horizontalTrackFactor |
java.lang.Integer |
maxDistFromCentre |
java.lang.Integer |
minDistFromCentre |
java.lang.Integer |
verticalSliceRadius |
java.lang.Float |
verticalTrackFactor |
capacity, minDistBetweenSpawns, spawnFrequency, spawnLocationCalculator, spawnsPerPass
cacheMap, checkSpawns, conditions, rarityMultipliers, selectionAlgorithm, spawnSets, tweaks
Constructor and Description |
---|
PlayerTrackingSpawnerBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
apply(T spawner) |
<E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> |
setDistanceFromCentre(int minimum,
int maximum) |
<E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> |
setSliceRadii(int horizontal,
int vertical) |
<E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> |
setTrackFactors(float horizontal,
float vertical) |
setCapacity, setDistanceBetweenSpawns, setSpawnFrequency, setSpawnLocationCalculator, setSpawnsPerPass
addCondition, addRarityMultiplier, addSpawnSets, addSpawnSets, addTweak, getThis, setCheckSpawns, setConditions, setRarityMultipliers, setSelectionAlgorithm, setSpawnSets, setSpawnSets, setTweaks, setupCache
public java.lang.Integer minDistFromCentre
public java.lang.Integer maxDistFromCentre
public java.lang.Float horizontalTrackFactor
public java.lang.Float verticalTrackFactor
public java.lang.Integer horizontalSliceRadius
public java.lang.Integer verticalSliceRadius
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setDistanceFromCentre(int minimum, int maximum)
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setTrackFactors(float horizontal, float vertical)
public <E extends PlayerTrackingSpawner.PlayerTrackingSpawnerBuilder<T>> E setSliceRadii(int horizontal, int vertical)
public T apply(T spawner)
apply
in class TickingSpawner.TickingSpawnerBuilder<T extends PlayerTrackingSpawner>