aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorBedrock-Armor <146508555+Bedrock-Armor@users.noreply.github.com>2025-06-10 18:40:07 -0600
committerGitHub <noreply@github.com>2025-06-10 20:40:07 -0400
commit17e401a50114646d8009a7dab6ba69f6478a5622 (patch)
tree2af1d922482633974fe33783637d4cab858b2191 /src/main
parentb84dd664e4656ee0c8fd82fc1caa10cbbccf6c21 (diff)
downloadSkyblocker-17e401a50114646d8009a7dab6ba69f6478a5622.tar.gz
Skyblocker-17e401a50114646d8009a7dab6ba69f6478a5622.tar.bz2
Skyblocker-17e401a50114646d8009a7dab6ba69f6478a5622.zip
Add Absorb Stacking Enchant Progress (#1339)
* Add Absorb Stacking Enchant Progress Adds the Absorb enchant from alpha to the list of stacking enchants progress tooltips * Update StackingEnchantProgressTooltip.java * Update StackingEnchantProgressTooltip.java
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/StackingEnchantProgressTooltip.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/StackingEnchantProgressTooltip.java b/src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/StackingEnchantProgressTooltip.java
index 303ba93b..fbc78c0d 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/StackingEnchantProgressTooltip.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/item/tooltip/adders/StackingEnchantProgressTooltip.java
@@ -16,12 +16,13 @@ import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
public class StackingEnchantProgressTooltip extends SimpleTooltipAdder {
- private static final Set<String> STACKING_ENCHANT_IDS = Set.of("expertise", "compact", "cultivating", "champion", "hecatomb", "toxophilite");
+ private static final Set<String> STACKING_ENCHANT_IDS = Set.of("expertise", "compact", "cultivating", "champion", "hecatomb", "absorb", "toxophilite");
private static final StackingEnchantInfo EXPERTISE_INFO = new StackingEnchantInfo("Expertise", "expertise_kills", "kills", 0, 50, 100, 250, 500, 1000, 2500, 5500, 10_000, 15_000);
private static final StackingEnchantInfo COMPACT_INFO = new StackingEnchantInfo("Compact", "compact_blocks", "blocks", 0, 100, 500, 1500, 5000, 15_000, 50_000, 150_000, 500_000, 1_000_000);
private static final StackingEnchantInfo CULTIVATING_INFO = new StackingEnchantInfo("Cultivating", "farmed_cultivating", "crops", 0, 1000, 5000, 25_000, 100_000, 300_000, 1_500_000, 5_000_000, 20_000_000, 100_000_000);
private static final StackingEnchantInfo CHAMPION_INFO = new StackingEnchantInfo("Champion", "champion_combat_xp", "Combat XP", 0, 50_000, 100_000, 250_000, 500_000, 1_000_000, 1_500_000, 2_000_000, 2_500_000, 3_000_000);
private static final StackingEnchantInfo HECATOMB_INFO = new StackingEnchantInfo("Hecatomb", "hecatomb_s_runs", "S runs", 0, 2, 5, 10, 20, 30, 40, 60, 80, 100);
+ private static final StackingEnchantInfo ABSORB_INFO = new StackingEnchantInfo("Absorb", "absorb_logs_chopped", "logs", 0, 1000, 5000, 25_000, 100_000, 300_000, 1_500_000, 5_000_000, 25_000_000, 50_000_000);
private static final StackingEnchantInfo TOXOPHILITE_INFO = new StackingEnchantInfo("Toxophilite", "toxophilite_combat_xp", "Combat XP", 0, 50_000, 100_000, 250_000, 500_000, 1_000_000, 1_500_000, 2_000_000, 2_500_000, 3_000_000);
public StackingEnchantProgressTooltip(int priority) {
@@ -45,6 +46,7 @@ public class StackingEnchantProgressTooltip extends SimpleTooltipAdder {
case "cultivating" -> CULTIVATING_INFO;
case "champion" -> CHAMPION_INFO;
case "hecatomb" -> HECATOMB_INFO;
+ case "absorb" -> ABSORB_INFO;
case "toxophilite" -> TOXOPHILITE_INFO;
default -> throw new IllegalStateException("Unexpected stacking enchant: " + enchantment);