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