Posted August 12, 201312 yr I didn't get much help from the other forum so I'm going to link it to here so I don't have to re tip it. http://www.minecraftforum.net/topic/1929274-cant-find-custom-block-texture/ I get the texture to work but when I click to destroy it or place it, it kicks me out of the game.
August 12, 201312 yr can you post your main mod class please (also, LOL @ the guy saying you should use MCCreator ) how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 12, 201312 yr Your problem isn't with your texture. It's with a sound. According to your error log, there is a problem with it playing the step sound for the block. Line 2303 in Render Global, the line causing the problem, is this: this.mc.sndManager.playSound(block.stepSound.getBreakSound(), (float)par3 + 0.5F, (float)par4 + 0.5F, (float)par5 + 0.5F, (block.stepSound.getVolume() + 1.0F) / 2.0F, block.stepSound.getPitch() * 0.8F); Since it's throwing a null, that means there is no getBreakSound() is returning null, when it should return the Step Sound Try calling this.setStepSound("sound name here"); in your constructor
August 13, 201312 yr Author Your problem isn't with your texture. It's with a sound. According to your error log, there is a problem with it playing the step sound for the block. Line 2303 in Render Global, the line causing the problem, is this: this.mc.sndManager.playSound(block.stepSound.getBreakSound(), (float)par3 + 0.5F, (float)par4 + 0.5F, (float)par5 + 0.5F, (block.stepSound.getVolume() + 1.0F) / 2.0F, block.stepSound.getPitch() * 0.8F); Since it's throwing a null, that means there is no getBreakSound() is returning null, when it should return the Step Sound Try calling this.setStepSound("sound name here"); in your constructor The sound was the problem? that is so stupid. Thank you so much
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.