aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/common/blocks
diff options
context:
space:
mode:
authorNotAPenguin <michiel.vandeginste@gmail.com>2024-09-16 00:53:18 +0200
committerGitHub <noreply@github.com>2024-09-15 22:53:18 +0000
commitb530fdac89f5d764613a6a69339e4324083c9895 (patch)
treea7c36051f84f8e4a7a654ec2266a3ea5a49a4ed8 /src/main/java/gtPlusPlus/xmod/gregtech/common/blocks
parent43af160db2e04f06bba3792a11860ee42c3d1947 (diff)
downloadGT5-Unofficial-b530fdac89f5d764613a6a69339e4324083c9895.tar.gz
GT5-Unofficial-b530fdac89f5d764613a6a69339e4324083c9895.tar.bz2
GT5-Unofficial-b530fdac89f5d764613a6a69339e4324083c9895.zip
Remove GT++ AutoMap (#3199)
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/common/blocks')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/common/blocks/textures/TexturesGtBlock.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/blocks/textures/TexturesGtBlock.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/blocks/textures/TexturesGtBlock.java
index 57d01bcc5f..f19263bb57 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/common/blocks/textures/TexturesGtBlock.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/blocks/textures/TexturesGtBlock.java
@@ -2,6 +2,8 @@ package gtPlusPlus.xmod.gregtech.common.blocks.textures;
import static gregtech.api.enums.Mods.GTPlusPlus;
+import java.util.ArrayList;
+
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.util.IIcon;
import net.minecraft.util.ResourceLocation;
@@ -11,13 +13,12 @@ import gregtech.api.interfaces.IIconContainer;
import gregtech.api.interfaces.ITexture;
import gregtech.api.objects.GTRenderedTexture;
import gtPlusPlus.api.objects.Logger;
-import gtPlusPlus.api.objects.data.AutoMap;
import gtPlusPlus.core.lib.GTPPCore;
public class TexturesGtBlock {
private static final boolean mAnimated = GTPPCore.ConfigSwitches.enableAnimatedTextures;
- private static final AutoMap<Runnable> mCustomiconMap = new AutoMap<>();
+ private static final ArrayList<Runnable> mCustomiconMap = new ArrayList<>();
/*
* Handles Custom Textures.
@@ -36,7 +37,7 @@ public class TexturesGtBlock {
public CustomIcon(final String aModID, final String aIconName) {
this.mIconName = aIconName;
this.mModID = aModID;
- mCustomiconMap.put(this);
+ mCustomiconMap.add(this);
Logger.WARNING("Constructing a Custom Texture. " + this.mIconName);
GregTechAPI.sGTBlockIconload.add(this);
}