Mineuniverse
Mods
Re-Fraction

Re-Fraction

MOD
Place & Break variant for Scavenge
by Speiger
Download Claim this project
278,553 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Adventure and RPG API and Library Ores and Resources
Advertisement Remove ads with Premium →

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:

  • "break": gets triggered when a Targeted block is about to be broken by a Player.
  • "place": When a player places down a single block.

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. 

Re-Fraction-1.16.5-2.0.0
MC 1.16.5
Release 2021-11-08 Get
Re-Fraction V1.0
MC 1.12.1, 1.12, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12.2
Release 2018-04-23 Get

More from Speiger

Advertisement Remove ads with Premium →

You Might Also Like