Description
How It Works
This mod only prevents players from using tools and weapons, for example.
Tools without a weapon cannot be used or attack.
Blocks cannot be placed, etc.
Example: If you disable the crafting table, players can hold it but cannot place it down. However, they can still open it.
Configuration
Create a folder named after this mod's ID inside the
configdirectory:itemprohibiteditemsEach subfolder inside
itemprohibiteditemsrepresents a mod, named after that mod's ID.Create two JSON files inside:
items.json: The items to be disabled.wearables.json: Armor that cannot be equipped (experimental, recommended to leave disabled).
Folder Structure
E:\DEVELOPER\MINECRAFT\FORGE\PROHIBITED-USE-OF-ITEMS\RUN\CONFIG
│ fml.toml
│ forge-client.toml
│ itemprohibiteditems-common.toml
│ itemprohibiteditems-wearable.toml
│
└─itemprohibiteditems (folder)
└─minecraft
items.json
wearables.json
items.json
- Disable the diamond sword
[
"diamond_sword"
]
wearables.json
- Disable diamond armor
[
"diamond_boots",
"diamond_leggings",
"diamond_chestplate",
"diamond_helmet"
]
In-Game Reload (Commands)
- Reload everything
/itemprohibiteditems reload
- View disabled items
/itemprohibiteditems items
- View disabled equipment
/itemprohibiteditems wearables




