Jump to content

Chekote

Members
  • Posts

    9
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Chekote's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. @MDW01 I'm curious: How did you know that GSON is part of Forge? I'm curious because I was trying to find out if there was a JSON library already in Forge when I started to write the feature, but couldn't work out how I would determine that. I only write Java as a hobby, so I'm not very familiar with the ecosystem or tools.
  2. OK, I'll look into that. I would still like to know what the cause and fix to my original issues is though. It's only a matter of time before I need to include something else as a dependency.
  3. I'm using it to serialize the position and configuration of structures within the game world to JSON.
  4. Hi MDW01, Thanks so much for the reply! The post you linked seems to be how to get the dependency into the Jar. I've already successfully done that. My problem is that with MC 1.8.9, Gradle won't add the dependency to the jar without complaining of a conflict, but if I don't add it to the jar, then Minecraft complains that the classes are missing when it tries to run the mod. How can there both be a conflict, and yet the classes be missing if I don't add them? It doesn't make sense to me >.<
  5. Hi everyone! I just introduced javax.json as a dependency to my project, and I'm having mixed success getting the compiled jar to work. I've managed to get the dependency working with Forge 1.7.10-10.13.4.1614-1.7.10 by configuring Gradle to compile the dependency into the jar: This works (but I'd still be interested on feedback as to whether this is the correct approach). However, when I try to do the same thing with Forge 1.8.9-11.15.1.1722, then I have the following problems: * When I build the project with the dependencies declared in the "embed" section, I get the following error from gradle: "java.util.zip.ZipException: duplicate entry: javax/json/Json.class". * When I change the "embed" section to "compile" so that the dependency is not added to the jar, then I get a class not found error when I try to load the jar into minecraft. I am really confused as to what's going on. If the javax.json dependency is already being build into the jar by Forge Gradle, then why is the class missing when I try to run the mod in minecraft? I thought maybe there might be a version mismatch between the javax.json that I'm using and what I assume Forge Gradle is adding to the jar, but I don't know how to determine if that's the case. Please help. I've exhausted my limited knowledge! Thanks in advance, - Chekote
  6. CPW recently tweeted a request for feedback on the new Forge loading screen: Video demonstration: You can download it here: http://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.7.10.html Please report any problems here: https://t.co/gIFWnupWH6
  7. Hi, I want to re-generate my server world and use mcedit to transfer structures to the new world. But whenever I re-generate a world using Forge for MC 1.7.10, it auto assigns slightly different block ids. Anything I try to export from the old world ends up using the wrong blocks. Where exactly does forge store the auto assigned block ids? I know they must be somewhere in the world folder, because I can move it to a different machine and everything functions fine. I'm hoping to be able to transfer this file to my new world and regenerate the chunks with the same block ids that the previous world had. Thanks in advance for any help
×
×
  • Create New...

Important Information

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