TerraformersMC / Terrestria

A Fabric mod enhancing the detail of Minecraft with unique and vibrant biomes. Inspired by ExtrabiomesXL.
https://www.curseforge.com/minecraft/mc-mods/terrestria
GNU Lesser General Public License v3.0
199 stars 43 forks source link

Restore quarter logs and roots on mega trees #222

Closed coderbot16 closed 3 years ago

coderbot16 commented 3 years ago

This allows mega hemlock/redwood/cypress/rainbow eucalyptus trees to have roots and use quarter logs. We have to register a custom tree feature because otherwise the vanilla config codec is used, which completely ignores our custom tree feature config. As it turns out, we can just do some hacky casts and things work just fine. We still have to register our own tree feature, but it's just a different instance of the vanilla tree feature class, which works out nicely.

Fixes #187