I've been working on a custom generator, I know how to initialize the generators/block populators, but when using more than 1 block populator class, they don't work... To initialize more than 1 block populator, I am using a list, and returning it like this: Code: public List<BlockPopulator> buildPopulators() { List<BlockPopulator> pops = new ArrayList<>(); pops.add(new Populator_Tree()); pops.add(new Populator_Ores()); return pops; } I have never had a problem making lists like that ^^
The populators don't work if I return that list, but if I return Arrays.asList((BlockPopulator) new Populator_Ores); it will work...