2026.1 1.21.8 neoforge entity nearest mob change issues

Started by natoralex on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2026.1 1.21.8 neoforge entity nearest mob change issues

I am in MCreator 2026.1 1.21.8 neoforge

 

I need help with this. alot has changed inside 2026.1 and my method of nearest and exist procedures isnt working anymore. I dont know why. Its very annoying for me. I was wondering whether you can help me out with this?

 

https://ibb.co/6R984TQK

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The reason it doesnt work is…
Sun, 04/12/2026 - 15:58

The reason it doesnt work is because the procedure runs off of player tick update, but you then check for whether the event/target entity ie the Player, is of subtype [FakePigReady] so it never goes through because that is always false.

Use world procedure, get entity as entity iterator at x y z in cube size 5. If entity iterator is subtype [Fake Pig Ready] despawn entity iterator, spawn entity [FakePigAttack] at x pos of entity iterator, y pos of entity iterator, z pos of entity iterator. This would work better.

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Im still confuse. Maybe some…
Sun, 04/12/2026 - 16:12

Im still confuse. Maybe some images would help me what to do there? It wont be out of imgur because its banned from uk

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you remove the block: is…
Mon, 04/13/2026 - 13:48

If you remove the block: is event/target entity subtype of FakePigReady. It will work.

Otherwise use this: https://imgbox.com/RaT744gW