1.8.8 Spigot give default items rarities

Discussion in 'Spigot Plugin Development' started by Didi1150, Jun 22, 2021.

  1. I have made custom items with rarities, but I dont want normal vanilla items to exist, i want all of the items to have a lore to show the item rarities and stats. But how do I make an automated system to sort the rarities, because I dont want to go through every vanilla item and add it to a list
     
  2. So you want to progammatically generate rarities for items? How should that work? You'll have to to that manually.
     
  3. Do you want all vanilla items to have the same rarity? If so that would be pretty easy. If not, then what do you actually want?
     
  4. For example iron sword is common, diamond sword is uncommon, diamond pickaxe is uncommon, basically as hypixel did it with skyblock vanilla items.
     
  5. You need to set it manually. Maybe you can create some Lists to help you setting the rarity.
     
    • Agree Agree x 1
  6. you can consider all items to be basic (level 1 rarity) and add all others items to some sort of list in a config or database
     
  7. Oh man ok ill do it