From 27b721b22e525004b4943e547b27c4f38b0ebc82 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 10 Sep 2021 09:58:56 +0700 Subject: [PATCH] Implement extended reach icon --- src/main/java/ru/dbotthepony/mc/otm/Registry.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/ru/dbotthepony/mc/otm/Registry.java b/src/main/java/ru/dbotthepony/mc/otm/Registry.java index fcda56757..ee92f248b 100644 --- a/src/main/java/ru/dbotthepony/mc/otm/Registry.java +++ b/src/main/java/ru/dbotthepony/mc/otm/Registry.java @@ -688,6 +688,8 @@ public class Registry { public static final SkinElement ICON_WIRELESS_CHARGING; public static final SkinElement ICON_UNKNOWN; + public static final SkinElement ICON_EXTENDED_REACH; + static { int x = 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_WIRELESS_CHARGING = new SkinElement(ICONS, x, y, 18, 18, 126, 126); x += 18; 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 AIR_BAGS = @@ -736,7 +743,7 @@ public class Registry { .setExperienceCost(40) .addFeatureResult(AndroidFeatures.EXTENDED_REACH) .withDescription() - .withIcon(ICON_UNKNOWN) + .withIcon(ICON_EXTENDED_REACH) .build(); public static final AndroidResearchType[] LIMB_OVERCLOCKING = new AndroidResearchType[4];