Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. You have two options update the mod you are dependent on or looking around on previous posts/tutorials.
  2. All this does is perpetuate the laziness of sticking to old versions. Just update and move on. The problem is, this modpack relies on mods that are not being updated to versions further than 1.7.10, notably Enviromine. It isn't laziness, it's the inability to update at all. Yes, but it doesn't really matter as forge only supports modding final versions of Minecraft above 1.7.10. At current, but you should do what I said in my last post after me saying update.
  3. Are you in 1.7.10 not quite sure if so update, if not use the capability system as after 1.8.9 IEEP was removed.
  4. Look at the craftingTable JSON that minecraft uses it is in the minecraft jar file under assets/minecraft/models/block/crafting_table.json
  5. When you call translate add 1 or .5, and in the block class override isOpaqueCube() to false and getRenderType() to -1 You should use the new model system as TESRs should be for dynamic rendering.
  6. You did not copy the cactus class mind you. I'm not sure if this can be done with a normal sized block, because what happens if the collision goes into another block.
  7. onEntityCollided is called when the Entity is inside the bounding box that is its hit box.
  8. Since this forum no longer supports 1.7.10 it will get locked when a mod gets on. Though I will give you a hint look at attackEntityFromDamageSource in other EntityLiving...class and you will find your issue. Any more 1.7.10- problems figurre them out yourself from previous tutorials/forum posts and of course from VANILLA SOURCE. Just thought I would stress that as it is the best source if you are making something similar.
  9. Post the solution so other that have this problem can fix it as well.
  10. Look at the furnace JSON's and code or even BlockColored JSON's and code for some examples notice some similarities in the code.
  11. You don't need to know every notch and cranny you just need to know enough to know what you are doing.
  12. What do you think is null on line 30, maybe the variable you haven't initialized yet, that you are trying to use to initialize itself.
  13. Of course it will, that is the language that minecraft and forge use.
  14. Sorry I left out the word "be" in that sentence it should have been "You need the variable in your main mod class to be the substring stuff." That means public void preInit(FMLPreInitializationEvent event) { path = event.getSourceFile().getAbsolutePath().substring(0,absolutePath.lastIndexOf(File.separator)); Then go about adding the files name to the end in your Command. Sorry for not being helpful, but if you don't understand Java you need to learn before coming here and asking for help.
  15. No I can not, if you don't understand you need to learn java.
  16. You need the variable in your main mod class to the substring stuff.
  17. You did not implement this File file = File("C:\\abcfolder\\textfile.txt"); String absolutePath = file.getAbsolutePath(); String filePath = absolutePath.substring(0,absolutePath.lastIndexOf(File.separator)); // ^Important part
  18. Sorry I must have misread the title of this forum thread, I was fairly sure it said "Modder Support". Though if you don't know Java we won't teach it, there are plenty of tutorials out there for that. Now the last step is to modify the snippet of code I gave to suit your own needs if you run into any trouble after that come back.
  19. Actually I understand // Use this method preInit(FMLPreInitializationEvent event) // ^ preevent
  20. That is not what I meant make a static variable in your main mod class, then initialize it like I told you to.
  21. That was just a guess, but what you will want to do is make a String set it equal to preevent.getSourceFile().getAbsolutePath() And use something like this to get rid of the file name on the end then add your own file name to the end. File file = File("C:\\abcfolder\\textfile.txt"); String absolutePath = file.getAbsolutePath(); String filePath = absolutePath. substring(0,absolutePath.lastIndexOf(File.separator));
  22. You need to set the path. This path is probably in your c drive "wpartylist.txt".
  23. Poof a tutorial thanks google. https://www.caveofprogramming.com/java/java-file-reading-and-writing-files-in-java.html Look at the tutorial, until you understand it. Then edit it to your desires.
×
×
  • Create New...

Important Information

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