Enhanced AI

Enhanced AI

9M Downloads

[Bug] Miner tag doesn't apply to modded mobs.

Closed this issue ยท 2 comments

commented

Describe the bug
Zombie Extreme mobs doesn't seem to be affected by the enhancedai:can_be_miner tag, they are not mining at all.
I've checked they do had the tag, and the NBT data, but they just don't seem to mine.
https://www.curseforge.com/minecraft/mc-mods/zombie-extreme

Versions where you encountered the problem (Use the exact version numbers, not 'latest' or similar):

  • Minecraft: 1.20.1
  • Forge: 47.3.10
  • Enhanced AI: 2.5.5_1.20.1
  • InsaneLib: 1.18.1_1.20.1

Steps to reproduce

  1. Adding the enhancedai:can_be_miner tag to zombie extreme mobs and zombie mob.
  2. Enable the mining mobs in the config.
  3. Head into game, zombie able to mine, but zombie extreme mobs are unable to mine.
  4. Used F3 + I to get the NBT data of the zombie extreme mob, they do have enhancedai:miner 1b tag.

Screenshots
None

Logs
latest.log

Can the issue be reproduced with EnhancedAI only (or with a minimal set of mods)?
Yes, with just Zombie Extreme, Geckolib, EnhancedAI, InsaneLib.

commented

enhancedai:can_be_miner This is not an NBT tag, this is an entity type tag
https://minecraft.wiki/w/Entity_type_tag_(Java_Edition)

commented

Hi, sorry I worded it wrong, yes the entity type tag is correct.
As for the NBT data, I mean they do have the enhancedai:miner: 1b inside ForgeData NBT.
Here's a screenshot on the entity's type tag:

Image

Here's the NBT data from the entity:
They still won't mine blocks.

Image