promotional bannermobile promotional banner

RarityJS

Create new rarity for modpack through kubejs.
Back to Files

RarityJS 1.1.1

File nameraritymod-1.1.1.jar
Uploader
TokyoSUTokyoSU
Uploaded
Feb 5, 2026
Downloads
45
Size
66.8 KB
Mod Loaders
Forge
File ID
7579570
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:custom-rarity-1037072:7579570")

Learn more about Curse Maven

What's new

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.

This mod has no additional files