Custom Badges

circle-info

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

circle-info

Folder Structure - data/[datapack namespace]/cobblebadges/badges/[badge name].json Badge Identifier - [datapack namespace]:[badge name]

Example (Bug Badge) - data/cobblebadges/cobblebadges/badges/bug.json Badge Identifier - cobblebadges:bug

circle-info

Texture Location - assets/[datapack namespace]/textures/badge/[datapack namespace]/[badge name]/[rarity].png

Example (Bug Badge) - assets/cobblebadges/textures/badge/cobblebadges/bug/locked.png - assets/cobblebadges/textures/badge/cobblebadges/bug/cobblebadges_poke.png - assets/cobblebadges/textures/badge/cobblebadges/bug/cobblebadges_great.png - assets/cobblebadges/textures/badge/cobblebadges/bug/cobblebadges_ultra.png - assets/cobblebadges/textures/badge/cobblebadges/bug/cobblebadges_master.png

Data Structure

{
  "name": "[text component]", // See Text Component Format
  "category": "[category id]", // See Identifier (the translation key for the category will be 'badge_category.[namespace].[path]')
  "is_hidden": [true | false], // Optional, default: false - It's name, texture and requirements will be hidden in the badge case
  "is_secret": [true | false], // Optional, default: false - The badge won't be present in the badge case until it's unlocked
  "tiers": [
    //WIP
  ]
}

Example

A badge named with the translation key badge.cobblebadges.bug colored with this color code: #D3D319

It will be present in the category badge_category.cobblebadges.elemental_type

Last updated