public class SpawnInfoWormhole extends SpawnInfo
Modifier and Type | Field and Description |
---|---|
int |
maxMaxAge |
int |
minMaxAge |
static java.lang.String |
TYPE_ID_WORMHOLE |
anticondition, chance, compositeCondition, condition, groupSpawnSettings, GSON, locationTypes, percentage, rarity, rarityMultipliers, requiredSpace, set, spawnInfoTypes, stringLocationTypes, tags, typeID
Constructor and Description |
---|
SpawnInfoWormhole() |
Modifier and Type | Method and Description |
---|---|
SpawnAction<? extends net.minecraft.entity.Entity> |
construct(AbstractSpawner spawner,
SpawnLocation spawnLocation)
Constructs a
SpawnAction based on the information in this SpawnInfo, the AbstractSpawner , and the SpawnLocation . |
boolean |
fits(AbstractSpawner spawner,
SpawnLocation spawnLocation)
Calculates if this SpawnInfo is capable of spawning at the given location.
|
java.lang.String |
toString()
Gets the display String for use in /checkspawns.
|
calculateNominalRarity, getAdjustedRarity, onExport, onImport
public static final java.lang.String TYPE_ID_WORMHOLE
public int minMaxAge
public int maxMaxAge
public SpawnAction<? extends net.minecraft.entity.Entity> construct(AbstractSpawner spawner, SpawnLocation spawnLocation)
SpawnInfo
SpawnAction
based on the information in this SpawnInfo, the AbstractSpawner
, and the SpawnLocation
.public boolean fits(AbstractSpawner spawner, SpawnLocation spawnLocation)
SpawnInfo