Posted July 5, 20169 yr Hey there, I haven't touched blocks, etc in damn long time and I basically want quick update as to what you do. If someone could, please list every method you use in current modding of Blocks, Items and ItemBlock (I see there is no constructor taking ItemBlock?). Just methods and classes (for other magical stuff) and maybe other references, also client stuff and variants and shit like that) - basically everything that comes to your mind. Note: No need for any long descriptions. Thanks 1.7.10 is no longer supported by forge, you are on your own.
July 5, 20169 yr Can't you just go on youtube and watch a tutorial (~5 minutes long)? http://i.imgur.com/J4rrGt6.png[/img]
July 5, 20169 yr Author Can't you just go on youtube and watch a tutorial (~5 minutes long)? If you find me a tutorial listing all (probably about 15) methods regarding blocks, variants items-blocks and items in less than 5min - I will love you. If not - I am asking for a simple favor that can save me probably hour of looking and checking if given method is actually the right way. INSTA EDIT: Thanks D7 EDIT 2: K K 1.7.10 is no longer supported by forge, you are on your own.
July 5, 20169 yr Author Okay, 1st question: Registry name is: modid:name Should unlocalized name also contain modid? // constructor // name = "block" this.setRegistryName(name); // internally converts to "modid:block" this.setUnlocalizedName(this.getRegistryName().toString()); // will set to "modid:block" // or this.setUnlocalizedName(name); // will stay "block" Does mc/forge somehow recognise per-mod lang translations? For "modid:block" I am getting for example: "tile.modid:block.name" - is modid needed? Asking because I've never did it this way, and I just saw this in some opensource. 2nd Is is safe to assume that calling GameRegistry from constructor is safe - I know it is a bad practice, but I also know that it works, question is is it safe for internals (I can't really think of critical cases). 1.7.10 is no longer supported by forge, you are on your own.
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.