Removing specific populators [Solved]

Hey all,

I’m now 1. problem away from a plugin release :D.

There are a few block populators I need to remove: the granite, diorite, and andesite pops, and the weird circular gravel/dirt populators that happen at depth. How do I remove only these?

For removing ore pops, I usually do the:

getPopulators().removeIf(p -> p.getType()==PopulatorTypes.ORE);

But I fear if I do the same with Granite, Gravel, etc; it will remove pops that I want ( like sub grass dirt, undersea regolith, etc;).

Looks like all the populators I wanted to remove DID get removed via the predicate above. Ahh… one less problem to worry about.

1 Like