public static class AbstractSpawner.SpawnerBuilder<T extends AbstractSpawner>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.HashMap<net.minecraft.util.ResourceLocation,java.util.List<SpawnInfo>> |
cacheMap |
CheckSpawns |
checkSpawns |
java.util.List<SpawnerCondition> |
conditions |
java.util.List<RarityMultiplier> |
rarityMultipliers |
SelectionAlgorithm |
selectionAlgorithm |
java.util.List<SpawnSet> |
spawnSets |
java.util.List<SpawningTweak> |
tweaks |
Constructor and Description |
---|
SpawnerBuilder() |
public java.util.HashMap<net.minecraft.util.ResourceLocation,java.util.List<SpawnInfo>> cacheMap
public java.util.List<SpawnSet> spawnSets
public SelectionAlgorithm selectionAlgorithm
public CheckSpawns checkSpawns
public java.util.List<SpawningTweak> tweaks
public java.util.List<SpawnerCondition> 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(SelectionAlgorithm selectionAlgorithm)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setCheckSpawns(CheckSpawns checkSpawns)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addTweak(SpawningTweak tweak)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setTweaks(java.util.List<SpawningTweak> tweaks)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E addCondition(SpawnerCondition condition)
public <E extends AbstractSpawner.SpawnerBuilder<T>> E setConditions(java.util.List<SpawnerCondition> 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()