How to make armor with a negative effect?

Started by Mr.Straw on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make armor with a negative effect?

I want to make an armor that would put poisoning on enemies that attack the player. How do I do this?

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a new procedure.trigger…
Sun, 12/11/2022 - 21:22

make a new procedure.
trigger this procedure when entity hurt
if target entity is wearing (the armor){
  give effect poison to source entity
}