{
  "format_version": "1.21.80",
  "minecraft:block": {
    "description": {
      "identifier": "mnp_ci:palm_sapling",
      "menu_category": {
        "category": "none"
      },
      "states": {
        "mnp_ci:plant_randomizer": [0, 1, 2, 3, 4],
        "mnp_ci:growth_stage": [0, 1]
      }
    },
    "components": {
      "tag:plant": {},
      "minecraft:custom_components": ["mnp_ci:sapling"],
      "minecraft:collision_box": false,
      "minecraft:selection_box": {
        "origin": [-4, 0, -3.5],
        "size": [8, 14, 7]
      },
      "minecraft:liquid_detection": {
        "detection_rules": [
          {
            "on_liquid_touches": "popped"
          }
        ]
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 0
      },
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 0
      },
      "minecraft:flammable": {
        "destroy_chance_modifier": 20,
        "catch_chance_modifier": 5
      },
      "minecraft:placement_filter": {
        "conditions": [
          {
            "allowed_faces": ["up"],
            "block_filter": [
              {
                "tags": "q.any_tag('grass')"
              },
              {
                "tags": "q.any_tag('sand')"
              }
            ]
          }
        ]
      },
      "minecraft:loot": "loot_tables/mnp_ci/palm_tree/palm_tree_sapling.json",
      "minecraft:geometry": "minecraft:geometry.cross",
      "minecraft:material_instances": {
        "*": {
          "texture": "mnp_ci:palm_tree_sapling",
          "render_method": "alpha_test_single_sided",
          "face_dimming": false,
          "ambient_occlusion": false
        }
      },
      "minecraft:light_dampening": 0
    },
    "permutations": [
      {
        "condition": "q.block_state('mnp_ci:plant_randomizer') == 0 ",
        "components": {
          "minecraft:transformation": {
            "translation": [0, 0, 0]
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:plant_randomizer') == 1 ",
        "components": {
          "minecraft:transformation": {
            "translation": [0.1, 0, -0.1]
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:plant_randomizer') == 2 ",
        "components": {
          "minecraft:transformation": {
            "translation": [-0.1, 0, 0.1]
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:plant_randomizer') == 3 ",
        "components": {
          "minecraft:transformation": {
            "translation": [-0.1, 0, -0.1]
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:plant_randomizer') == 4 ",
        "components": {
          "minecraft:transformation": {
            "translation": [0.1, 0, 0.1]
          }
        }
      }
    ]
  }
}
