Jump to content

Pigman don't go after turtle eggs


Hsandin7

Recommended Posts

I tryed making a gold farm in my 1.19 world but the pigman wouldn't follow the turtle eggs. I had to delete every single mod I had, and even after that the pigman just didn't follow the eggs. I also tryed it with vanilla minecraft in the same world and it worked there, but then I tryed forge and it just didn't work.

Keep up the good work. :D

Link to comment
Share on other sites

I assume you mean zombified piglin? - gotta keep up with the times. 🙂

It works for me. Tested with forge-1.19-41.0.62 which isn't quite the latest version (63)

I tested using spawn eggs, rather than going to the nether, but that shouldn't make a difference.

 

I am looking at the code and all zombie types get the ZombieAttackTurtleEggGoal in their AI.

 

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Just occurred to me. Do you have mob griefing turned off?

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

No, I don't have mob griefing turned off.

The thing is that when I load the same world in vanilla it works but with forge doesn´t.

I was using forge 41.0.63 and it didn't work. I'm gonna try the latest forge now and see if it works.

Thanks :D

Link to comment
Share on other sites

Yes, its looks like a bug to me.

Its actually only kind of related to the dimension.

The forge code has an optimisation beyond vanilla that checks if the "target block" is actually loaded into the world before doing anything.

https://github.com/MinecraftForge/MinecraftForge/blob/05297fd72fa99e9ff020fee3ee365ad51bcaf8f0/src/main/java/net/minecraftforge/common/ForgeHooks.java#L1106

The issue is, it looks like this check is getting used before the block has been determined. So it is checking if 0,0,0 is loaded.

This usually will be for the overworld (spawn chunks) but might not be in the nether.

It works for me at 0,~,0 in the nether, but not at 1500, ~, 1500

This will be why it works in a different world for you, 0,0,0 is loaded there.

Report bugs here: https://github.com/MinecraftForge/MinecraftForge/issues

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

I reported this issue so it doesn't get lost: https://github.com/MinecraftForge/MinecraftForge/issues/8853

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

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.