aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock/tabhud/widget/ProfileWidget.java
blob: de2ea0c65128202039f7fea22b44319ef743ccfb (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
package de.hysky.skyblocker.skyblock.tabhud.widget;

import de.hysky.skyblocker.skyblock.tabhud.util.Ico;
import net.minecraft.text.MutableText;
import net.minecraft.text.Text;
import net.minecraft.util.Formatting;

// this widget shows info about your profile and bank

public class ProfileWidget extends Widget {

    private static final MutableText TITLE = Text.literal("Profile").formatted(Formatting.YELLOW, Formatting.BOLD);

    public ProfileWidget() {
        super(TITLE, Formatting.YELLOW.getColorValue());

    }

    @Override
    public void updateContent() {
        this.addSimpleIcoText(Ico.SIGN, "Profile:", Formatting.GREEN, 61);
        this.addSimpleIcoText(Ico.BONE, "Pet Sitter:", Formatting.AQUA, 62);
        this.addSimpleIcoText(Ico.EMERALD, "Balance:", Formatting.GOLD, 63);
        this.addSimpleIcoText(Ico.CLOCK, "Interest in:", Formatting.GOLD, 64);

    }

}