Class Europa


public final class Europa extends FlatWorld
  • Constructor Details

  • Method Details

    • enabledByDefault

      protected boolean enabledByDefault()
      Description copied from class: AlienWorld
      Override and set to false if your world is unimportant
      Overrides:
      enabledByDefault in class AlienWorld
    • 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