diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/hysky/skyblocker/utils/Constants.java | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/utils/Constants.java b/src/main/java/de/hysky/skyblocker/utils/Constants.java index d900f917..c002be57 100644 --- a/src/main/java/de/hysky/skyblocker/utils/Constants.java +++ b/src/main/java/de/hysky/skyblocker/utils/Constants.java @@ -13,13 +13,33 @@ import java.util.function.Supplier; */ 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\u2592\u12DE"; + Supplier<MutableText> PREFIX = () -> { LocalDate time = LocalDate.now(); + if (time.getMonthValue() == 4 && time.getDayOfMonth() == 1) { + return Text.empty().append(Text.literal("[").formatted(Formatting.GRAY)) + .append(Text.literal("S").withColor(0x00ff4c)) + .append(Text.literal("k").withColor(0x02fa60)) + .append(Text.literal("i").withColor(0x04f574)) + .append(Text.literal("b").withColor(0x07ef88)) + .append(Text.literal("i").withColor(0x09ea9c)) + .append(Text.literal("d").withColor(0x0be5af)) + .append(Text.literal("i").withColor(0x0de0c3)) + .append(Text.literal("b").withColor(0x10dad7)) + .append(Text.literal("l").withColor(0x12d5eb)) + .append(Text.literal("o").withColor(0x14d0ff)) + .append(Text.literal("c").withColor(0x16cbff)) + .append(Text.literal("k").withColor(0x18c6ff)) + .append(Text.literal("e").withColor(0x1ac1ff)) + .append(Text.literal("r").withColor(0x1cbbff)) + .append(Text.literal("] ").formatted(Formatting.GRAY)); + } + 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("y").withColor(0x04f574)) .append(Text.literal("b").withColor(0x07ef88)) .append(Text.literal("l").withColor(0x09ea9c)) .append(Text.literal("o").withColor(0x0be5af)) |