# ============================================
# Generated by LK Creator (Free Plan)
# Upgrade to Pro: https://lkcreator.com/pricing
# ============================================

templates:
  lk:model/lk_block_model_default:
    type: minecraft:model
    path: "${model}"
    generation:
      parent: minecraft:block/cube_all
      textures:
        all: ${model}
  lk:loot_table/lk_block_default:
    pools:
      - rolls: 1
        conditions:
          - type: survives_explosion
        entries:
          - type: item
            item: "${item}"
  lk:block/lk_block_default:
    loot:
      template: lk:loot_table/lk_block_default
      arguments:
        item: "${item}"
    settings:
      map-color: 9
      hardness: 2.0
      resistance: 0.5
      push-reaction: BLOCK
      tags:
        - minecraft:mineable/pickaxe
      can-occlude: true
      sounds:
        break: minecraft:block.${sound_type}.break
        step: minecraft:block.${sound_type}.step
        place: minecraft:block.${sound_type}.place
        hit: minecraft:block.${sound_type}.hit
        fall: minecraft:block.${sound_type}.fall
        destroy: minecraft:block.anvil.destroy
    state:
      auto-state: solid
      model:
        path: "${block_model}"
  lk:furniture/furniture_basic_settings_default:
    settings:
      item: "${item}"
      sounds:
        break: minecraft:block.stone.break
        place: minecraft:block.stone.place
    rules:
      rotation: eight
      alignment: center
  lk:furniture/furniture_basic_loot_default:
    loot:
      template: lk:loot_table/furniture_basic_default
      arguments:
        item: "${item}"
  lk:loot_table/furniture_basic_default:
    pools:
      - rolls: 1
        conditions:
          - type: survives_explosion
        entries:
          - type: item
            item: "${item}"
  lk:furniture/furniture_basic_element_default:
    variants:
      ground:
        elements:
          - item: "${item}"
            display-transform: NONE
            billboard: FIXED
            position: 0.0,0,0
            translation: 0,0.5,0
  lk:furniture/furniture_hitbox_1_default:
    variants:
      ground:
        hitboxes:
          - type: interaction
            position: 0,0,0
            width: 1
            height: 1
            interactive: false
  lk:block_entity_default:
    auto-state:
      id: customcrops:transparent
      type: ${auto_state}
    transparent: true
    entity-renderer:
      - item: "${__NAMESPACE__}:${__ID__}"
  lk:sound/crop_default:
    sounds:
      break: minecraft:block.crop.break
      step: minecraft:block.grass.step
      place: minecraft:item.crop.plant
      hit: minecraft:block.grass.hit
      fall: minecraft:block.grass.fall
  lk:hardness/none_default:
    hardness: 0
    resistance: 0
