Page 1 of 1

Fix "tree top" pokemon to spawn with the Dynamic trees mod

PostPosted: 05 Feb 2021 19:10
by Dopeaking
install winrar and a text editor (I use "visual studio code") open your

Pixelmon-1.12.2-8.1.2-universal.jar with winrar

navigate to \assets\pixelmon\spawning and look for BetterSpawnerConfig.json an open it with your text editor.

look for (ctrl+f to search) "seesSkyException" and "treeTop" and paste the below snippet at the bottom of each array [ code ]:

"dynamictrees:leaves0",
"dynamictrees:leaves1",
"dynamictreesbop:leaves_flowering",
"dynamictreesbop:leaves0",
"dynamictreesbop:leaves1",
"dynamictreesbop:leaves2",
"dynamictreesbop:leaves3",
"dynamictreesbop:leaves4",
"dynamictreesbop:leaves_palm",
"dynamictreesbop:leaves7",
"dynamictreesphc:leaves0"

and then save and close. this should fix it, it worked for me.

Fix "tree top" pokemon to spawn with the Dynamic trees mod

PostPosted: 06 Feb 2021 05:28
by XpanD
Please don't edit the .jar, we have external JSON options for this. You can enable the external Better Spawner file in the "pixelmon.hocon" config file, reload the game or server and then find an editable copy of this file in a "pixelmon" folder in the game/server's "config" folder. Keep in mind that enabled externals will not automatically update when the mod does, so you'll want to keep an eye on changelogs.

(good suggestion otherwise, though)

Fix "tree top" pokemon to spawn with the Dynamic trees mod

PostPosted: 06 Feb 2021 07:59
by SKyTheThunder
You may want to add whatever IDs Dynamic Trees uses for its trunks and branches to the "seesSkyException" tag as well. They may already be dense enough to make an impact.

Fix "tree top" pokemon to spawn with the Dynamic trees mod

PostPosted: 16 Feb 2021 02:31
by MixWing1995
Can you install it now?