plants are not spawned in 1.16.5

Started by Rafaelprozx on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 18:24, 16. Jun 2022
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
plants are not spawned in 1.16.5

 

the problem is that the comparison that mcreator uses when choosing the biome in plants is 

new ResourceLocation("plains").equals(event.getName())

for some reason the comparison is always false (idk, probably because of the version of java or I don't know)

so to fix that i changed that piece for this one:

new ResourceLocation("plains").compareTo(event.getName()) == 0

and so the plants are generated normally, the bad thing is having to change everything manually

can someone add this officialy?

-Google translator (spanish to english)