Posted July 2, 20169 yr 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
July 2, 20169 yr Author 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.
July 2, 20169 yr Author 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?
July 2, 20169 yr Author 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.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.