Posted November 24, 20195 yr Like in the title. I've included display names for all of my mod's items in the en_US.json file. When I launch: gradlew RunClient all the names are displayed properly. But after I export the mod running: gradlew build and putting my mod file from /build/libs into the .minecraft/mods folder and launch the actual game, the names are displayed as item.modid.itemname. My selected language on both RunClient and actual Minecraft is English (US). Did I forget something or am I doing something wrong? A few bytes about me: public class Xander402 extends Modder implements IForumMember { int javaExperience, moddingExperience; LearningWay preferredLearningWay; public Xander402() { this.javaExperience = BIG; this.moddingExperience = NOT_SO_BIG; this.preferredLearningWay = LearningWay.through("exampes"); super(/*displayName*/"Xander402", /*moddingSince*/"1.9", preferredLearningWay); } @Override public Goal getReasonOfJoining(Forum forum) { return new Goal(() -> { while (true) moddingExperience++; }); } }
November 24, 20195 yr Author https://www.dropbox.com/sh/jvfs7y1kkk3tfaq/AABBPAQcr02vbzuZpn6-9iK0a?dl=0 Main file: /src/main/java/com/xander402/wildnaturechemistryaddon/WNChemistryAddon.java Items list: /src/main/java/com/xander402/wildnaturechemistryaddon/lists/ItemList.java Registered in: /src/main/java/com/xander402/wildnaturechemistryaddon/RegistryEvents.java Edited November 24, 20195 yr by Xander402 A few bytes about me: public class Xander402 extends Modder implements IForumMember { int javaExperience, moddingExperience; LearningWay preferredLearningWay; public Xander402() { this.javaExperience = BIG; this.moddingExperience = NOT_SO_BIG; this.preferredLearningWay = LearningWay.through("exampes"); super(/*displayName*/"Xander402", /*moddingSince*/"1.9", preferredLearningWay); } @Override public Goal getReasonOfJoining(Forum forum) { return new Goal(() -> { while (true) moddingExperience++; }); } }
November 24, 20195 yr Author Really? ? What a silly reason.. Thank you, anyway. Works fine now. Edited November 24, 20195 yr by Xander402 A few bytes about me: public class Xander402 extends Modder implements IForumMember { int javaExperience, moddingExperience; LearningWay preferredLearningWay; public Xander402() { this.javaExperience = BIG; this.moddingExperience = NOT_SO_BIG; this.preferredLearningWay = LearningWay.through("exampes"); super(/*displayName*/"Xander402", /*moddingSince*/"1.9", preferredLearningWay); } @Override public Goal getReasonOfJoining(Forum forum) { return new Goal(() -> { while (true) moddingExperience++; }); } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.