Posted December 6, 201311 yr I followed this tutorial in order to make a block http://www.minecraftforum.net/topic/1896697-162-minecraft-modding-6a-a-basic-custom-block/ However when I follow it to make a second block the original block name changes to tile.tutorialBlock.name I have put the project up on github rather then adding all of the code, if that makes it easier. https://github.com/PandaTeamProject/HydroBlocks
December 6, 201311 yr public class Blocks { public static Block block; You have only one reference of Block in your Blocks class.
December 6, 201311 yr Author Thanks, I missed that the correction is public class Blocks { public static Block block; public static Block mixer; public static void init() { block = new TutBlock(Ids.tutBlock_actual); GameRegistry.registerBlock(block, Names.tutBlock_name); mixer = new MixerBlock(Ids.mixerBlock_actual); GameRegistry.registerBlock(mixer, Names.mixerBlock_name); } public static void addNames() { LanguageRegistry.addName(block, Names.tutBlock_name); LanguageRegistry.addName(mixer, Names.mixerBlock_name); } }
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.