Posted May 8, 20178 yr Hi together, I am new to modding and I started yesterday with modding. So I downloaded the current forge version: 1.11.2 - 13.20.0.2296 (which is not recommended I know, but as I am a dev aswell I wanted to start with this. So I created everything to run it with Intellij like it is documented in the official documentation. I started to create my very first item then, but instead of implementing the item directly I implemented a "parent" classw which keeps all the basic information. My child class inherits everything and is just changing the "identifier" which is used ti create registry name and unlocalized name for the item. So the interface with the methode "getIdentifier()" is used in the parental class to call setUnlocalizedName(getIdentifier()) setRegistryName(getIdentifier()) and will result in: item.child child So I created the resources under resources -> assets -> modid -> lang resources -> assets -> modid -> models resources -> assets -> modid -> textures And everything works finde the textures are shown, now "purple black cube", except the loading of the name. As I think the unlocalized name is used to refer to the .lang-file, because it shows me in the game: item.child.name it is not resolving the name: I do have defined under the assets -> modid -> lang Path a en_US.lang - File which contains the line: item.child.name=Child Name! The file is encoded UTF-8 (without BOM/Standard) and has no trailling or other whitespace strings. Am I missing something or is this a Bug. If you want I can provide the source as .zip/.tar however
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.