← Назад к ресурсам

Item Restrictions

Data driven item restriction library based on Arc Lib.

Modrinth game-mechanics library

Описание

[![Bisect Hosting Promotion Banner](https://www.bisecthosting.com/partners/custom-banners/ee9630c7-c981-45f9-9862-3a1d71a628bf.webp)](https://redirect.daqem.com?to=https%3A%2F%2Fbisecthosting.com%2FDAQEM%3Fr%3DItemRestrictionsModrinth) [![Ko-fi Promotion Banner](https://i.imgur.com/SU7HhbO.png)](https://ko-fi.com/daqem) ## What does this mod do? This mod can restrict players from crafting, smelting, brewing and repairing items but also placing and breaking blocks and hurting mobs/players with a certain item. This is done using Arc Lib conditions. ### Here is an example restriction for placing and breaking stone: ```json { "types": [ "break_block", "place_block" ], "conditions": [ { "type": "arc:item", "inverted": true, "item": "minecraft:stone" } ] } ```