Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

  • 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.

  • 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?

  • 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.