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

Melee Hostile Mobs not aggroing correctly with Pokemob in staying mode out in a loaded chunk faraway #1210

Open
Xahria07 opened this issue Jul 31, 2024 · 0 comments
Labels
Unconfirmed Not been checked if this bug actually occurs yet

Comments

@Xahria07
Copy link

Xahria07 commented Jul 31, 2024

Issue Description:
Melee hostile mobs (zombies, spiders, creepers etc.) will have very intermittent aggro, they will not target the player if they have a tamed pokemob in stay mode somewhere in a loaded chunk (chunkloaders/spawn), outside of typical aggro radius. They only retaliate once attacked by the player themselves. Ranged hostile mobs will attack the player regardless. Issue only persists if done within the same dimension. (Tested in overworld, twilightforest).

If staying pokemob is loaded and player moves into a different dimension everything functions as per normal.

I guess the mobs are somehow able to aggro the pokemob that is outside of range but are unable to pathfind to it or something. That or the aggro is automatically redirected to an active tamed pokemob own by the respective player, even outside of range.

What happens:
Melee hostile mobs will wander around as if the player is invisible even if staying pokemob is more than 128 blocks away. They will intermittently attack but usually only if the player comes in direct contact with the hostile mob itself.

What you expected to happen:
For the hostile mobs to aggro and attack the player as per normal minecraft AI, only if staying pokemob is outside of aggro range

Steps to reproduce:

  1. Install just Forge and Pokecube
  2. Generate new world and grab a starter off the professor
  3. Leave the starter somewhere where it will not wander outside of spawn chunks/or chunk loaded by another mod and set it to stay.
  4. Move outside of normal chunk loading range of pokemob
  5. Summon melee hostile mobs via any means available
  6. Wait for mobs to attack you. (They won't unless actions specified above is made)

  1. Go back and recall the pokemob you left behind at the loaded chunks
  2. Return to the spot where you did the aggro test and resummon the same mob.
  3. Watch them aggro onto you almost immediately

Notes:
I'm making this post with the assumption that this is not an intended game design. If not, you may close this issue as per normal. This normally wouldn't be an issue in normal gameplay but it has become disruptive when I have an auto-smelting setup using a pokemob that I want to keep chunkloaded and hostile mobs were not aggroing me properly regardless of where I go in the same dimension.

Side note: Also tested this on the mc1.20.1 version of 3.23.1.b Pokecube it produced the same results.

In multiplayer, the mobs will target another player when they enter the mobs aggro radius even even I was supposed to be pulling the aggro to begin with.

Also I want to inquire if the dev team is aware of certain move list recipes not working as intended but specifically only on the mc1.20.1, 3.24.0.k version of the mod. Should I make a separate post about this issue if it isn't anywhere in the issues list yet?


Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.

  • Pokecube AIO: 3.24.0.k
  • Minecraft: 1.20.1, 1.18.2 (Tested on both versions)
  • Forge: 47.3.5, Forge 40.2.1
@Xahria07 Xahria07 added the Unconfirmed Not been checked if this bug actually occurs yet label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Not been checked if this bug actually occurs yet
Projects
None yet
Development

No branches or pull requests

1 participant