public static class AbstractSpawner.SpawnerBuilder<T extends AbstractSpawner>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<net.minecraft.world.biome.Biome,java.util.List<SpawnInfo>> |
cacheMap |
ICheckSpawns |
checkSpawns |
java.util.List<ISpawnerCondition> |
conditions |
java.util.List<RarityMultiplier> |
rarityMultipliers |
ISelectionAlgorithm |
selectionAlgorithm |
java.util.List<SpawnSet> |
spawnSets |
java.util.List<ISpawningTweak> |
tweaks |
Constructor and Description |
---|
SpawnerBuilder() |
public java.util.HashMap<net.minecraft.world.biome.Biome,java.util.List<SpawnInfo>> cacheMap
public java.util.List<SpawnSet> spawnSets
public ISelectionAlgorithm selectionAlgorithm
public ICheckSpawns checkSpawns
public java.util.List<ISpawningTweak> tweaks
public java.util.List<ISpawnerCondition> conditions
public java.util.List<RarityMultiplier> rarityMultipliers
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addSpawnSets(SpawnSet... spawnSets)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addSpawnSets(java.util.Collection<SpawnSet> spawnSets)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setSpawnSets(SpawnSet... spawnSets)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setSpawnSets(java.util.List<SpawnSet> spawnSets)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setupCache()
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setSelectionAlgorithm(ISelectionAlgorithm selectionAlgorithm)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setCheckSpawns(ICheckSpawns checkSpawns)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addTweak(ISpawningTweak tweak)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setTweaks(java.util.List<ISpawningTweak> tweaks)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addCondition(ISpawnerCondition condition)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setConditions(java.util.List<ISpawnerCondition> conditions)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addRarityMultiplier(RarityMultiplier rarityMultiplier)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setRarityMultipliers(java.util.List<RarityMultiplier> rarityMultipliers)
protected <E> E getThis()