Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dark2222

Forge Modder
  • Joined

  • Last visited

Everything posted by dark2222

  1. no idea any ideas how something like this can happen? like a System.out.println() maby?
  2. i understand why the mod not is working on multiplayer. if you are using a modloader methot in you mod it will be SSP only if any person(s) wonna say i am wrong then don't say it bekos i say what i have learned
  3. i am trying to help a person with making hes mod SMP and it is close too work but when i try too connect to the server i get this error in the console 2013-07-24 01:01:30 [iNFO] [sTDERR] java.io.IOException: Received string length longer than maximum allowed (2048 > 16) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet.readString(Packet.java:219) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet1Login.readPacketData(Packet1Login.java:57) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet.readPacket(Packet.java:166) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.TcpConnection.readPacket(TcpConnection.java:321) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.TcpConnection.readNetworkPacket(TcpConnection.java:545) 2013-07-24 01:01:30 [iNFO] [sTDERR] at net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:23)
  4. hello i found out why my blocks not will get in game but i don't now how to fix it the problem is in my tickhandler i don't now why but it is here's how i start my tickhandler TickRegistry.registerTickHandler(new ServerTickHandler(), Side.SERVER); and here is my tickhandler package com.dark2222.core.handlers; import java.util.EnumSet; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.potion.Potion; import net.minecraft.potion.PotionEffect; import com.dark2222.itempack.armor.ModArmor; import com.dark2222.itempack.config.ModConfigCore; import com.dark2222.itempack.lib.Reference; import com.dark2222.itempack.lib.Strings; import cpw.mods.fml.client.FMLClientHandler; import cpw.mods.fml.common.ITickHandler; import cpw.mods.fml.common.TickType; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.server.FMLServerHandler; public class ServerTickHandler implements ITickHandler{ private static boolean initializedserver = false; private static boolean initialized = false; private void onPlayerTick(EntityPlayer player){ if (player.getCurrentItemOrArmor(3) != null && player.getCurrentItemOrArmor(1) != null){ ItemStack Ochestplate = player.getCurrentItemOrArmor(3); ItemStack OBoots = player.getCurrentItemOrArmor(1); if (Ochestplate.getItem() == ModArmor.ObsidianChestPalte && OBoots.getItem() == ModArmor.ObsidianBoots ){ player.addPotionEffect(new PotionEffect(Potion.resistance.getId(), 19, 2)); } } } @Override public void tickStart(EnumSet<TickType> type, Object... tickData) { if(type.equals(EnumSet.of(TickType.PLAYER, TickType.SERVER))) { onPlayerTick((EntityPlayer) tickData[0]); } } @Override public void tickEnd(EnumSet<TickType> type, Object... tickData) { if(!initializedserver) { for (TickType ticktype : type) { if (ticktype == TickType.SERVER){ if (FMLServerHandler.instance().getServer() != null) { if(ModConfigCore.ConfigLoadFail != false || ModConfigCore.ConfigLoadFailArmor != false){ initializedserver = true; if(ModConfigCore.ConfigLoadFail == true || ModConfigCore.ConfigLoadFailArmor == true){ FMLServerHandler.instance().getServer().logWarning(Strings.CONFIG_DIFFICULTY_INGAME_CHAT); } } } } } } if(!initialized) { for (TickType ticktype : type) { if (ticktype == TickType.CLIENT){ if (FMLClientHandler.instance().getClient().currentScreen == null) { if(ModConfigCore.ConfigLoadFail != false || ModConfigCore.ConfigLoadFailArmor != false){ initialized = true; if(ModConfigCore.ConfigLoadFail == true || ModConfigCore.ConfigLoadFailArmor == true){ FMLClientHandler.instance().getClient().ingameGUI.getChatGUI().printChatMessage(Strings.CONFIG_DIFFICULTY_INGAME_CHAT); System.out.println("Something is wrong!"); } } } } } } } @Override public EnumSet<TickType> ticks() { return EnumSet.of(TickType.PLAYER, TickType.SERVER, TickType.WORLD); } @Override public String getLabel() { return Reference.MOD_NAME + ": " + this.getClass().getSimpleName(); } } fell free too look in my github too see other stuff but it is not 100% up-to-date (maby 5 days old)
  5. no my config for now is a difficulty loader (change crafting and smelting dipending if it is set too easy, normal, hard) so minecraft is crashing if i load the config before items and blocks bekos some smelting or crafting need my modded block/item
  6. feel free to look at my mods github https://github.com/henrikse55/Item-Pack
  7. it is all ready en preinit have never puted it in init
  8. i am working on my mod itempack and i think i got the textures fixed but i don't now when i am in-game creative and look where my blocks shull be it is not they and if i cheat /give me too it will it not have my texture and the name is tile.ForgeFiller.name and if i look in the console i can see that the texture too the block is loading
  9. As a modder you should never use @SideOnly. It screws things up badly. @Op: Post your crash report properly. Also do NOT post the Minecraft crash report but the ForgeModLoader log file. You are probably trying to register your renderers on the server, too, which won't work. You need a proper proxy system (before you ask: go to the wiki, there are tutorials.) you do now that @SideOnly only so the code it's over will be that you set it to only ex with armor do the server not need the textures the @SideOnly tuch one code and leave the rest do client and server @Override @SideOnly(Side.CLIENT) public String getArmorTextureFile(ItemStack itemstack) { if (itemstack.itemID == ModArmor.StoneHelmet.itemID || itemstack.itemID == ModArmor.StoneChestPlate.itemID || itemstack.itemID == ModArmor.StoneBoots.itemID){ return "/assets/itempack/textures/armor/stone_1.png"; } else if (itemstack.itemID == ModArmor.StoneLegs.itemID){ return "/assets/itempack/textures/armor/stone_2.png"; } else return null; } and sometimes you will need to else will minecraft crash and i have tryed that
  10. 1) please use insert code when you do that (it do it easyer to read) 2) what i can see is that it can't find a class, if you look at the start Exception in server tick loopjava.lang.NoClassDefFoundError: net/minecraft/client/renderer/entity/Renderat if your are using 1 class like my for tick handling for server and client you do remember to but the @SideOnly(Side.CLIENT)?
  11. year all times when i fix textures the names come with it and i am using forge 762 (all the numbers are 8.9.0.762)
  12. i am working on updating my mod itempack to 1.6.1 and the only problem i have is that my blocks not are getting textures, names or getting in the creative menu (under building blocks) the name it get is title.ForgeFiller.name and i am using this code to get my textures @SideOnly(Side.CLIENT) public void getBlockTexture(IconRegister iconRegister) { blockIcon = iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + ":" + this.getUnlocalizedName()); } and the normal GameRegistry.registerBlock(ModBlocks.SteelOre, Strings.STEELORE); and i can cheat my self to it
  13. have you tried to refries? (f5) sometimes in my eclipse my minecraft say a error normal i run minecraft exit minecraft f5 eclipse project and the error is gone
  14. i found something that i think can be useful about the textures (i think) and i will try to explain it with pictures first when the game has stated and your go into a world and see this [/img] but if you go in the resoursepack (first or after don't think it matter) and click on default [/img] and then go into the game, the names and textures are some how fixed and in the console i get a error code java.io.FileNotFoundException: .\coremods\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-03 21:40:43 [WARNING] [Minecraft-Client] Unable to parse metadata section of resourcepack: coremods java.io.FileNotFoundException: .\coremods\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-03 21:40:43 [WARNING] [Minecraft-Client] Unable to parse metadata section of resourcepack: bin java.io.FileNotFoundException: C:\development\forge\mcp\eclipse\Itempack\bin\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-03 21:40:43 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, coremods, coremods, bin 2013-07-03 21:40:43 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Steel-ore.png 2013-07-03 21:40:43 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Copper-ore.png 2013-07-03 21:40:44 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Steel-Block.png 2013-07-03 21:40:44 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Copper-Block.png 2013-07-03 21:40:44 [iNFO] [sTDOUT] 2013-07-03 21:40:44 [iNFO] [sTDOUT] SoundSystem shutting down... 2013-07-03 21:40:44 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2013-07-03 21:40:44 [iNFO] [sTDOUT] 2013-07-03 21:40:44 [iNFO] [sTDOUT] 2013-07-03 21:40:44 [iNFO] [sTDOUT] Starting up SoundSystem... 2013-07-03 21:40:44 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2013-07-03 21:40:44 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2013-07-03 21:40:44 [iNFO] [sTDOUT] OpenAL initialized. 2013-07-03 21:40:45 [iNFO] [sTDOUT] 2013-07-03 21:41:43 [WARNING] [Minecraft-Client] Unable to parse metadata section of resourcepack: coremods java.io.FileNotFoundException: .\coremods\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-03 21:41:43 [WARNING] [Minecraft-Client] Unable to parse metadata section of resourcepack: coremods java.io.FileNotFoundException: .\coremods\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) 2013-07-03 21:41:43 [WARNING] [Minecraft-Client] Unable to parse metadata section of resourcepack: bin java.io.FileNotFoundException: C:\development\forge\mcp\eclipse\Itempack\bin\pack.mcmeta (Den angivne fil blev ikke fundet) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at net.minecraft.client.resources.FolderResourcePack.func_110591_a(FolderResourcePack.java:25) at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(AbstractResourcePack.java:62) at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:47) at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:535) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelectSelectionList.elementClicked(GuiScreenTemporaryResourcePackSelectSelectionList.java:58) at net.minecraft.client.gui.GuiSlot.drawScreen(GuiSlot.java:241) at net.minecraft.client.resources.GuiScreenTemporaryResourcePackSelect.drawScreen(GuiScreenTemporaryResourcePackSelect.java:136) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1036) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930) at net.minecraft.client.Minecraft.run(Minecraft.java:822) at net.minecraft.client.main.Main.main(Main.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:57) at net.minecraft.launchwrapper.Launch.main(Launch.java:18) EDIT- sorry for the big pics din't now they will be that big EDIT- I do not put anything in the resourcepack folder
  15. i tryed to use your version but i get this error insted 2013-07-02 19:28:09 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/MISSING_ICON_ITEM_7258_Steel-Ingot.png
  16. Same thing happens to me. I get the same error! me too
  17. How did you do it? Do you have a Example - ItemRedstonePickaxe.class - Example? i can't remember exactly how i did but here is the old way i used + what error it say @Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister){ itemIcon = iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + "/" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1)); } and the error 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Steel-ore.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Copper-ore.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Steel-Block.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/blocks/tile.Copper-Block.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Iron-Stick.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/ip/Steel-Ingot.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Obsidian-Helmet.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Wooden-battle-axe.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Stone-Boots.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Obsidian-Boots.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Coocked-Egg.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Obsidian-ChestPlate.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Obsidian-Legs.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Copper-Axe.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Stone-Helmet.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Copper-Ingot.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Wooden-Hammer.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Stone-ChestPlate.png 2013-07-02 15:07:58 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: ip:textures/items/Stone-legs.png
  18. don't work for me minecraft can still not find my texture
  19. my mod use proxy's but i can tell your how i make mine work step by step and if that don't work your can pm me your skype and i can explain it to your 1. we need the client so we are gonna put public static int addArmor(String Armor){ return 0; } in the commonproxy the server do not need it so that's why commonproxy will return 0 2. add the same code in your client proxy but this time it is going to return RenderingRegistry.addNewArmourRendererPrefix(armor) insted of 0 public static int addArmor(String armor){ return RenderingRegistry.addNewArmourRendererPrefix(armor); } 3. now to use this code in a item your are simple just gonna add it like this Name = new Armorclass(id, Enum, CommonProxy.addArmor("add something here"), 0); 4. now we need the armor to show up but i think your all ready now that so just say if your need more help (or as i said before pm me your skype) edit-- feel free to look at my mods github to see with 100% how i make armor work with forge and SMP https://github.com/henrikse55/Item-Pack
  20. dam i am sooo stupid thanks man it works now how the code looks now if(!initializedserver) { for (TickType ticktype : type) { if (ticktype == TickType.SERVER){ if (FMLServerHandler.instance().getServer() != null) { <---- changed .isDedicatedServer() to != null if(ModConfigCore.ConfigLoadFail != false || ModConfigCore.ConfigLoadFailArmor != false){ initializedserver = true; if(ModConfigCore.ConfigLoadFail == true || ModConfigCore.ConfigLoadFailArmor == true){ FMLServerHandler.instance().getServer().logWarning(Strings.CONFIG_DIFFICULTY_INGAME_CHAT); } } } } } } EDIT--- by the way when i tried to use my mod in normal minecraft i got a wired crash report and i can see that it is something with the setUnlocalizedName cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: com.dark2222.itempack.item.ItemSteelIngot.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item; at cpw.mods.fml.common.LoadController.transition(LoadController.java:147) at cpw.mods.fml.common.Loader.loadMods(Loader.java:516) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:163) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:411) at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56) at net.minecraft.client.Minecraft.run(Minecraft.java:733) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoSuchMethodError: com.dark2222.itempack.item.ItemSteelIngot.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item; at com.dark2222.itempack.item.ModItems.init(ModItems.java:27) at com.dark2222.itempack.Itempack.preinit(Itempack.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:494) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103) at cpw.mods.fml.common.Loader.loadMods(Loader.java:515) ... 5 more [\code]
  21. thank your i found the error but i am completely blank on how to fix it so for now i removed the code, for now... (it is not need for my mod to run any way) the error is that i am with 99% change using a wrong way too detect when/if a server is running if(!initializedserver) { for (TickType ticktype : type) { if (ticktype == TickType.SERVER){ if (FMLServerHandler.instance().getServer().isDedicatedServer()) { <------- ERROR LINE HERE if(ModConfigCore.ConfigLoadFail != false || ModConfigCore.ConfigLoadFailArmor != false){ initializedserver = true; if(ModConfigCore.ConfigLoadFail == true || ModConfigCore.ConfigLoadFailArmor == true){ FMLServerHandler.instance().getServer().logWarning(Strings.CONFIG_DIFFICULTY_INGAME_CHAT); } } } } } }
  22. hey my one of my files are making my minecraft crash all times i try to load/create a new world and i found out it is my servertickhandler. The fun part is minecraft first begin with crashing (in eclipse) after i tryed to use my mod in the real minecraft out of eclipse. Crash code 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting level New World 2013-07-01 21:12:56 [iNFO] [sTDOUT] Attempt 1... 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\data 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\data\villages.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1\data 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1\forcedchunks.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1\data 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1\forcedchunks.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\forcedchunks.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat_mcr 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat_old 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\players 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\players\dark2222.dat 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\region 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\region\r.-1.0.mca 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\region\r.0.0.mca 2013-07-01 21:12:56 [iNFO] [sTDOUT] Deleting .\saves\New World\session.lock 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.5.2 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Generating keypair 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Converting map! 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Scanning folders... 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Total conversion count is 0 2013-07-01 21:12:58 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@19d4a122) 2013-07-01 21:12:58 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@19d4a122) 2013-07-01 21:12:58 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@19d4a122) 2013-07-01 21:12:58 [iNFO] [Minecraft-Server] Preparing start region for level 0 2013-07-01 21:12:59 [iNFO] [Minecraft-Server] Preparing spawn area: 18% 2013-07-01 21:13:00 [iNFO] [Minecraft-Server] Preparing spawn area: 44% 2013-07-01 21:13:01 [iNFO] [Minecraft-Server] Preparing spawn area: 68% 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] Preparing spawn area: 95% 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] dark2222[/127.0.0.1:0] logged in with entity id 91 at (247.5, 56.0, -36.5) 2013-07-01 21:13:02 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2013-07-01 21:13:02 [iNFO] [sTDOUT] MinecraftForge v7.8.1.737 Initialized 2013-07-01 21:13:02 [iNFO] [ForgeModLoader] MinecraftForge v7.8.1.737 Initialized 2013-07-01 21:13:02 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2013-07-01 21:13:02 [iNFO] [sTDERR] java.lang.NullPointerException 2013-07-01 21:13:02 [iNFO] [sTDERR] at com.dark2222.core.handlers.ServerTickHandler.tickEnd(ServerTickHandler.java:48) 2013-07-01 21:13:02 [iNFO] [sTDERR] at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34) 2013-07-01 21:13:02 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141) 2013-07-01 21:13:02 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:274) 2013-07-01 21:13:02 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:608) 2013-07-01 21:13:02 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127) 2013-07-01 21:13:02 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470) 2013-07-01 21:13:02 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2013-07-01 21:13:02 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NullPointerException java.lang.NullPointerException at com.dark2222.core.handlers.ServerTickHandler.tickEnd(ServerTickHandler.java:48) at cpw.mods.fml.common.SingleIntervalHandler.tickEnd(SingleIntervalHandler.java:34) at cpw.mods.fml.common.FMLCommonHandler.tickEnd(FMLCommonHandler.java:141) at cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:274) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:608) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:127) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:470) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2013-07-01 21:13:02 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\development\mcp\jars\.\crash-reports\crash-2013-07-01_21.13.02-server.txt 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] Stopping server 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] Saving players 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] Saving worlds 2013-07-01 21:13:02 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld my mods github (so your have all the files too look at) https://github.com/henrikse55/Item-Pack
  23. i am the mod maker of the mod Item-Pack (NOT a mod pack) and i will like do have modder status bekos my mod will be using Forge Mod: http://www.minecraftforum.net/topic/1262948-146-item-pack-mod/#entry15419812
  24. and this is how i learn java too i am done when the normal shcool i now i can't make a mod without making error i can't fix by my self intil i learn java but is that not why this modder support exist?
  25. ohh yea sorry @Init public void loadGobal(FMLInitializationEvent event){ itempackbase.Itemslist(); Cproxy.Name(event); proxy.registerRenderThings(); GameRegistry.registerBlock(CopperOre, "CopperOre"); GameRegistry.registerBlock(SteelOre, "Steel Ore"); GameRegistry.registerWorldGenerator(CopperGen); proxy.load(event); } but then it with i need to add this private static CopperGen CopperGen; private static final IWorldGenerator Coppergen = CopperGen;

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.