跳到正文

Item Use Restrictor

作者:falseresync

Restrict the use of any item to a set of specific areas. Useful on Adventure mode servers. Does not support dimensions!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Item Use Restrictor

Restrict the use of any item to a set of specific areas. Useful on Adventure mode servers.

_DOES NOT SUPPORT DIMENSIONS!_

Instruction

  1. Find out the ID of the item you want to restrict
  2. Find out the coordinates of two opposite corners of the (cubic) area, in which you want this item to be used
  3. Use the following command:\ /item-use restrict namespace:item_id corner 1 coordinates corner 2 coorinates
  4. Now you can only use this item in that area

Commands

/item-use restrict <item id> <pos1> <pos2>

Restricts the usage of an item to a cubic area between pos 1 and 2. You can create multiple areas for the same item. To use the item normally again you need to remove all restrictions with /item-use unrestrict <rule id>

/item-use list

List the restriction rules you’ve previously created.

/item-use unrestrict <rule id>

Remove a restriction. You can find out the ID with /item-use list

F. A. Q.

How to make the item normal again?\
To use the item normally again you need to remove all restrictions with /item-use unrestrict <rule id>

How to find out the restriction rule ID?\
You can find out the ID with /item-use list

Can multiple restriction areas overlap?\
Yes.

fabric-api
buymeacoffee-singular

常见问题

Item Use Restrictor 支持哪些 Minecraft 版本?

Item Use Restrictor 支持 Minecraft Java 版 1.20.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Item Use Restrictor 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

falseresync 的其他作品

查看全部 →