Final Example
{ "Restriction Data": { "stage": "age_1", "itemList": [ "minecraft:diamond" ], "blockList": [ ], "modList": [ "botania" ], "exceptionList": [ ], "containerList": [ "net.minecraft.inventory.container.WorkbenchContainer", "thitemstages.inventoryMenu.CraftingGrid" ], "dimensionList": [ "minecraft:the_nether" ] }, "Settings": { "advancedTooltips": "ALWAYS", "itemTitle": "Unavailable Item", "pickupDelay": 15, "hideInJEI": true, "canPickup": false, "containerListWhitelist": false, "checkPlayerInventory": false, "checkPlayerEquipment": true, "usableItems": false, "usableBlocks": false }}This restriction is going to:
- Stage the diamond item from vanilla and all the items from Botania to a stage named “age_1”.
- Drop those items when a player who doesn’t have that stage will put those items in his crafting grid from the inventory or a vanilla crafting table.
- Restrict the player from entering The Nether.
- Name all the restricted items “Unavailable Item”.
- Hide all of those items in JEI.
- Check the player’s equipment slots to see if any of those items are in there and if so drop them.
- Make the player to not be able to interact with any of those blocks/items.