Jump to content

[1.14] Stacktrace not matching source


Insane96MCP

Recommended Posts

I'm making a simple mod to make animals attack players much like zombie pigmen ... the problem is that when an animal attacks the player the game crashes ... No problem: stacktrace and I'll debug ... well the problem is that the stack trace points to a row that's not in the correct method and it's driving me crazy. I've tried refreshing gradle and regen intellijruns but no fix.
image.png.13be88ff70d4245e6b9e46a357708015.png

MobEntity.java:1164 points to recreateLeash and not attackEntityAsMob

image.png.38a069686701716fe02e3053f1a1326b.png

(I'm using IntelliJ)

Edited by Insane96MCP
Link to comment
Share on other sites

12 hours ago, Insane96MCP said:

well the problem is that the stack trace points to a row that's not in the correct method

What version of forge are you using try using the most up to date version.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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