aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/hysky/skyblocker/utils/Constants.java36
1 files changed, 20 insertions, 16 deletions
diff --git a/src/main/java/de/hysky/skyblocker/utils/Constants.java b/src/main/java/de/hysky/skyblocker/utils/Constants.java
index 4c557133..403689ac 100644
--- a/src/main/java/de/hysky/skyblocker/utils/Constants.java
+++ b/src/main/java/de/hysky/skyblocker/utils/Constants.java
@@ -1,30 +1,34 @@
package de.hysky.skyblocker.utils;
-import java.util.List;
-import java.util.function.Supplier;
-
import net.minecraft.text.MutableText;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;
+import java.time.LocalDate;
+import java.util.List;
+import java.util.function.Supplier;
+
/**
* Holds generic static constants
*/
public interface Constants {
String LEVEL_EMBLEMS = "\u2E15\u273F\u2741\u2E19\u03B1\u270E\u2615\u2616\u2663\u213B\u2694\u27B6\u26A1\u2604\u269A\u2693\u2620\u269B\u2666\u2660\u2764\u2727\u238A\u1360\u262C\u269D\u29C9\uA214\u32D6\u2E0E\u26A0\uA541\u3020\u30C4\u2948\u2622\u2623\u273E\u269C\u0BD0\u0A6D\u2742\u16C3\u3023\u10F6\u0444\u266A\u266B\u04C3\u26C1\u26C3\u16DD\uA03E\u1C6A\u03A3\u09EB\u2603\u2654\u26C2\u0FC7\uA925\uA56A\u12DE";
- Supplier<MutableText> PREFIX = () -> Text.empty()
- .append(Text.literal("[").formatted(Formatting.GRAY))
- .append(Text.literal("S").withColor(0x00ff4c))
- .append(Text.literal("k").withColor(0x02fa60))
- .append(Text.literal("y").withColor(0x04f574))
- .append(Text.literal("b").withColor(0x07ef88))
- .append(Text.literal("l").withColor(0x09ea9c))
- .append(Text.literal("o").withColor(0x0be5af))
- .append(Text.literal("c").withColor(0x0de0c3))
- .append(Text.literal("k").withColor(0x10dad7))
- .append(Text.literal("e").withColor(0x12d5eb))
- .append(Text.literal("r").withColor(0x14d0ff))
- .append(Text.literal("] ").formatted(Formatting.GRAY));
+ Supplier<MutableText> PREFIX = () -> {
+ LocalDate time = LocalDate.now();
+ return Text.empty()
+ .append(Text.literal("[").formatted(Formatting.GRAY))
+ .append(Text.literal("S").withColor(0x00ff4c))
+ .append(Text.literal("k").withColor(0x02fa60))
+ .append(Text.literal(time.getMonthValue() == 4 && time.getDayOfMonth() == 1 ? "i" : "y").withColor(0x04f574))
+ .append(Text.literal("b").withColor(0x07ef88))
+ .append(Text.literal("l").withColor(0x09ea9c))
+ .append(Text.literal("o").withColor(0x0be5af))
+ .append(Text.literal("c").withColor(0x0de0c3))
+ .append(Text.literal("k").withColor(0x10dad7))
+ .append(Text.literal("e").withColor(0x12d5eb))
+ .append(Text.literal("r").withColor(0x14d0ff))
+ .append(Text.literal("] ").formatted(Formatting.GRAY));
+ };
List<String> SEYMOUR_IDS = List.of("VELVET_TOP_HAT", "CASHMERE_JACKET", "SATIN_TROUSERS", "OXFORD_SHOES");