very kind chunk generator not working

Discussion in 'Spigot Plugin Development' started by Pyronucleic, Aug 3, 2018.

  1. NOthing wrong wit hthe generator, jsut that the world is being loaded with the normal generator

    here's main class which is the only one which needs fixing
    Code (Text):

    public class Main extends JavaPlugin{

        public ChunkGenerator getDefaultWorldGenerator(String worldName, String id) {
            return new Generator(16, 256, 1, 0.5, 2, 3);
    other info: plugin loaded successfully
    no errors/warnings. i dont deal with that shit
    • Funny Funny x 1
    • Optimistic Optimistic x 1
  2. You need to assign a world to use the generator.
    Just implementing it doesnt use it anywhere.
    You can assign a generator by using the Multiverse create command -g parameter (see MV wiki) or without Multiverse by the bukkit.yml worlds section (see bukkit wiki).

    Once you've done this, re- / generate the specific world to see your generator in action.