Re-Fraction is a Scavenge Addon that allows you to use the Scavenge System on BlockBreak/Place.
Since it is vastly different from Scavenges Original System it is moved to its own Addon.
The following information is 1.16 only. If you want 1.12 or older information follow this link: ClickMe For 1.12
How to use it:
{
"scripts":
[
{
"id": "test:break_netherrack",
"swing": true,
"drop_rule": "block",
"type": {
"type": "break",
"consume": true,
"show": true
},
"targets": [
{
"type": "block",
"id": "minecraft:nether_brick"
}
]
"properties":
[
{
"property": "scavenge_player:is_sneaking",
"error_message": "Player has to Sneak"
},
{
"property": "scavenge_utils:add_data",
"data": {
"break_data": {
"cancel": true
}
}
}
],
"drops":
[
{
"lootPool": "minecraft:blocks/iron_block"
}
]
}
]
}
The Following new Types exist:
Consuming the action will not cancel the action but prevent further Scripts to be executed.
If the game action should be canceled then optionally the property "scavenge_utils:add_data" can be used with "break_data" or "place_data" (with the property "cancel": true) to cancel the break/place action from the game.
No files available for download.