promotional bannermobile promotional banner

KubeJS Custom Rarity

Let you create new custom rarities using KubeJS

KubeJS addon that allows you to create custom rarities.

Create and customize your own rarity types with support for hex colors and text formatting.

Limits:

  • Forge / NeoForge: up to 200 custom rarities
  • Fabric / Quilt: unlimited custom rarities, available only for 1.20.1

You can apply custom colors using hex color codes and add formatting styles to each rarity.

Available formatting codes:

bold, italic, underlined, strikethrough, obfuscated

Examples:

StartupEvents.registry('item', event => {
  event.createRarity('mint', 0x98FF98)
  event.createRarity('fire', 0xE25822, bold, italic)
  event.createRarity('teal', 0x008080, bold, italic, underlined, strikethrough, obfuscated)

  event.create('mint_gem')
    .displayName('Mint Gem')
    .rarity('mint')
 
 event.create('fire_gem')
    .displayName('Fire Gem')
    .rarity('fire')
 
   event.create('teal_gem')
    .displayName('Teal Gem')
    .rarity('teal')
})


The KubeJS Custom Rarity Team

profile avatar
Owner
  • 1
    Followers
  • 3
    Projects
  • 612
    Downloads

More from maxkuka

  • TechnoMagicSMP project image

    TechnoMagicSMP

    • 103
    • Modpacks

    TechnoMagic ModPack with a focus on exploration and colony managment

    • 103
    • May 5, 2025
    • Modpacks
    • +2
  • BrightShade project image

    BrightShade

    • 409
    • Mods

    Addon For Dynamic Lights add new armor, template and lantern

    • 409
    • March 2, 2025
    • Mods
    • +1
  • TechnoMagicSMP project image

    TechnoMagicSMP

    • 103
    • Modpacks

    TechnoMagic ModPack with a focus on exploration and colony managment

    • 103
    • May 5, 2025
    • Modpacks
    • +2
  • BrightShade project image

    BrightShade

    • 409
    • Mods

    Addon For Dynamic Lights add new armor, template and lantern

    • 409
    • March 2, 2025
    • Mods
    • +1