PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
52 stars 21 forks source link

Block Sounds do NOT work. #1586

Closed ZERO511-55 closed 2 years ago

ZERO511-55 commented 2 years ago

Terms

Discord tag (optional)

ZERO511#9062

What happened?

All blocks I make have the same default place and break sound of stone despite me defining "block.grass.break" & "block.grass.place"

I've even tried "BLOCK_GRASS_BREAK" & "BLOCK_GRASS_PLACE" and nothing changes.

I've tried on the latest version as well as reverting back to the version I used before to see if anything changed. "3.0.0" and just decided to stay on "3.0.2"

Steps to reproduce the issue

Adding the following code for sounds to a block will give you the same default block break/place sound. Regardless if it's all capitals or not and regardless if you use periods " . " or underscores " _ " sound: break: name: block.stone.break volume: 1 pitch: 1 place: name: block.stone.place volume: 1 pitch: 1

Server version

git-Purpur-1557 MC: 1.18.1

ItemsAdder Version

ItemsAdder-version 3.0.2

ProtocolLib Version

ProtocolLib-version 4.7.0

LoneLibs Version

LoneLibs-version 1.0.18

LightAPI Version (optional)

LightAPI-version bukkit-5.1.0

LibsDisguises Version (optional)

No response

FULL server log

logs_latest.log

Error (optional)

No response

ItemsAdder config.yml

metrics: true
update-checker: true
disable-plugin-loading-messages_DONT_ASK_ME_FOR_SUPPORT_IF_YOU_SET_TRUE__THANKS: false
resource-pack:
  hosting:
    no-host:
      enabled: false
    auto-external-host:
      enabled: false
    self-host:
      enabled: true
      server-ip: 104.223.101.227
      pack-port: 8012
    external-host:
      enabled: false
      url: ''
      skip-url-file-type-check___DONT_ASK_HELP_IF_SET_TRUE: false
  apply-on-join: true
  kick-player-on-decline: true
  kick-player-on-fail: true
  delay-ticks: 1
  notify-other-plugins-interfering: true
  title:
    enabled: false
  protect-player:
    black-screen: true
    hide-hud: true
    cancel-movement: true
    lock-player: true
  command:
    usage-cooldown-seconds: 60
  custom-font:
    enabled: false
    name: ipaexg.ttf
    shift: '[0,0]'
    size: 11.0
    oversample: 2.0
  thin-font:
    enabled: false
  zip:
    protect-file-from-unzip:
      enabled: true
      extreme: true
    compress-png-files: true
    compress-json-files: true
    overwrite-vanilla-models: false
    overwrite-vanilla-lang-json: false
    generate-custom-armors-textures:
      _: 'Available values: VANILLA_1_17 or OPTIFINE'
      enabled: true
      mode: VANILLA_1_17
    disable-overwrite-leather-armor-layers-textures: false
    fix_transparent_noteblocks__disable-for-more-performance: false
    ignore-files-ext:
    - db
    - yml
    - xcf
    - html
  items:
    CustomModelData-starting-value:
      ALL: 10000
      DIAMOND: 11000
config_files:
  lang: en
  dictionaries-lang: en
  extract-default-items: false
  extract-default-resources: false
blocks:
  light-api: true
  fix-liquids-flow: true
  fix-floating-blocks: true
  fix-glitched-blocks:
    enabled: true
    only-new-chunks: false
    search-also-in-these-biomes:
      enabled: true
      biomes:
      - BEACH
      - BIRCH_FOREST
      - BIRCH_FOREST_HILLS
      - FOREST
      - MOUNTAINS
      - MOUNTAIN_EDGE
      - GRAVELLY_MOUNTAINS
      - PLAINS
      - RIVER
  cancel-break-wrong-tool:
    enabled: true
    send-actionbar: true
  campfire:
    unlit-on-place: true
    allow-any-item: true
  disable-REAL: false
  disable-REAL_TRANSPARENT: false
  disable-REAL_NOTE: false
  disable-REAL_WIRE: true
  disable-FIRE: false
items:
  fix-show-attack-and-damage-as-lore: true
  give_death_location_maps: true
  hide-custom-durability-lore: false
liquids:
  enabled: true
huds:
  enabled: true
mobs:
  disable-MOB-behaviour__DISABLE_AT_YOUR_OWN_RISK: false
font_images:
  chat:
    enabled: true
    doublecheck-permission__disable-for-more-performance: false
    add-hover-suggestion: true
  command:
    enabled: true
    commandblocks: true
    excluded:
    - home
    - sethome
    - tpa
  sign:
    enabled: true
  book:
    enabled: true
  anvil:
    enabled: true
  inventory-title:
    enabled: true
  tab-header-footer:
    enabled: true
  vault-prefix-suffix:
    enabled: true
    update-every-ticks: 1200
  scoreboard-teams:
    enabled: false
    update-every-ticks: 3600
  player-display-name:
    enabled: true
    update-every-ticks: 1200
  replace-in-customitems-name-and-lore: true
effects:
  hide-scoreboard-numbers: false
  text-effects:
    enabled: true
    replace-in-customitems-name-and-lore: true
    chat:
      enabled: true
    sign:
      enabled: true
    book:
      enabled: true
    anvil:
      enabled: true
    tab-header-footer:
      enabled: true
entities:
  max-furniture-vehicles-per-chunk: 30
  allow-removing-old-furnitures_2_3_11: false
  custom-entitites:
    enabled: true
    interval-rendering-packets-ticks: 1
recipes:
  hide-vanilla-unrecognized-recipe-errors: true
  fix-packet-too-large-kick: false
  custom-recipes:
    unlock:
      all-on-join: false
      on-pickup:
        any: true
        ingredients: true
  remove-vanilla-recipes:
    enabled: true
    list:
      DIAMOND_SWORD: false
      IRON_INGOT: false
debug:
  items:
    log-files-loading: false
    log-items-loading: false
    log-items-loading-disabled: false
    log-font-images-loading: false
    log-huds-loading: false
    log-attribute-modifiers-loading: false
    log-warnings: false
    log-loots-loading: false
    log-loots-loading-disabled: false
    log-armors-loading: false
  recipes:
    log-recipes-loading: false
    log-recipes-loading-disabled: false
    log-recipes-removed-vanilla: false
    log-fix-packet-too-large: false
  resource-pack:
    log-extract-default-resources: false
    log-not-extract-default-resources-already-exist: false
  blocks:
    log-save: false
    log-save-on-unload: false
    log-mined-unknown-blocks: true
  worlds-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  trees-populators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-populators: false
    log-loading-no-world: true
    log-generation: false
  surface-decorators:
    log-loading: false
    log-loading-disabled: false
    log-loading-no-decorators: false
    log-loading-no-world: true
    log-generation: false
  player-stats:
    log-save: false
  performance:
    loading-ms: true
  huds:
    log-triggers: false
  other:
    log-dictionaries-loading: false
    log-liquids-loading: false
    log-minecraft_lang_overwrite-loading: false
  categories:
    log-total-loaded: true
    log-single-loaded: false
    log-single-loaded-overwrite: false
    log-single-skip: false
  entities:
    log-files-loading: false
    log-entities-loading: false
    log-entities-loading-disabled: false

Problematic items yml configuration file (optional)

info:
  namespace: mmoitems
items:
  blue_crystallized_stone:
    display_name: Blue Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/blue_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  cyan_crystallized_stone:
    display_name: Cyan Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/cyan_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  green_crystallized_stone:
    display_name: Green Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/green_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  lime_crystallized_stone:
    display_name: Lime Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/lime_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  pink_crystallized_stone:
    display_name: Pink Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/pink_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  purple_crystallized_stone:
    display_name: Purple Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/purple_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  red_crystallized_stone:
    display_name: Red Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/red_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  yellow_crystallized_stone:
    display_name: Yellow Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone/yellow_crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  blue_braught:
    display_name: Blue Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/blue_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  cyan_braught:
    display_name: Cyan Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/cyan_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  green_braught:
    display_name: Green Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/green_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  lime_braught:
    display_name: Lime Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/lime_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  pink_braught:
    display_name: Pink Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/pink_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  purple_braught:
    display_name: Purple Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/purple_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  red_braught:
    display_name: Red Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/red_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  yellow_braught:
    display_name: Yellow Braught
    resource:
      generate: true
      material: BOWL
      textures:
        - block/braught/yellow_braught.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  crystallized_grass:
    display_name: Crystallized Grass
    resource:
      generate: false
      material: BOWL
      model_path: block/crystallized_grass
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.5
        break_tools_whitelist:
        - IRON_SHOVEL
        - DIAMOND_SHOVEL
        - NETHERITE_SHOVEL
        - GOLDEN_SHOVEL
        - shovel
        - hand
    sound:
      break:
        name: block.grass.break
        volume: 1
        pitch: 1
      place:
        name: block.grass.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  crystallized_dirt:
    display_name: Crystallized Dirt
    resource:
      generate: true
      material: BOWL
      textures:
      - block/crystallized_dirt.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.5
        break_tools_whitelist:
        - IRON_SHOVEL
        - DIAMOND_SHOVEL
        - NETHERITE_SHOVEL
        - GOLDEN_SHOVEL
        - shovel
        - hand
    sound:
      break:
        name: block.grass.break
        volume: 1
        pitch: 1
      place:
        name: block.grass.place
        volume: 1
        pitch: 1
  crystallized_stone:
    display_name: Crystallized Stone
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crystallized_stone.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  dremlin_rock:
    display_name: Dremlin Rock
    resource:
      generate: true
      material: BOWL
      textures:
        - block/dremlin_rock.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  dremlin_shellrock:
    display_name: Dremlin Shellrock
    resource:
      generate: true
      material: BOWL
      textures:
        - block/dremlin_shellrock.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  tungsten_block:
    display_name: Tungsten Block
    resource:
      generate: true
      material: BOWL
      textures:
        - block/tungsten_block.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 1.0
        blast_resistance: 1
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  sulfur_ore:
    display_name: Sulfur Ore
    resource:
      generate: true
      material: BOWL
      textures:
        - block/sulfur_ore.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  tungsten_ore:
    display_name: Tungsten Ore
    resource:
      generate: true
      material: BOWL
      textures:
        - block/tungsten_ore.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  deepslate_tungsten_ore:
    display_name: Deepslate Tungsten Ore
    resource:
      generate: true
      material: BOWL
      textures:
        - block/deepslate_tungsten_ore.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.8
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.deepslate.break
        volume: 1
        pitch: 1
      place:
        name: block.deepslate.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  raw_tungsten_block:
    display_name: Raw Tungsten Block
    resource:
      generate: true
      material: BOWL
      textures:
        - block/raw_tungsten_block.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: false
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
  crushed_power_shard_ore:
    display_name: Crushed Power Shard Ore
    resource:
      generate: true
      material: BOWL
      textures:
        - block/crushed_power_shard_ore.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    events:
      placed_block:
        break:
          drop_exp:
            chance: 100
            min_amount: 0
            max_amount: 3
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
  legacy_power_crystal_ore:
    display_name: Legacy Power Crystal Ore
    resource:
      generate: true
      material: BOWL
      textures:
        - block/legacy_power_crystal_ore.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles: ITEM
        cancel_drop: true
        hardness: 0.7
        break_tools_whitelist:
        - IRON_PICKAXE
        - DIAMOND_PICKAXE
        - NETHERITE_PICKAXE
        - GOLDEN_PICKAXE
        - pickaxe
    events:
      placed_block:
        break:
          drop_exp:
            chance: 100
            min_amount: 0
            max_amount: 3
    sound:
      break:
        name: block.stone.break
        volume: 1
        pitch: 1
      place:
        name: block.stone.place
        volume: 1
        pitch: 1
    events:
      placed_block:
        break:
          drop_exp:
            chance: 0
            min_amount: 0
            max_amount: 0
loots:
  blocks:
    crystallized_grass:
      type: mmoitems:crystallized_grass
      items:
        raw_tungsten:
          item: mmoitems:crystallized_dirt
          min_amount: 1
          max_amount: 1
          chance: 100

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

https://youtu.be/QJ30L4DxD2c

LoneDev6 commented 2 years ago

Works fine for me

  amethyst_block:
    display_name: display-name-amethyst_block
    permission: amethyst_block
    resource:
      material: PAPER
      generate: true
      textures:
      - block/amethyst_block.png
    specific_properties:
      block:
        placed_model:
          type: REAL_NOTE
          break_particles_material: PURPLE_CONCRETE
        sound:
          place:
            name: block.anvil.land
          break:
            name: block.bamboo.break
        break_tools_whitelist:
        - PICKAXE
        - pickaxe