Class Mars


public final class Mars extends SimpleAlienWorld
Class for Mars
  • Constructor Details

  • Method Details

    • generateMaterial

      @Nonnull protected org.bukkit.Material generateMaterial(@Nonnull Random random, int x, int y, int z, int top)
      Specified by:
      generateMaterial in class SimpleAlienWorld
    • getTop

      @Nonnull protected it.unimi.dsi.fastutil.objects.ObjectIntPair<org.bukkit.Material> getTop()
      Description copied from class: SimpleAlienWorld
      Returns an ObjectIntPair of the top block material and the number of top blocks. Used for the
      invalid @link
      {@link #AlienWorld#generateSurface(ChunkGenerator.ChunkData, Random, WorldInfo, int, int)
      } method
      Overrides:
      getTop in class SimpleAlienWorld
      Returns:
      an ObjectIntPair of the top block material and the number of top blocks, or null if there is none
    • generateMore

      protected void generateMore(@Nonnull org.bukkit.generator.ChunkGenerator.ChunkData chunk, @Nonnull org.bukkit.util.noise.SimplexOctaveGenerator generator, @Nonnull Random random, int realX, int realZ, int x, int z, int height)
      Description copied from class: SimpleAlienWorld
      Generate additional things after the main materials and biomes have been generated
      Overrides:
      generateMore in class SimpleAlienWorld
    • getBiome

      @Nonnull protected org.bukkit.block.Biome getBiome()
      Specified by:
      getBiome in class SimpleAlienWorld
    • getPopulators

      public void getPopulators(@Nonnull List<org.bukkit.generator.BlockPopulator> populators)
      Description copied from class: AlienWorld
      Add all chunk populators to this list
      Specified by:
      getPopulators in class AlienWorld