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.

[1.8][SOLVED]Errors when Wither Boss spawns in Latest Build

Featured Replies

Posted

I'm getting errors EVERYTIME the Wither attacks something, it's making the game really slow and it seems to be going on only on the 11.14.1.1333 and 11.14.1.1334 builds.

 

Log

https://gist.github.com/NovaViper/7c83e938e4ee637dd8ec

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

One of the entities you're adding to the game and spawning is not spawning correctly. Oddly its not giving the error but its catching a error when trying to call that entitie's constructor.

This should have nothing to do with the wither as that goes through normal spawning mechanics not the mod mechanics.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

It's not mine though, the errors appears only when I spawn the Wither Boss. None of my entities should cause an error to the Wither boss, especially since I don't even have them spawning

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

  • Author

Oh, I also forgot to mention, when the Wither Boss attacks, the skulls don't spawn and thats when the errors appear

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

As stated, vanilla minecraft mobs do not run through the code that is erroring. You have something in your mod that is causing this.

Wither works just fine on Forge alone.

I don't have your code, and I don't have time to debug it for you. So I can't really do anything for you besides say something in your code is broken. Start disabling parts of you mod and figure out what.

 

16ab63fdaf.jpg

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

You forget the part where I also said I don't have time to debug it for you.

Should be simple and straightforward something is causing one of your entities to spawn.

Hell you could even set a breakpoint in the spawn packet send function to see what is causing it on the server.

This is basic level debugging stuff you should know how to do.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

Ok, So I nulled out the following:

 

    	//MinecraftForge.EVENT_BUS.register(new LivingEvents()); //TODO
...

    	Log.info("Loading Entities and Ore Dictionary...");
    	//ModEntities.loadCreatures();
    	//ModEntities.loadOthers();
....
    		//ModEntities.loadDarkCreatures();

    	//ModEntities.loadSpawns();
    	if(Constants.DEF_DARKLOAD == true){
        	//ModEntities.loadDarkSpawns();
    	}
    	Log.info("Loading Crucial Stuff...");
       	//proxy.registerRenderThings();
       	//proxy.registerChestItems();

 

Somewhere around here was causing the problem but not sure where

 

---EDIT----

 

It looks like the throwable entities I am registering are causing the problem (the ones in ModEntites.loadOthers() ), I'm testing to see which ones are causing the problem

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

  • Author

I found the problem, I accidentally left something that was not being used at all

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Good good, now next time trust me when I say its your code and not ours, it's almost like I know what i'm talking about <3

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.