From e08a304cd38f54d023a9ac4534bcd20d10cdd7c9 Mon Sep 17 00:00:00 2001 From: Lyft <127234178+Lyfts@users.noreply.github.com> Date: Sat, 28 Sep 2024 16:33:57 +0200 Subject: Give ore mixes localized names (#3290) Co-authored-by: Martin Robertz --- src/main/java/gtneioreplugin/util/GT5OreLayerHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/java/gtneioreplugin/util') diff --git a/src/main/java/gtneioreplugin/util/GT5OreLayerHelper.java b/src/main/java/gtneioreplugin/util/GT5OreLayerHelper.java index ac4d6c4aca..0e8e5b3462 100644 --- a/src/main/java/gtneioreplugin/util/GT5OreLayerHelper.java +++ b/src/main/java/gtneioreplugin/util/GT5OreLayerHelper.java @@ -71,7 +71,7 @@ public class GT5OreLayerHelper { public static class OreLayerWrapper { - public final String veinName, worldGenHeightRange; + public final String veinName, worldGenHeightRange, localizedName; public final short[] Meta = new short[4]; public final short randomWeight, size, density; public final Map allowedDimWithOrigNames; @@ -83,6 +83,7 @@ public class GT5OreLayerHelper { public OreLayerWrapper(OreMixBuilder mix) { this.veinName = mix.oreMixName; + this.localizedName = mix.localizedName; this.Meta[0] = (short) mix.primary.mMetaItemSubID; this.Meta[1] = (short) mix.secondary.mMetaItemSubID; this.Meta[2] = (short) mix.between.mMetaItemSubID; -- cgit