Class Titan
java.lang.Object
io.github.addoncommunity.galactifun.api.universe.UniversalObject
io.github.addoncommunity.galactifun.api.universe.PlanetaryObject
io.github.addoncommunity.galactifun.api.worlds.PlanetaryWorld
io.github.addoncommunity.galactifun.api.worlds.AlienWorld
io.github.addoncommunity.galactifun.base.universe.saturn.Titan
Class for the Saturnian moon Titan
-
Field Summary
Fields inherited from class AlienWorld
CHUNK_VER_KEYFields inherited from class UniversalObject
id, orbitLevel -
Constructor Summary
ConstructorsConstructorDescriptionTitan(String name, PlanetaryType type, Orbit orbit, PlanetaryObject orbiting, org.bukkit.inventory.ItemStack baseItem, DayCycle dayCycle, Atmosphere atmosphere, Gravity gravity) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateChunk(org.bukkit.generator.ChunkGenerator.ChunkData chunk, Random random, org.bukkit.generator.WorldInfo world, int chunkX, int chunkZ) Generate a chunkprotected voidgenerateSurface(org.bukkit.generator.ChunkGenerator.ChunkData chunk, Random random, org.bukkit.generator.WorldInfo world, int chunkX, int chunkZ) Optionally, generate the surface step of the worldprotected org.bukkit.generator.BiomeProvidergetBiomeProvider(org.bukkit.generator.WorldInfo info) Get theBiomeProviderfor this worldvoidgetPopulators(List<org.bukkit.generator.BlockPopulator> populators) Add all chunk populators to this listMethods inherited from class AlienWorld
addBlockMapping, addSpecies, applyEffects, canSpawnVanillaMobs, enabledByDefault, generateChunk, getBedrockLayer, getMappedItem, getSetting, loadWorld, replaceChunkGenerator, tickWorldMethods inherited from class PlanetaryWorld
addon, enabled, isRegistered, register, registerGEOResource, resources, world, worldStorageMethods inherited from class PlanetaryObject
atmosphere, dayCycle, gravityMethods inherited from class UniversalObject
distanceTo, hashCode, id, item, name, orbit, orbiters, orbiting
-
Constructor Details
-
Titan
public Titan(String name, PlanetaryType type, Orbit orbit, PlanetaryObject orbiting, org.bukkit.inventory.ItemStack baseItem, DayCycle dayCycle, Atmosphere atmosphere, Gravity gravity)
-
-
Method Details
-
generateChunk
protected void generateChunk(@Nonnull org.bukkit.generator.ChunkGenerator.ChunkData chunk, @Nonnull Random random, @Nonnull org.bukkit.generator.WorldInfo world, int chunkX, int chunkZ) Description copied from class:AlienWorldGenerate a chunk- Specified by:
generateChunkin classAlienWorld
-
generateSurface
protected void generateSurface(@Nonnull org.bukkit.generator.ChunkGenerator.ChunkData chunk, @Nonnull Random random, @Nonnull org.bukkit.generator.WorldInfo world, int chunkX, int chunkZ) Description copied from class:AlienWorldOptionally, generate the surface step of the world- Overrides:
generateSurfacein classAlienWorld
-
getBiomeProvider
@Nonnull protected org.bukkit.generator.BiomeProvider getBiomeProvider(@Nonnull org.bukkit.generator.WorldInfo info) Description copied from class:AlienWorldGet theBiomeProviderfor this world- Overrides:
getBiomeProviderin classAlienWorld- Returns:
- the
BiomeProviderfor this world, or null for vanilla biomes
-
getPopulators
Description copied from class:AlienWorldAdd all chunk populators to this list- Specified by:
getPopulatorsin classAlienWorld
-