Oh The Trees You'll Grow

Oh The Trees You'll Grow

4M Downloads

Wrong blockstate on generated mushroom tree feature

lucysaurusrex opened this issue ยท 1 comments

commented

I have a variant of mushroom blocks I'm using along with the regular ones. The regular blocks, included in the leaves provider, generate just fine. But the extra one, included in place_from_nbt has the wrong blockstate most of the time.

This is in 1.20.1.

{
  "type": "ohthetreesyoullgrow:tree_from_nbt_v1",
  "config": {
    "base_location": "super_block_world_2:features/trees/huge_mushroom/huge_mushroom_trunk1",
    "canopy_location": "super_block_world_2:features/trees/huge_mushroom/huge_mushroom_canopy1",
    "can_grow_on_filter": {
      "type": "minecraft:matching_block_tag",
      "tag": "minecraft:mushroom_grow_block"
    },
    "can_leaves_place_filter": {
      "type": "minecraft:replaceable"
    },
    "height": {
      "type": "minecraft:uniform",
      "value": {
        "min_inclusive": 2,
        "max_inclusive": 8
      }
    },
    "leaves_provider": {
      "type": "minecraft:simple_state_provider",
      "state": {
        "Name": "minecraft:red_mushroom_block",
        "Properties": {
          "down": "true",
          "east": "true",
          "north": "true",
          "south": "true",
          "up": "true",
          "west": "true"
        }
      }
    },
    "leaves_target": [
      "minecraft:red_mushroom_block"
    ],
    "log_provider": {
      "type": "minecraft:simple_state_provider",
      "state": {
        "Name": "minecraft:mushroom_stem",
        "Properties": {
          "down": "false",
          "east": "true",
          "north": "true",
          "south": "true",
          "up": "false",
          "west": "true"
        }
      }
    },
    "log_target": [
      "minecraft:mushroom_stem"
    ],
    "place_from_nbt": [
      "super_block_world_2:crowned_red_mushroom_block"
    ]
  }
}

2024-10-07_22 45 12

commented

I experienced this too, I have to remove all the handmade big mushrooms from the datapack because of that.It's the block rotation issue, as well as the Vines (and also glow lichen) one I posted.