90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
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
- Find out the ID of the item you want to restrict
- Find out the coordinates of two opposite corners of the (cubic) area, in which you want this item to be used
- Use the following command:
/item-use restrict namespace:item_id corner 1 coordinates corner 2 coorinates
- 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.
Details
Licensed Apache-2.0
Published 9 months ago
Updated 9 months ago