Jump to content

Recommended Posts

Posted

anyone know why when i load Minecraft in my development enviroment with my mods it crashes at "Completeing Minecraft Init"

any help would be much appreciated

 

http://gyazo.com/eb0b93c2abd0f359fcf5cdbd468e8813

 

War-Utility | https://github.com/WARDOGSK93/War-Utility

war-Craft  | https://github.com/WARDOGSK93/War-Craft

 

log file | https://gist.github.com/WARDOGSK93/86a2dd7bff512ffb028e

 

*EDIT* i know its my mods cause if i remove them from my dev enviroment MC launches perfectly fine

Posted

So it doesn't actually crash with an error, it just freezes up?

 

What happens if you pause it in your debugger?  What is the code doing?

 

-TGG

do you mean using breakpoints cause i have never used them and dont know how to use them i have just seen them being used sorry

 

*EDIT* sorry for the late reply

Posted

So it doesn't actually crash with an error, it just freezes up?

 

What happens if you pause it in your debugger?  What is the code doing?

 

-TGG

 

nevermind i fixed my error it was apparently a continue state being to fast or something, i just removed it and now minecraft loads perfectly fine

 

this is where my error was

https://github.com/WARDOGSK93/War-Utility/blob/4e65a5da6b7dd5c12ef9fd180af52d210e190f8f/src/main/java/com/dogz/mods/UTIL/Common/Handler/TickHandler.java#L45

Posted

Just to point out - in your ticking classes there is so much pointless stuff. Please consider using real, forge-provided ticking events. You only waste resources doing it your way.

 

@SubscribeEvent
public void onPlayerTick(TickEvent.PlayerTickEvent event)
{
// do stuff for every player.
event.player.doStuff();
}

1.7.10 is no longer supported by forge, you are on your own.

Posted

Just to point out - in your ticking classes there is so much pointless stuff. Please consider using real, forge-provided ticking events. You only waste resources doing it your way.

 

@SubscribeEvent
public void onPlayerTick(TickEvent.PlayerTickEvent event)
{
// do stuff for every player.
event.player.doStuff();
}

 

yeah im gonna change that now, might have just been whar i was coding before my mc mod but it felt right at the time

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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