grouping entities help

Started by Robotoo on

Topic category: Help with MCreator software

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
grouping entities help

i'm trying to make a mod with special entities that can't be hit with regular weapons and need a special enchantement i created to be able to be hit

however i've tried this in 2 different ways:

-with a global procedure however this backfired because it wasn't only applicable to the player and when the entity tried attacking me it couldn't 

-with the entity's triggers however this didn't work either because i don't think you can cancel events when they'r triggered

i thought it would be much easier having a special group that i put these entities in and in my global procedure i can check if they're in this group however i don't think this is possible

any help would be appreciated

thanks for taking a look