blob: 74bba632a73ddb64fdc83da543791ef3d6df5f56 (
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
|
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 how meny pelts you have (farming island)
public class TrapperWidget extends Widget {
private static final MutableText TITLE = Text.literal("Trapper").formatted(Formatting.DARK_AQUA,
Formatting.BOLD);
public TrapperWidget() {
super(TITLE, Formatting.DARK_AQUA.getColorValue());
}
@Override
public void updateContent() {
this.addSimpleIcoText(Ico.LEATHER, "Pelts:", Formatting.AQUA, 46);
}
}
|