Jump to content

Struxx

Members
  • Posts

    22
  • Joined

  • Last visited

Everything posted by Struxx

  1. news problem now i have the textures in GUI but background is purple black http://www.bilder-upload.eu/upload/287767-1473174106.png
  2. i change it but dont work. in F5 i see my armor but not in my inventory
  3. what I need to do so it works? the GUI texture is missing was kann ich tun damit die GUI eine textur hat hab ja alles richtig gemacht glaube ich
  4. maybe u find the error
  5. i dont have a getArmorTextureLocation() i just have getArmorTexture(string, entity, equipmentslot, type) i fill it with getArmorTexture(plastichelmet, 49, 0 ,null); but then is "getArmorTexture" red marker and eclipse want: change method getArmorTexture(string, entity, equipmentslot, type) to getArmorTexture(ItemArmor,int,int,string) what musst i fill here?
  6. not helpfull. my english is bad i know. so were can i add this getArmorTextur... in which method ?
  7. did i need a java class for every part?(head,chest....)
  8. this "ItemPlasticHelmet.java" ? i try it but after "extends" idont know the code
  9. how can i do that?
  10. thats the .json File: { "parent": "item/generated", "textures": { "layer0": "plasticmod:items/plasticlegs", "layer1": "plasticmod:armor/armor_layer_2" } } and thats the itemPlasticArmor.java:
  11. http://www.bilder-upload.eu/show.php?file=cd84d9-1472046835.png i change it, but its again black,purple GameRegistry.registerItem(plasticlegs, "plasticlegs"); ModelLoader.setCustomModelResourceLocation(plasticlegs, 0, new ModelResourceLocation("plasticlegs", "inventory"));
  12. It doesnt work, this is the correkt code, right? http://www.bilder-upload.eu/show.php?file=3d30b8-1472046267.png GameRegistry.registerItem(plasticlegs, "plasticlegs"); ModelLoader.setCustomModelResourceLocation(plasticlegs, 0, new ModelResourceLocation("plasticmod:plasticlegs", "inventory"));
  13. hi why is my armor purple black? i think i have all right heres my workplace please help me .____. workplace: http://www.mediafire.com/download/imp01zip8jgruod/struxx.rar
  14. do you mean this registry.register... minecraft.getminecraft... i made this
  15. yes i have models and textures but ingame i see just the third person textures from armor. but i dont see the inventory textures i dont know why
  16. Sooooooooooooo, now i see the armor in F5 modus but in inventory its already black purlpe and i dont know why PLS HELP
  17. hi why is my armor purple black? i think i have all right heres my workplace please help me .____. workplace: http://www.mediafire.com/download/imp01zip8jgruod/struxx.rar
  18. how can i fix my axe? i copy the code from pickaxe,spade and hoe its the same code
  19. hi i write on my mod and add armor but if i wrote this and "0,1,2,3" is red (Type mismatch:Cannot convert from int to EntityEquipmentSlot") what do i wrong?: package com.PlasticMod.items; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.ItemArmor; public class ItemPlasticArmor<IconRegister> extends ItemArmor{ public ItemPlasticArmor(ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn) { super(materialIn, renderIndexIn, equipmentSlotIn); switch(armorType){ case 0:setUnlocalizedName("plastichelmet"); break; case 1:setUnlocalizedName("plasticchest"); break; case 2:setUnlocalizedName("plasticlegs"); break; case 3:setUnlocalizedName("plasticboots"); break; } } }
  20. hi i have a problem, i added shovel,axe,pickaxe and hoe to my mod and if i press the "run client" button minecraft load for 5 secounds then it crashs. i hope u can help me ._. crashreport: Time: 22.08.16 00:46 Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderException: java.lang.ExceptionInInitializerError at net.minecraftforge.fml.common.LoadController.transition(LoadController.java:186) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:562) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:216) at net.minecraft.client.Minecraft.startGame(Minecraft.java:477) at net.minecraft.client.Minecraft.run(Minecraft.java:386) at net.minecraft.client.main.Main.main(Main.java:118) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) 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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:483) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:235) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:213) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:531) ... 16 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 5 at net.minecraft.item.ItemAxe.<init>(ItemAxe.java:19) at com.PlasticMod.items.ItemPlasticAxe.<init>(ItemPlasticAxe.java:11) at com.PlasticMod.PlasticMod.<clinit>(PlasticMod.java:52) ... 41 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 814346664 bytes (776 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.32 Powered by Forge 12.18.0.2000 4 mods loaded, 4 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UC FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10-12.18.0.2000-1.10.0.jar) UC Forge{12.18.0.2000} [Minecraft Forge] (forgeSrc-1.10-12.18.0.2000-1.10.0.jar) UE plasticmod{1.0} [plasticmod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '3.0.0 - Build 8.15.10.2342' Renderer: 'Intel® HD Graphics Family' [00:46:15] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Christian\Desktop\Mein Mod\run\.\crash-reports\crash-2016-08-22_00.46.15-client.txt Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
×
×
  • Create New...

Important Information

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