介绍
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 支持哪些 Minecraft 版本?
Re-Fraction 支持 Minecraft Java 版 1.10.2–1.16.5,共 8 个版本。下载时注意选择和你游戏版本一致的文件。
Re-Fraction 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 模组加载器,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Speiger 的其他作品
查看全部 →Chunk-Pregenerator
高效预生成你的世界
Born in a Barn
修复了村庄区块加载问题
Carbon Config
IC2Classics 配置前置库
Unique Enchantments
高度可自定义的强力附魔
评论
登录后评论和评分