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

I am trying to add an entity to the game that acted like a vehicle. So to test I copied the boat entity in to a new entity then registered it with entityregstry but when I click to spawn the entity an error comes up and the entity doesn't spawn.

 

Here are the links to the files:

 

Github repo:

https://github.com/PortMods/MechCraft/tree/master/common/com/portmods/mechcraft

 

Full Error output:

http://pastebin.com/Pjdj06BA

 

This is only a test for a mod I'm making so some of the name will look funny.

try{

code that fails

catch(Exception e{

e.printStackTrace();

}

???

 

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

  • Author

Sorry should rephrase. I want to create a new type of vehicle in minecraft. What I did was to copy the boat entity code in to a new entity then get a test item to spawn the entity in to the world using

 

 

                    if (!par2World.isRemote)

                    {

                        par2World.spawnEntityInWorld(entity);

                    }

 

But when I right click I get the error :

 

"Silently" catching entity tracking error.

2013-06-21 14:59:06 [iNFO] [sTDERR] net.minecraft.util.ReportedException: Adding entity to track

 

The full code is on the github repo

I don't have access to github (blocked by work network)

 

also, when you insert a error trace, can you please put more then just 1 line. Because this line is just saying there was an error, doesnt say where it comes from

 

Cheers,

-hydroflame, FRev-

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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.