From 9b0cf70949beab972a7f9b2e6884dc9eb4cb8dca Mon Sep 17 00:00:00 2001 From: boubou19 Date: Tue, 4 Apr 2023 13:57:15 +0200 Subject: Modid work (#1833) * add all mods founds in NHCore * depracte old strings * add ars magica 2 * more enum work * use a switch * spotless * more mod id rework * more mod id rework * more mod id rework * should be last * spotless * rename to make more sense * add path attribute * add getResourcePath to enum * spotless --- .../java/gregtech/common/misc/spaceprojects/enums/SolarSystem.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/gregtech/common/misc/spaceprojects/enums') diff --git a/src/main/java/gregtech/common/misc/spaceprojects/enums/SolarSystem.java b/src/main/java/gregtech/common/misc/spaceprojects/enums/SolarSystem.java index 7d0c4cee3e..34a71bfc84 100644 --- a/src/main/java/gregtech/common/misc/spaceprojects/enums/SolarSystem.java +++ b/src/main/java/gregtech/common/misc/spaceprojects/enums/SolarSystem.java @@ -1,5 +1,6 @@ package gregtech.common.misc.spaceprojects.enums; +import static gregtech.api.enums.Mods.GregTech; import static gregtech.common.misc.spaceprojects.enums.SpaceBodyType.*; import static gregtech.common.misc.spaceprojects.enums.StarType.*; @@ -10,7 +11,7 @@ import gregtech.common.misc.spaceprojects.interfaces.ISpaceBody; /** * An enum of all space bodies in the Sol Solar System. Or to be exact the more important ones - * + * * @author BlueWeabo */ public enum SolarSystem implements ISpaceBody { @@ -65,7 +66,7 @@ public enum SolarSystem implements ISpaceBody { SolarSystem(SpaceBodyType aType, StarType aStarType) { star = aStarType; spaceBody = aType; - texture = UITexture.fullImage("gregtech", "solarsystem/" + getName()); + texture = UITexture.fullImage(GregTech.ID, "solarsystem/" + getName()); SpaceProjectManager.addLocation(this); } -- cgit