diff --git a/README.md b/README.md index dba27fff..2d7e15d3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Metallics Arts 1.19.2-1.3.5 +# Metallics Arts 1.19.2-1.3.6 ## Index 📋 diff --git a/build.gradle b/build.gradle index 58626b72..595a6237 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } -version = '1.19.2-1.3.5' +version = '1.19.2-1.3.6' group = 'net.rudahee.metallics_arts' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'metallics_arts' diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderEN.java b/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderEN.java index b12030b4..c6befd08 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderEN.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderEN.java @@ -341,6 +341,20 @@ public class ModLanguageProviderEN extends LanguageProvider { put("a_" + metal.getNameLower() + "_2", "Allomantical " + metal.getNameLower() + " solid"); } }}; + + private Map patterns = new HashMap<>(){{ + + for (MetalsNBTData metal : MetalsNBTData.values()) { + + put("item.metallics_arts.f_"+metal.getNameLower()+"_pattern", "Feruchemical " + metal.getNameLower() + " pattern"); + put("item.metallics_arts.f_"+metal.getNameLower()+"_pattern.desc", "Feruchemical " + metal.getNameLower() + " pattern"); + put("item.metallics_arts.a_"+metal.getNameLower()+"_pattern", "Allomantic " + metal.getNameLower() + " pattern"); + put("item.metallics_arts.a_"+metal.getNameLower()+"_pattern.desc", "Allomantic " + metal.getNameLower() + " pattern"); + + } + + }}; + private Map colors = new HashMap<>() {{ put("white", "blanco"); put("orange", "naranja"); @@ -372,6 +386,10 @@ protected void addTranslations() { add(key, base.get(key)); } + for(String key: patterns.keySet()){ + add(key, patterns.get(key)); + } + for (String keySymbol : symbols.keySet()) { for (String keyColor : colors.keySet()) { add("block.minecraft.banner.metallics_arts." + keySymbol + "." + keyColor, symbols.get(keySymbol) + " " + keyColor); diff --git a/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderES.java b/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderES.java index b47be908..dd6d4984 100644 --- a/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderES.java +++ b/src/main/java/net/rudahee/metallics_arts/data/providers/ModLanguageProviderES.java @@ -338,6 +338,16 @@ public class ModLanguageProviderES extends LanguageProvider { put("a_"+metal.getNameLower()+"_2", MetalSpanish.valueOf(metal.name()).getMetalName() + " alomantico solido"); } }}; + + private Map patterns = new HashMap<>() {{ + for (MetalsNBTData metal: MetalsNBTData.values()) { + put("item.metallics_arts.f_"+metal.getNameLower()+"_pattern","Patrón ferruquimico de " + MetalSpanish.valueOf(metal.name()).getMetalName()); + put("item.metallics_arts.f_"+metal.getNameLower()+"_pattern.desc", "Patrón ferruquimico de " + MetalSpanish.valueOf(metal.name()).getMetalName()); + put("item.metallics_arts.a_"+metal.getNameLower()+"_pattern", "Patrón alomántico de " + MetalSpanish.valueOf(metal.name()).getMetalName()); + put("item.metallics_arts.a_"+metal.getNameLower()+"_pattern.desc", "Patrón alomántico de " + MetalSpanish.valueOf(metal.name()).getMetalName()); + } + }}; + private Map colors = new HashMap<>() {{ put("white", "blanco"); put("orange", "naranja"); @@ -369,6 +379,10 @@ protected void addTranslations() { add(key, base.get(key)); } + for(String key: patterns.keySet()){ + add(key, patterns.get(key)); + } + for (String keySymbol : symbols.keySet()) { for (String keyColor : colors.keySet()) { add("block.minecraft.banner.metallics_arts." + keySymbol + "." + keyColor, symbols.get(keySymbol) + " " + colors.get(keyColor));