Jump to content

jordsta95

Members
  • Posts

    169
  • Joined

  • Last visited

Everything posted by jordsta95

  1. Hey there, I am pretty new to modding, so I know barely anything. Which means that I have no idea how to do this, and I couldn't find a single tutorial on YouTube... so I am here. Usually I will go by a tutorial, but then ask on here if something doesn't work, but this time it is a case of it's not there, but I would like to know Simple question, but I bet there will be a complex answer How do I add custom enchantments to my mod. Specifically to give 3 potion effects when you hit something with a sword (Poison, Nausea and Weakness... all for maybe 3 - 5 seconds)? Thanks -Jordan
  2. I don't see where I am going wrong This is the code in the main class file: And this is the code in the class files for each armour piece: Helmet: Body: Legs: Boots:
  3. Hey there, I am wondering how would I go about fixing this issue: The code I have set up (using other tutorials as guides): DSArmour1 = boots, helm, body DSArmour2 = legs armor is the spelling of the folder (because minecraft uses that) but Armour in the file names is correct (because that is how English spell it) I don't know what is going wrong Please help -Jordan
  4. Ok, well I tried it with both recommended and latest build of forge and it didn't work
  5. Just tried loading the file you sent me in minecraft... ...again Could it be my minecraft forge client, thing?
  6. Yeah sorry about that, I would have updated that link if it werent for the crash... here is the most recent version http://www.mediafire.com/download/dbscrdi9gg3dlir/EverythingAndMore(2).zip That way you can look through the files yourself instead of asking for certain bits
  7. Added in the post init, and the instance (before the init, because it wouldn't let me put it in the post init... some error in eclipse) Here is the crashlog I get:
  8. Alright, here is the main file (Everything_And_More_Mod)... gotta say it is a little messy, so I do apologise
  9. I haven't been using Pahimars tutorial.... I have been watching multiple different ones... But it isn't something to do with the code, it must be something after it obfsucates or something because it works in eclipse.
  10. Ok, well here are the 2 folders (top being the one I edit, bottom being the reobf'd folder) Everything_And_More_Mod.class is the main class file as well... which definitely isn't good Any other files/folders you may need to see, just say
  11. Wait, so are you saying that when you add your mod's folder into .minecraft/mods... you just copy over the reobf's folder as it is... or do you add the folders which aren't reobfuscated too?
  12. You have missed the this. from the front of your code... Simple mistake Here is an example @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister){ this.itemIcon = iconRegister.registerIcon("<mod folder>:<file name, without.png>"); }
  13. Ok, so I tried recompiling and reobfuscating, thinking there may have been an issue with that... BUT NOPE! It still gives the exact same error log as I posted in the OP
  14. I don't think I understand what you are asking... Do you mean that when you press ESC a video shows instead of the normal pause screen, or you have the pause screen with the video behind it.... or something else?
  15. Anybody? I know I have recompiled and rebfuscated it correctly, so I don't know what is wrong
  16. Reason for that is minecraft uses the word armor, but I spell it armour in the file, because I made the file before the folder And yes, I do have them named as shown
  17. Hey there, I am having a REALLY annoying issue when trying to load my mod in minecraft (not eclipse) it gives an error, saying something about my main .class file missing... however the class file is there, and does work, because there are no crashes in eclipse when I run it there. Here is the crashlog ...well I think it is my main class file anyway. Looking at that confuses me more than helps me. But I do know that ever file that is needed is in the mod folder (EverythingAndMore) Any help on how to stop minecraft crashing with this error? Thanks -Jordan
  18. THANK YOOOOOOOOOOUUUUUUU! I can't belive I didn't notice that... probably because I changed folders around *facepalms* Now how about that armour?
  19. Anybody? I have watched tutorials, and all of them use the code I have. So I don't know if it is the texture locations or what
  20. You could make it so it use ore generation methods to spawn in ocean biomes, below laver 64 and above 50 (or something) that way it will spawn in oceans, and in the oceans, not below it
  21. What do you mean? The mob? It is a texture I am trying to add... It is a model, but I have seen it work using a texture file when I had it in my minecraft.jar As for the armour... I am talking about when you wear the armour
  22. Anyone? Sorry for bumping but I really don't know where I am going wrong
  23. Just try changing the Block.stoneBrick to Block.stone Then if that works, it is because you are trying to call a block that doesn't exist (I don't know what Stone Brick is as a Block.XXXX) If it still crashes when you use a Block.XXX that is definitely a correct value, then you know it isn't the block. Because other than the stonebrick I don't see any errors
  24. Hey there.. I am having issues getting the textures to work for amour and my mob. Let's start with the mob: The code I have: this.texture = "/EverythingAndMore/textures/mob/Dragoone.png"; with the file location being exactly that, with the file exactly as I have spelled it above. And now for the armour: public String getArmorTextureFile(ItemStack itemstack) { if(itemstack.itemID == Everything_and_More_Mod.DSHelmet.itemID || itemstack.itemID == Everything_and_More_Mod.DSBody.itemID || itemstack.itemID == Everything_and_More_Mod.DSBoots.itemID){ return "EverythingAndMore/textures/armor/DSArmour1.png"; } if(itemstack.itemID == Everything_and_More_Mod.DSLegs.itemID){ return "/mods/EverythingAndMore/textures/armor/DSArmour2.png"; } else return null; } With the body/boots and helmet being DSArmour1... and legs being DSArmour2... any other info you need just ask. But both mob and armour render with the white missing texture file. Thanks -Jordan
  25. So it;s like me and some code... I don't understand it so I pretend it doesn't exist That may be why the textures still aren't showing... I seriously have no idea what I need to add for it to work. I will look at it again tomorrow. Probably see the obvious mistake when I am more awake
×
×
  • Create New...

Important Information

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