Final Example

A restriction example with all the possible parameters

{
  "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:

  1. Stage the diamond item from vanilla and all the items from Botania to a stage named "age_1".

  2. 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.

  3. Restrict the player from entering The Nether.

  4. Name all the restricted items "Unavailable Item".

  5. Hide all of those items in JEI.

  6. Check the player's equipment slots to see if any of those items are in there and if so drop them.

  7. Make the player to not be able to interact with any of those blocks/items.

Last updated