Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_FfzIxKlZ.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
Ori's Hand Library - 墨喵 Minecraft 资源
Ori's Hand Library 图标

Ori's Hand Library

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/ori-hand-lib
资源信息

Minecraft 版本: 1.18.2

平台: fabric

标签: library utility

资源介绍

What is this mod?

lib-hand is an extremely lightweight mod that provides a way of modifying the default behaviour when harvesting blocks without the correct tool.

In practice, you can do stuff like:

  • Allow stone to be harvested by hand.
  • Prevent logs from being harvested without an axe.

How do I use it?

To allow harvesting without the correct tool, add your block to the block tag hand:permitted. This will override the default behaviour of the block.

To require the correct tool when harvesting a block, add your block to the block tag hand:forbidden. This will override the default behaviour of the block, and will also override hand:permitted if set.

Example Minecraft data pack

Here's an example resource file. It allows stone to be harvested without the use of a pickaxe.

data/hand/tags/blocks/permitted.json

1: {
2:   "replace": false,
3:  
"values": [
4:    
"minecraft:stone"
5:  
]
6: }

Example CraftTweaker script

Here's some example ZenScript code. It prevents logs and planks from being harvested without the use of an axe.

prevent_crafting_bench_progression.zs

1: <tag:blocks:hand:forbidden>.add(<tag:blocks:minecraft:logs>);
2: <tag:blocks:hand:forbidden>.add(<tag:blocks:minecraft:planks>);

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Very Blue Stair Mod

价格:0 墨喵币
下载量:0

查看详情
Battle of Evercraft

价格:0 墨喵币
下载量:0

查看详情
ArchitectsCreate

价格:0 墨喵币
下载量:0

查看详情
Cobblemon: Simple Smart Healer

价格:0 墨喵币
下载量:0

查看详情