How to make vanilla entities react to an action done to a custom entity?

Started by UnusualHatter on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make vanilla entities react to an action done to a custom entity?
Sat, 11/23/2024 - 19:06 (edited)

Hello, I need help with a project of mine running on MCreator 2024.3, for NeoForge 1.21.1. Im trying to create a mob that is a kind of a queen bee. How can I make other bees (within a certain range) attack the player or even other entities when they attack the queen? I need help because I don't know how to correctly use the blocks for the reactions and stuff.

I installed geckolib, JER (Just Enough Recipes), Player Animator, Tetra Libs, RedWire's plugin, Procedures+ e File Manager

 

I would be very grateful if someone could help me :>

Edited by UnusualHatter on Sat, 11/23/2024 - 19:06
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do something like…
Sat, 11/23/2024 - 22:04

You can do something like this: https://imgur.com/a/KXa1Rnw 

just replace TestEntity with your queen bee entity