#Is any way to Fast mine the Spawners Or Vault

1 messages · Page 1 of 1 (latest)

royal shadow
#

Help

viscid atlas
#

I don’t understand the question

royal shadow
viscid atlas
#

You can’t change the mining speed of a block

royal shadow
#

I tried but can't figure it out

#

on misode

viscid atlas
#

No, but you can make an advancement run a function which will do that with /playsound and /particle

royal shadow
#

.......Advancemnt detects block break that I know.

royal shadow
# viscid atlas No, but you can make an advancement run a function which will do that with /play...

This is advancement .

{
"description": "",
"supported_items": [
"minecraft:netherite_pickaxe",
"minecraft:diamond_pickaxe"
],
"weight": 1,
"max_level": 1,
"min_cost": {
"base": 0,
"per_level_above_first": 0
},
"max_cost": {
"base": 0,
"per_level_above_first": 0
},
"anvil_cost": 0,
"slots": [],
"effects": {
"minecraft:hit_block": [
{
"effect": {
"type": "minecraft:replace_block",
"block_state": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:air"
}
}
},
"requirements": {
"condition": "minecraft:location_check",
"predicate": {
"block": {
"blocks": "minecraft:trial_spawner",
"state": {
"trial_spawner_state": "cooldown"
}
}
}
}
}
]
}
}

viscid atlas
#

That is not an advancement

#

That is an enchantment

royal shadow
#

ya

#

😮‍💨😮‍💨

viscid atlas
#

You can't do this with an enchantment iirc

royal shadow
#

what to do in advancemnt

viscid atlas
#

Do you just want to get an item which can mine trial spawners quickly?

royal shadow
#

Hey ! can advancemnt detect when player breaking a block ?

royal shadow
#

Hey ! can advancemnt detect when player breaking a block ?
I mean Block Mining progress

royal shadow
viscid atlas
# royal shadow ya

In that case, you can just /give the player an item, and use the minecraft:tool component to change the speed when mining a trial_spawner:```ansi
/give @s minecraft:diamond_pickaxe[tool={damage_per_block:1, rules:[{blocks:"minecraft:trial_spawner",speed:0.2}]}]

viscid atlas
#

It should work, if it doesnt then I'm not sure what the issue is

royal shadow
viscid atlas
#

You can check if the player is holding a normal diamond pickaxe and then use an item modifier to apply the component to the item

royal shadow
viscid atlas
#

No - you need to create an item modifier file (https://misode.github.io/item-modifier) and then save that in your datapack. Then you can modify it with /item modify entity @s weapon.mainhand <namespace>:<item_modifer>

royal shadow
viscid atlas
#

1

#

i think

#

you can leave it blank

#

it's an optional field

royal shadow
#

and empty is not working

viscid atlas
viscid atlas
#

Just change the rule for a trial spawner - you might need to set it to a higher value like 10

royal shadow
#

{
"function": "minecraft:set_components",
"components": {
"minecraft:tool": {
"rules": [
{
"blocks": "minecraft:vault",
"speed": 20
},
{
"blocks": "minecraft:trial_spawner",
"speed": 20
}
]
}
},
"conditions": []
}

this is file

viscid atlas
#

Yes - now when you hold a diamond pickaxe and use /item modify to apply this item modifier to it, it should make the pickaxe mine those blocks much quicker

viscid atlas
#

You might need to add the vanilla values to it as well. json { "function": "minecraft:set_components", "components": { "minecraft:tool": { "rules": [ { "blocks": "minecraft:vault", "speed": 20 }, { "blocks": "minecraft:trial_spawner", "speed": 20 }, { "blocks": "#minecraft:incorrect_for_diamond_tool", "correct_for_drops": false }, { "blocks": "#minecraft:mineable/pickaxe", "correct_for_drops": true, "speed": 8.0 } ] } }, "conditions": [] }

royal shadow
#

K

royal shadow