#Is any way to Fast mine the Spawners Or Vault
1 messages · Page 1 of 1 (latest)
I don’t understand the question
We can't mine the Spawners and vaults fast.
But I found a way in which I Use a Enchantment to Repalce block with air. But it don't feels good.
So any other way I can try ?
You can’t change the mining speed of a block
In advancement can I add the Mining sound when block replaces and Breaking particles apear
I tried but can't figure it out
on misode
No, but you can make an advancement run a function which will do that with /playsound and /particle
How Will an advancement detect when that spawner is Replaced with air by that custom enchanted tool .
.......Advancemnt detects block break that I know.
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"
}
}
}
}
}
]
}
}
You can't do this with an enchantment iirc
what to do in advancemnt
Do you just want to get an item which can mine trial spawners quickly?
Hey ! can advancemnt detect when player breaking a block ?
ya
Hey ! can advancemnt detect when player breaking a block ?
I mean Block Mining progress
But it sould work Normal for other blocks
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[1;2m[tool={damage_per_block:1, rules:[[1;32m{blocks:"minecraft:trial_spawner",speed:0.2}[0m]}][0m
not working
It should work, if it doesnt then I'm not sure what the issue is
Can I merge this data with already existing tool ? BY A COMMAND
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
Like this ? /item modify entity @p weapon.mainhand [tool={damage_per_block:1, rules:[{blocks:"minecraft:trial_spawner",speed:100}]}]
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>
wat's default mining speed for diamond pickaxe ?
?
Leave the default mining speed blank
Just change the rule for a trial spawner - you might need to set it to a higher value like 10
{
"function": "minecraft:set_components",
"components": {
"minecraft:tool": {
"rules": [
{
"blocks": "minecraft:vault",
"speed": 20
},
{
"blocks": "minecraft:trial_spawner",
"speed": 20
}
]
}
},
"conditions": []
}
this is file
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
But other blocks mine slower
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": [] }
K
last :- what values for a netherite pickaxe. and where u got this data from ?