Oh The Biomes You'll Go Refabricated

Oh The Biomes You'll Go Refabricated

11M Downloads

[Bug]: Saplings don't fire TreeGrowthEvent

Alexthw46 opened this issue ยท 0 comments

commented

Minecraft Version

1.19

BYG Version

2.0.0.7

Terrablender Version

2.0.0.119

Mod Loader

Forge

Mod Loader Version

41.1.0

Bug Severity

Minor

What happened?

Growing a sapling into a tree does not fire a grow event. This block interactions with things like the Ars Nouveau's whilsprigs that are tamed when a tree grow nearby.

https://github.com/AOCAWOL/BYG/blob/806713515dfacf4ecef56a57c7a1b7aae1897b4e/Common/src/main/java/potionstudios/byg/common/block/sapling/BYGSaplingBlock.java#L36

Should call ForgeEventFactory.saplingGrowTree(world, rand, pos) when it's on Forge, to also check if something will want to cancel the sapling growth.

This probably happen on any forge version of BYG.

latest.log

https://pastebin.com/YDd0qe3W

Did you isolate BYG?

I did not try BYG alone