Decursio Team Wiki
  • The Official Decursio Team Wiki
  • Modpacks
    • Decursio Project: Expert
      • General Info
        • Frequently Asked Questions
          • VR
          • GUI & Visuals
          • Gameplay
          • No Release?
        • Mod Distribution (WIP)
        • Modified Features (WIP)
        • Tips (WIP)
      • Mechanics
        • Quests
        • Ages
        • Gated Features
        • Mob Difficulty
        • Chunk Claiming/Loading
        • Player Health
        • Player Nutrition (PR 26+)
        • Seasons/Agriculture (WIP)
        • Dimensions (WIP)
        • Boss Fights (WIP)
        • Endgame (WIP)
      • Guides
        • Ore Gen
        • The First Day
        • Making Charcoal
        • The Pit Kiln
        • Ore Kilns
        • Construction Paste Processing (WIP)
        • Leather Working (WIP)
        • Making Iron
        • Armors (WIP)
        • Resourceful Bees (WIP)
        • Eidolon & Rituals (WIP)
        • Create Rotational Power Generators (WIP)
  • mods
    • Decursio Stages
      • Generating the mod's files
      • decursio_stages folder
      • The Stage/Restriction file
        • How to make a stage
        • Restrictions
      • Possible Configuration Examples
      • Debug Feature
      • In-Game Commands
      • FAQ
    • [DISCONTINUED ] T.H.I.S.
      • 1.16.5
        • Understanding Stages/Restrictions
        • Creating stages
        • Creating restrictions
          • Restriction Data
          • Settings
        • Final Example
        • Integrations
          • Improved Mobs
      • 1.18-1.19.2
        • Understanding Stages/Restrictions
        • Creating stages
        • Creating restrictions
          • Restriction Data
          • Settings
        • Final Example
    • Pickable Health Orbs
      • Locating the orbs folder
      • Modifying already existing orbs
      • Creating custom orbs
        • Orbs Data
Powered by GitBook
On this page

Was this helpful?

  1. mods
  2. [DISCONTINUED ] T.H.I.S.
  3. 1.16.5

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.

PreviousSettingsNextIntegrations

Last updated 2 years ago

Was this helpful?