DynamicTreesTeam / DynamicTrees-ExC

Compatibility add-on for Dynamic Trees and multiple mods. This project also includes Dynamic Trees for Natura, Twilight Forest and The BetweenLands
27 stars 4 forks source link

Can't plant any sappling on TFC soils #42

Closed Royal-Jelly closed 4 years ago

Royal-Jelly commented 4 years ago

Other Dynamic Trees addons seem to work :100: percent fine though.

supermassimo commented 4 years ago

Moved to https://github.com/Gaelmare/dynamictreestfc/issues/27

Royal-Jelly commented 4 years ago

sorry again about the misunderstanding,

Please consider reopening and looking at this, and thank you kindly if you are able to help any.

supermassimo commented 4 years ago

If you could please elaborate on what the issue you are experiencing is exactly it would help quite a lot. Which trees, which soils, which addons you have installed and what versions of them. Which you have tried and work, which you have tried and didn’t, etc.

Royal-Jelly commented 4 years ago

Tested again with only Terrafirmacraft and the following mods:

Dynamic trees - Quark [version - 1.0.4 ]

Dynamic trees - Totemic [version - 1.0.1 ]

Dynamic trees - The Twilight forest [version - 1.1.4 ]

Royal-Jelly commented 4 years ago

I have not tested all of your other addons . . .

Harleyoc1 commented 4 years ago

Since they seem to be mod-dependent I would expect it would be something to do with the order of the mods loading.

supermassimo commented 4 years ago

DT-TFC should then add the soils at the end of the loading sequence to ensure all trees are registered. Best place would be CommonProxy postInit. Here is the code i use, to make sure only trees that allow grass get (in this case, Aether Grass)

    public void postInit() {
        for (Species species : Species.REGISTRY){
            if (species.isAcceptableSoil(null, null, Blocks.GRASS.getDefaultState())){ //if normal grass is allowed, then aether grass and dirt should be too
                species.addAcceptableSoil(BlocksAether.aether_grass, BlocksAether.enchanted_aether_grass, BlocksAether.aether_dirt);
            }
        }
    }
supermassimo commented 4 years ago

Fixed in 0.9.13