#Pickaxe Dig Slowly & Dig With Hand Drop Loot

1 messages · Page 1 of 1 (latest)

wooden wave
#

Hoya! I'm trying to make an ore block and i also added the tag so that it can be broken by a pickaxe but somehow the dig time is no different from the hand dig one. Speaking of hand, i'm looking for a way for it not to drop the loot when it's broken by hand. How do I solve the problems?

#

Oh, and here's the code of the block

{
  "format_version": "1.20.30",
  "minecraft:block": {
    "description": {
      "identifier": "jl:amber_ore",
      "menu_category": {
        "category": "nature",
        "group": "itemGroup.name.ore"
      }
    },
    "components": {
      "minecraft:display_name": "tile.jl:amber_ore.name",
      "minecraft:destructible_by_explosion": {
        "explosion_resistance": 20
      },
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 15
      },
      "minecraft:light_emission": 0.3,
      "minecraft:on_player_destroyed": {
        "event": "jl:xp_reward"
      },
      "minecraft:loot": "loot_tables/blocks/jl/amber_ore.json",
      "tag:iron_pick_diggable": {}
    },
    "events": {
      "jl:xp_reward": {
        "run_command": {
          "command": ["structure load ore_xp_reward ~ ~ ~"]
        }
      }
    }
  }
}
somber patrol
wooden wave
#

but thank you very much for helping me solve the problem, Sir.

#

🙂

wooden wave