aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <51387595+AzureAaron@users.noreply.github.com>2023-12-15 15:48:01 -0500
committerGitHub <noreply@github.com>2023-12-15 15:48:01 -0500
commit8a763c8686ec6b896330de5aee71ab0fde4c18f0 (patch)
tree56b84e02e1dccf3ae650b07f0eede48fd04da519
parent8900e7ce79bd16c2b89d9125efcf0ad098842e65 (diff)
downloadSkyblocker-8a763c8686ec6b896330de5aee71ab0fde4c18f0.tar.gz
Skyblocker-8a763c8686ec6b896330de5aee71ab0fde4c18f0.tar.bz2
Skyblocker-8a763c8686ec6b896330de5aee71ab0fde4c18f0.zip
Ultimate rarity (#450)
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/item/ItemRarityBackgrounds.java4
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockItemRarity.java1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/item/ItemRarityBackgrounds.java b/src/main/java/de/hysky/skyblocker/skyblock/item/ItemRarityBackgrounds.java
index 8867af91..c9cdb99a 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/item/ItemRarityBackgrounds.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/item/ItemRarityBackgrounds.java
@@ -28,6 +28,7 @@ public class ItemRarityBackgrounds {
private static final Supplier<Sprite> SPRITE = () -> MinecraftClient.getInstance().getGuiAtlasManager().getSprite(CONFIG.itemRarityBackgroundStyle.tex);
private static final ImmutableMap<String, SkyblockItemRarity> LORE_RARITIES = ImmutableMap.ofEntries(
Map.entry("ADMIN", SkyblockItemRarity.ADMIN),
+ Map.entry("ULTIMATE", SkyblockItemRarity.ULTIMATE),
Map.entry("SPECIAL", SkyblockItemRarity.SPECIAL), //Very special is the same color so this will cover it
Map.entry("DIVINE", SkyblockItemRarity.DIVINE),
Map.entry("MYTHIC", SkyblockItemRarity.MYTHIC),
@@ -36,8 +37,7 @@ public class ItemRarityBackgrounds {
Map.entry("EPIC", SkyblockItemRarity.EPIC),
Map.entry("RARE", SkyblockItemRarity.RARE),
Map.entry("UNCOMMON", SkyblockItemRarity.UNCOMMON),
- Map.entry("COMMON", SkyblockItemRarity.COMMON)
- );
+ Map.entry("COMMON", SkyblockItemRarity.COMMON));
private static final Int2ReferenceOpenHashMap<SkyblockItemRarity> CACHE = new Int2ReferenceOpenHashMap<>();
public static void init() {
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockItemRarity.java b/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockItemRarity.java
index 07a566af..4addeac6 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockItemRarity.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/item/SkyblockItemRarity.java
@@ -4,6 +4,7 @@ import net.minecraft.util.Formatting;
public enum SkyblockItemRarity {
ADMIN(Formatting.DARK_RED),
+ ULTIMATE(Formatting.DARK_RED),
VERY_SPECIAL(Formatting.RED),
SPECIAL(Formatting.RED),
DIVINE(Formatting.AQUA),