{
  "format_version": "1.21.80",
  "minecraft:block": {
    "description": {
      "identifier": "mnp_ci:palm_log",
      "menu_category": {
        "category": "none"
      },
      "traits": {
        "minecraft:placement_position": {
          "enabled_states": ["minecraft:block_face"]
        }
      },
      "states": {
        "mnp_ci:stripped": [0, 1]
      }
    },
    "components": {
      "tag:log": {},
      "tag:logs": {},
      "tag:minecraft:logs": {},
      "minecraft:custom_components": ["mnp_ci:dummy"],
      "tag:minecraft:is_axe_item_destructible": {},
      "minecraft:collision_box": true,
      "minecraft:selection_box": true,
      "minecraft:loot": "loot_tables/mnp_ci/palm_tree/palm_tree_log.json",
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 2.8,
        "item_specific_speeds": [
          {
            "destroy_speed": 2.4,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:wooden_tier')"
            }
          },
          {
            "destroy_speed": 2.1,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:stone_tier')"
            }
          },
          {
            "destroy_speed": 1.7,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:iron_tier')"
            }
          },
          {
            "destroy_speed": 1.2,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:golden_tier')"
            }
          },
          {
            "destroy_speed": 1.4,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:diamond_tier')"
            }
          },
          {
            "destroy_speed": 0.7,
            "item": {
              "tags": "q.all_tags('minecraft:is_axe', 'minecraft:netherite_tier')"
            }
          }
        ]
      },
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 2
      },
      "minecraft:flammable": {
        "destroy_chance_modifier": 20,
        "catch_chance_modifier": 5
      },
      "minecraft:light_dampening": 7,
      "minecraft:geometry": {
        "identifier": "minecraft:geometry.full_block"
      },
      "minecraft:material_instances": {
        "*": {
          "texture": "mnp_ci:palm_tree_log_side",
          "render_method": "opaque"
        },
        "up": {
          "texture": "mnp_ci:palm_tree_log_top",
          "render_method": "opaque"
        },
        "down": {
          "texture": "mnp_ci:palm_tree_log_top",
          "render_method": "opaque"
        }
      },
      "minecraft:map_color": "#e2d59f"
    },
    "permutations": [
      {
        "condition": "q.block_state('minecraft:block_face') == 'up' || q.block_state('minecraft:block_face') == 'down' ",
        "components": {
          "minecraft:transformation": {
            "rotation": [0, 0, 0]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:block_face') == 'east' || q.block_state('minecraft:block_face') == 'west' ",
        "components": {
          "minecraft:transformation": {
            "rotation": [0, 0, 90]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:block_face') == 'north' || q.block_state('minecraft:block_face') == 'south' ",
        "components": {
          "minecraft:transformation": {
            "rotation": [90, 0, 0]
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:stripped')==0",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "mnp_ci:palm_tree_log_side",
              "render_method": "opaque"
            },
            "up": {
              "texture": "mnp_ci:palm_tree_log_top",
              "render_method": "opaque"
            },
            "down": {
              "texture": "mnp_ci:palm_tree_log_top",
              "render_method": "opaque"
            }
          }
        }
      },
      {
        "condition": "q.block_state('mnp_ci:stripped')==1",
        "components": {
          "minecraft:material_instances": {
            "*": {
              "texture": "mnp_ci:stripped_palm_tree_log_side",
              "render_method": "opaque"
            },
            "up": {
              "texture": "mnp_ci:stripped_palm_tree_log_top",
              "render_method": "opaque"
            },
            "down": {
              "texture": "mnp_ci:stripped_palm_tree_log_top",
              "render_method": "opaque"
            }
          },
          "minecraft:loot": "loot_tables/mnp_ci/none.json"
        }
      }
    ]
  }
}
