entity immunity to an item

Started by sheina123123123 on

Topic category: Help with MCreator software

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity immunity to an item

A while ago I started creating a mod as a joke just to get to know the software, and I made an item that does a lot of damage, now I started developing it and added a few bosses, I don't want the players to be able to kill the bosses with just one hit, but I also don't want to get rid of this item. Is there a way to make entities emmune to a specific item?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To make the entity immune to…
Thu, 01/21/2021 - 05:22

To make the entity immune to the item do as shown in the image below.

remember that this will only work with melee weapons.

 

1. both item blocks are only example items.

 

Keep in mind this only effects the Damage of left clicking the entity.

Any added procedures for right clicking the entity will NOT be effected by this fix.

Everything included in this current reply is fair use for anyone.

Entity_item_immune