Bonsai Trees 3

Bonsai Trees 3

52M Downloads

1.21.1, Manually added Recipes are not Working.

ArtpokeBr opened this issue ยท 10 comments

commented

I am not using performance mods.

  • Confirm

Description

when trying to manually add support for extra trees, recipes do not work in JEI and in Game.

Image

Rendering is working fine, I've copied the same structure as a oak tree.

Image

here's the loot_table code, copied from Oak and adjusted for a wildwood tree.

{
  "pools": [
    {
      "bonus_rolls": 1.5,
      "conditions": [
        {
          "chance": 0.5,
          "condition": "minecraft:random_chance"
        }
      ],
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "roots:blocks/wildwood_log"
        }
      ],
      "name": "log",
      "rolls": 3.0
    },
    {
      "bonus_rolls": 1.0,
      "conditions": [
        {
          "chance": 0.5,
          "condition": "minecraft:random_chance"
        }
      ],
      "entries": [
        {
          "type": "minecraft:loot_table",
          "value": "roots:blocks/wildwood_leaves"
        }
      ],
      "name": "leaves",
      "rolls": 2.0
    }
  ],
  "random_sequence": "bonsaitrees4:bonsai/roots/wildwood"
}

and here's the path of this file.

Image

Expected Results: Recipes should be working/resulting into something and JEI should display them properly. I'm not sure if its something that I coded wrong, So I would gladly appreciate some enlightenment here =)

Mod Version

4.0.3

Forge Version

Neoforge - 21.1.172

Link to Crash Log

Latest.log is currently too big for Pastebin (let me know if its really needed), I can assure that there's no mention to a faulty loot table in the logs =)

Screenshot (if available)

No response

How to reproduce

  1. Copy the same Files required for the Oak Tree Compat
  2. Edit names and IDs for the desired Modded Tree
  3. Noticed that despite the rendering and existence of the recipe in game, Results do not exist.
commented

Huh, that's weird. Will look into it. Thanks for the detailed report.

commented

Oh thanks for the generated files! I'll test those here. gimme a sec =)

commented

roots-integration.zip
Here are the auto-generated versions of Roots' trees. Do these work for you?

It might be the tree naming: wildwood_tree instead of just wildwood?

commented

Image

Yup its working! :D
yeah I do wonder if naming was the issue here ๐Ÿค”

commented

Image

Image

Ok this is peculiar lol

I've renamed Malum's Tree files, making sure that the suffix "_tree" is at the end and it worked! :O

commented

Now... if you don't mind me asking, is it possible to auto generate enchanted's/witchery's and Malum's trees for me? ๐Ÿ™ƒ

I have them working in here, It would be nice to have proper tree models hehe ^^

commented

Hey. Generation is in 99% of cases straight forward.
Here's a guide
Here's an example

commented

Adding them there will also make sure the mods will be supported natively in the next bonsai release.

commented

ok! I've just opened a pull request, hopefully I've done things right :p

commented

Roots, Malum and Enchanted Witchcraft will be in the next release.
Thanks for you help!