RarityJS

Create new rarity for modpack through kubejs.

File Details

RarityJS 1.1.1

  • R
  • Feb 5, 2026
  • 66.77 KB
  • 32
  • 1.20.1
  • Forge

File Name

raritymod-1.1.1.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:custom-rarity-1037072:7579570")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Added setRarityByNBT(item_resource_name, nbt_tag, rarity_name).

Use nbt tag and item resource name to define specific rarity, check out the wiki for an example of the command.

  • Fixed @Generics missing for setRarityByTag.
  • Added missing rarity for minecraft:conduit.
  • Added rarity for egg and spawner.
  • Early exit if item is null.
  • Optimized getTagRarity().
  • Fixed icon.png incorrectly defined.