Jump to content

Forward

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Forward

  1. Hello, In Eclipse I can add a Mod as a Referenced Library, so that I can use additional Methods and Classes. But when I am building the mod with gradlew, it fails, because the packages I used in my Mod aren't in the Forge API. I hope anybody knows what my problem is and can help me. Thanks. Forward
  2. The issue has changed so I just open a new Thread. This can be closed.
  3. Ok now I got it. The problem is that I added as another Mod as a library and when I am building the mod gradlew cannot find this mod and fails building.
  4. Yes I know that Cauldron is dead. But Sponge is just for 1.8, so I decided to make this little Mod in 1.7.10. Cauldron is still working. But thats another topic. What do you mean by "build with gradle"? I do not know anything about this. Do you have a nice tutorial you can link me?
  5. I am using 1.7.10 because I want to run the mod on a Cauldron Server later. And I am exporting the mod with Eclipse. Just building the jar.
  6. Hello guys, I have a problem with Forge 1.7.10. The Object Entity in the package net.minecraft.entity seems to not have any methods or fields. I do not know why. I checked the versions and as well as the server, the development jar has the version 1.7.10.10.13.4.1558. @SubscribeEvent public void mobSpawn(EntityJoinWorldEvent e) { World w = e.world; Entity entity = e.entity; double x = entity.posX; } The method above throws a NoSuchFieldError and this method: @SubscribeEvent public void mobSpawn(EntityJoinWorldEvent e) { World w = e.world; Entity entity = e.entity; entity.getAir(); } throws a NoSuchMethodError. I couldn't find anything in the internet, so I decided to ask, because I have no clue. Thanks a lot Forward
  7. Hello Community, I have a problem with importing the Forge-Libraries into my Eclipse Project. I did all the stuff with gradlew, but what I want is a forge.jar File which I can import into my Eclipse project, similiar to teh Bukkit or Spigot API. The only file which looks like a forge.jar Library is in my /build/tmp/decomileMC folder, but when I import this jar into Eclipse, it shows all packages, but without their classes. Though after a decompile of the same jar-file, jd-gui shows the classes. It seems that, Eclipse has issues importing thic specific library. I'm thankful for every help you give me! Forward
×
×
  • Create New...

Important Information

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