Class CustomBlockPopulator

java.lang.Object
org.bukkit.generator.BlockPopulator
com.github.imdabigboss.easydatapack.api.dimentions.CustomBlockPopulator

public class CustomBlockPopulator extends org.bukkit.generator.BlockPopulator
A custom block populator.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new custom block populator.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    populate​(@NonNull org.bukkit.generator.WorldInfo worldInfo, @NonNull Random random, int chunkX, int chunkZ, @NonNull org.bukkit.generator.LimitedRegion limitedRegion)
     

    Methods inherited from class org.bukkit.generator.BlockPopulator

    populate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CustomBlockPopulator

      public CustomBlockPopulator(CustomChunkPopulator[] chunkPopulators)
      Creates a new custom block populator.
      Parameters:
      chunkPopulators - the chunk populators used to generate the world
  • Method Details

    • populate

      public void populate(@NonNull org.bukkit.generator.WorldInfo worldInfo, @NonNull Random random, int chunkX, int chunkZ, @NonNull org.bukkit.generator.LimitedRegion limitedRegion)
      Overrides:
      populate in class org.bukkit.generator.BlockPopulator