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.18-1.19.2

Final Example

A restriction example with all the possible parameters

{
  "Restriction Data": {
    "stage": "age_1",
    "itemList": [
      {
        "item": "minecraft:chest",
        "nbt": {
          "display": {
            "Name": "[{\"text\":\"Magic Chest\",\"italic\":false}]"
          }
        }
      }
    ],
    "modList": [
      "minecraft"
    ],
    "tagList": [
      "minecraft:logs"
    ],
    "exceptionList": [
      {
        "item": "minecraft:chest"
      },
      {
        "item": "minecraft:iron_ingot",
        "nbt": {
          "display": {
            "Name": "[{\"text\":\"Magic Iron\",\"italic\":false}]"
          }
        }
      },
      {
        "tag": "minecraft:anvil"
      },
      {
        "mod": "botania"
      }
    ],
    "containerList": [
      "net.minecraft.inventory.container.WorkbenchContainer"
    ],
    "dimensionList": [
      {
        "dimension": "minecraft:the_nether",
        "message": "You're not allowed in this dimension!"
      }
    ]
  },
  "Settings": {
    "advancedTooltips": "ALWAYS",
    "itemTitle": "Unavailable Item",
    "pickupDelay": 15,
    "hideInJEI": true,
    "canPickup": false,
    "containerListWhitelist": false,
    "checkPlayerInventory": true,
    "checkPlayerEquipment": false,
    "destroyableBlocks": false,
    "usableItems": false,
    "usableBlocks": false
  }
}

PreviousSettingsNextPickable Health Orbs

Last updated 2 years ago

Was this helpful?