Posted March 17, 201312 yr I am texturing my first block I have textured it and entered the code for it It isn't showing up so when I look in the run logs I see this error 2013-03-17 11:45:20 [iNFO] [sTDERR] java.io.IOException: Server returned HTTP response code: 503 for URL: http://s3.amazonaws.com/MinecraftResources/ 2013-03-17 11:45:20 [iNFO] [sTDERR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) 2013-03-17 11:45:20 [iNFO] [sTDERR] at net.minecraft.util.ThreadDownloadResources.run(ThreadDownloadResources.java:57) I can only assume that this is stopping the texture from being loaded... Any help?!?! STOP CRUCIFYING NEW MODDERS!!!!
March 17, 201312 yr Author Has nothing to do with your texture. Minecraft downloads sounds, etc. when it first starts and when that fails that error is shown. I guess the MC servers are just down. This is my code for my texture.. public class BlockParallelWorldsBlock extends Block{ public BlockParallelWorldsBlock(int id, int texture, Material mat){ super(id, mat); this.setCreativeTab(CreativeTabs.tabBlock); } public String getTextureFile(){ return "/parallelworlds/ParallelWorlds_Blcoks.png"; } } public class ClientProxyParallelWorlds extends CommonProxyParallelWorlds{ @Override public void registerRenders() { MinecraftForgeClient.preloadTexture("/parallelworlds/ParallelWorlds_Blcoks.png"); } } @Mod(modid = "Parallel Worlds", name = "Parallel Worlds", version = "1.0.0") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class ParallelWorlds { @SidedProxy(clientSide = "parallelworlds.client.ClientProxyParallelWorlds", serverSide = "parallelworlds.common.CommonProxyParallelWorlds") public static ClientProxyParallelWorlds proxy = new ClientProxyParallelWorlds(); Block parallelworldsBlock; int parallelworldsBlockID = 682; @Init public void load(FMLInitializationEvent event){ parallelworldsBlock = new BlockParallelWorldsBlock(parallelworldsBlockID, 0, Material.iron).setUnlocalizedName("Nightium").setHardness(8.0F).setResistance(10000.0F).setStepSound(Block.soundStoneFootstep); gameRegisters(); languageRegisters(); proxy.registerRenders(); } public void gameRegisters(){ GameRegistry.registerBlock(parallelworldsBlock);} public void languageRegisters(){ LanguageRegistry.addName(parallelworldsBlock, "Nightium"); } } Blocks is spelt Blcoks on purpose... Any help on this?! STOP CRUCIFYING NEW MODDERS!!!!
March 17, 201312 yr he has update, he is using setUnlocalised name instead of setblockName Use examples, i have aspergers. Examples make sense to me.
March 17, 201312 yr he has update, he is using setUnlocalised name instead of setblockName Then he should follow this tutorial regarding to the new texture system: http://www.minecraftforum.net/topic/1722368-15-icons-and-block-textures/ Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
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.