Custom Tiers

circle-info

Refer to Tutorial: Creating a data packarrow-up-right to create the base datapack

circle-info

Folder Structure - data/[datapack namespace]/cobblebadges/tiers/[tier name].json Tier Identifier - [datapack namespace]:[tier name]

Example (Poké Tier) - data/cobblebadges/cobblebadges/tiers/poke.json Tier Identifier - cobblebadges:poke

Data Structure

{
  "name": "[text component]", // See Text Component Format
  "index": [any integer] // Used to check which tier comes after which
  // many tiers with the same index can exist
  // but only one of the same index can be on a single badge
  // (if a badge contains multiple tiers with the same index, the badge won't load)
}

Example

A Tier with the translation key tier.cobblebadges.poke and the color #cd3028 which has an index of 1.

{
  "name": {
    "translate": "tier.cobblebadges.poke",
    "color": "#cd3028"
  },
  "index": 1
}

Last updated