Implement extended reach icon

This commit is contained in:
DBotThePony 2021-09-10 09:58:56 +07:00
parent f5b35349ff
commit 27b721b22e
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -688,6 +688,8 @@ public class Registry {
public static final SkinElement ICON_WIRELESS_CHARGING; public static final SkinElement ICON_WIRELESS_CHARGING;
public static final SkinElement ICON_UNKNOWN; public static final SkinElement ICON_UNKNOWN;
public static final SkinElement ICON_EXTENDED_REACH;
static { static {
int x = 0; int x = 0;
int y = 0; int y = 0;
@ -721,6 +723,11 @@ public class Registry {
ICON_ENDER_TELEPORT = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18; ICON_ENDER_TELEPORT = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18;
ICON_WIRELESS_CHARGING = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18; ICON_WIRELESS_CHARGING = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18;
ICON_UNKNOWN = new SkinElement(ICONS, x, y, 18, 18, 126, 126); ICON_UNKNOWN = new SkinElement(ICONS, x, y, 18, 18, 126, 126);
y += 18;
x = 0;
ICON_EXTENDED_REACH = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18;
} }
public static final AndroidResearchType<ru.dbotthepony.mc.otm.android.AndroidResearch> AIR_BAGS = public static final AndroidResearchType<ru.dbotthepony.mc.otm.android.AndroidResearch> AIR_BAGS =
@ -736,7 +743,7 @@ public class Registry {
.setExperienceCost(40) .setExperienceCost(40)
.addFeatureResult(AndroidFeatures.EXTENDED_REACH) .addFeatureResult(AndroidFeatures.EXTENDED_REACH)
.withDescription() .withDescription()
.withIcon(ICON_UNKNOWN) .withIcon(ICON_EXTENDED_REACH)
.build(); .build();
public static final AndroidResearchType<ru.dbotthepony.mc.otm.android.AndroidResearch>[] LIMB_OVERCLOCKING = new AndroidResearchType[4]; public static final AndroidResearchType<ru.dbotthepony.mc.otm.android.AndroidResearch>[] LIMB_OVERCLOCKING = new AndroidResearchType[4];