Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drowned Ticking entity - [Edit: Special AI issue] #19

Closed
Sereath opened this issue May 9, 2023 · 4 comments
Closed

Drowned Ticking entity - [Edit: Special AI issue] #19

Sereath opened this issue May 9, 2023 · 4 comments
Labels
bug from another mod Another mod is at fault for this bug

Comments

@Sereath
Copy link

Sereath commented May 9, 2023

Oceanic Expanse paired with Special AI triggered this:

Description: Ticking entity

java.lang.ClassCastException: net.minecraft.pathfinding.PathNavigateSwimmer cannot be cast to net.minecraft.pathfinding.PathNavigateGround
    at fathertoast.specialai.ai.grief.EntityAIBreakDoorSpecial.findObstructingDoor(EntityAIBreakDoorSpecial.java:97)
    at fathertoast.specialai.ai.grief.EntityAIBreakDoorSpecial.shouldExecute(EntityAIBreakDoorSpecial.java:85)
    at net.minecraft.entity.ai.EntityAITasks.onUpdateTasks(SourceFile:94)
    at net.minecraft.entity.EntityLiving.updateEntityActionState(EntityLiving.java:888)
    at net.minecraft.entity.EntityLivingBase.onLivingUpdate(EntityLivingBase.java:2359)
    at net.minecraft.entity.EntityLiving.onLivingUpdate(EntityLiving.java:678)
    at net.minecraft.entity.monster.EntityMob.onLivingUpdate(EntityMob.java:45)
    at net.minecraft.entity.monster.EntityZombie.onLivingUpdate(EntityZombie.java:223)
    at net.minecraft.entity.EntityLivingBase.onUpdate(EntityLivingBase.java:2179)
    at net.minecraft.entity.EntityLiving.onUpdate(EntityLiving.java:377)
    at net.minecraft.entity.monster.EntityMob.onUpdate(EntityMob.java:50)
    at com.sirsquidly.oe.entity.EntityDrowned.onUpdate(EntityDrowned.java:154)
    at net.minecraft.world.World.updateEntityWithOptionalForce(World.java:1996)
    at net.minecraft.world.WorldServer.updateEntityWithOptionalForce(WorldServer.java:832)
    at net.minecraft.world.World.updateEntity(World.java:1958)
    at net.minecraft.world.World.updateEntities(World.java:1762)
    at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:613)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:767)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:279)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Unknown Source)
  Suspected Mods: Special AI (specialai), Oceanic Expanse (oe)

https://gist.github.com/Sereath/422a819107044a9b3ececa91291da3ae

They are not even included in the config for Special AI.

image

The only thing I did was to go to the ocean a fly around in a new world after downloading and including this in our modpack. And unfortunately, if I go report this to Special AI's author Im just going to get blocked for even mentioning 1.12.

@SirSquidly
Copy link
Owner

SirSquidly commented May 9, 2023

I swear to- Special AI is not working as intended by its code?? In the code, it claims mobs not in the list will return false, which obviously isn't true, leading to this!

I can't think of an easy way to fix this on my end, so I'll have to add it to the Compatibility List as incompatible, without tweaks.

Add oe:drowned 0.0 oe:pickled 0.0 to the door breaking mob list in Special AI's config, that fixes the issue.

@SirSquidly SirSquidly added the bug from another mod Another mod is at fault for this bug label May 9, 2023
@SirSquidly
Copy link
Owner

SirSquidly commented May 9, 2023

And unfortunately, if I go report this to Special AI's author Im just going to get blocked for even mentioning 1.12.

Looking at their closed issues shows they aren't against 1.12, they just don't support it. I'll open an issue on their tracker, just so others can know.

EDIT: Opened said issue.

@Sereath
Copy link
Author

Sereath commented May 9, 2023

Thank you for checking, adding the entities to the config that way worked.
And thank you for opening an issue over there.

@SirSquidly SirSquidly changed the title Drowned Ticking entity Drowned Ticking entity - [Edit: Special AI issue] May 28, 2023
@SirSquidly
Copy link
Owner

I'm closing this issue for now, as far as I can see, this isn't something to be fixed on my end.

I'll also change the title from "Drowned Ticking entity" to "Drowned Ticking entity - [Edit: Special AI issue]" so any future users can more easily find information on this issue.

SirSquidly added a commit that referenced this issue Apr 26, 2024
+ Fixed issue #63, by adding a check to FORCE remove unsupported AI from
Drowned
 ~ This should also help with Issue #6, #19, #30 and #46, which all stem
from Drowned using unsupported AI
+ Fixed a mistake in a Config Description, specifically the Sponge Chunk
Enabling
+ Cleaned up a tiny bit of Drowned code
+ Tightened up the Drowning Code, to be slightly more efficient
+ Updated all version info to 1.1.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug from another mod Another mod is at fault for this bug
Projects
None yet
Development

No branches or pull requests

2 participants