Class Enceladus


public final class Enceladus extends FlatWorld
Class for the Saturnian moon Enceladus
  • Constructor Details

  • Method Details

    • getLayers

      @Nonnull protected it.unimi.dsi.fastutil.ints.Int2ObjectSortedMap<org.bukkit.Material> getLayers()
      Description copied from class: FlatWorld
      Gets the layers of this world. The returned value is a sorted map of ints and Material, with each int being the top bound (inclusive) of the material's generation. See the Europa implementation for an example. Or, if you need one in Javadoc,
          protected Int2ObjectSortedMap getLayers() {
              return new Int2ObjectLinkedOpenHashMapinvalid input: '<'>() {{
                  put(30, MaterialCompat.safe(XMaterial.PACKED_ICE));
                  put(60, MaterialCompat.safe(XMaterial.ICE));
              }};
          }
      
      Specified by:
      getLayers in class FlatWorld
      Returns:
      the layers of this world
    • getBiome

      @Nonnull protected org.bukkit.block.Biome getBiome()
      Description copied from class: FlatWorld
      Gets the biome of this flat world
      Specified by:
      getBiome in class FlatWorld
      Returns:
      the biome of this world
    • 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
    • canSpawnVanillaMobs

      public boolean canSpawnVanillaMobs()
      Overrides:
      canSpawnVanillaMobs in class AlienWorld