aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/handlers/mapicons/DwarvenIcons.java
blob: 3ef41795e8301bb0bbf44b3176ce9d4ae78d53dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package com.thatgravyboat.skyblockhud.handlers.mapicons;

import com.thatgravyboat.skyblockhud.ComponentBuilder;
import com.thatgravyboat.skyblockhud.handlers.MapHandler;
import java.util.ArrayList;
import java.util.List;
import javax.vecmath.Vector2f;
import net.minecraft.util.ResourceLocation;

public class DwarvenIcons {

    public static List<MapHandler.MapIcon> dwarvenIcons = new ArrayList<>();

    static {
        setupNpcIcons();
        setupMiscIcons();
        setupInfoIcons();
        setupShopIcons();
        setupQuestIcons();
    }

    private static void setupNpcIcons() {
        dwarvenIcons.add(
            new MapHandler.MapIcon(
                new Vector2f(129, 187),
                new ResourceLocation("skyblockhud", "maps/icons/puzzle.png"),
                new ComponentBuilder()
                    .nl("Puzzler", new char[] { 'a', 'l' })
                    .nl("Description", 'l')
                    .nl("The Puzzler gives you a small puzzle each day to solve and")
                    .nl("gives you 1000 mithril powder.")
                    .build(),
                MapHandler.MapIconTypes.NPC
            )
        );
    }

    private static void setupMiscIcons() {}

    private static void setupInfoIcons() {
        dwarvenIcons.add(
            new MapHandler.MapIcon(
                new Vector2f(129, 187),
                new ResourceLocation("skyblockhud", "maps/icons/crown.png"),
                new ComponentBuilder()
                    .nl("King", new char[] { 'a', 'l' })
                    .nl("Description", 'l')
                    .nl("The King allows you to first start commissions and if you click")
                    .nl("each king which change every skyblock day you will get")
                    .nl("the King Talisman.")
                    .nl()
                    .apd("Click to open HOTM", new char[] { '6', 'l' })
                    .build(),
                MapHandler.MapIconTypes.INFO,
                "hotm"
            )
        );
    }

    private static void setupShopIcons() {
        dwarvenIcons.add(
            new MapHandler.MapIcon(
                new Vector2f(4, 8),
                new ResourceLocation("skyblockhud", "maps/icons/blacksmith.png"),
                new ComponentBuilder()
                    .nl("Forge", new char[] { 'a', 'l' })
                    .nl("Description", 'l')
                    .nl("The Forge is where you can go craft special items")
                    .nl("and fuel your drill.")
                    .nl("NPCS", new char[] { 'c', 'l' })
                    .nl(" Forger - Allows you to forge special items")
                    .nl(" Jotraeline Greatforge - Allows you to refuel your drill.")
                    .nl()
                    .apd("Click to warp", new char[] { '6', 'l' })
                    .build(),
                MapHandler.MapIconTypes.SHOPS,
                "warpforge"
            )
        );
    }

    private static void setupQuestIcons() {
        dwarvenIcons.add(
            new MapHandler.MapIcon(
                new Vector2f(67, 204),
                new ResourceLocation("skyblockhud", "maps/icons/special.png"),
                new ComponentBuilder()
                    .nl("Royal Resident", new char[] { 'a', 'l' })
                    .nl("The Royal Resident is a quest where you right")
                    .nl("click them for a bit to obtain and if you continue")
                    .nl("to right click them for about 7 hours it will give")
                    .apd("the achievement Royal Conversation.")
                    .build(),
                MapHandler.MapIconTypes.QUEST
            )
        );
    }
}