Help with a complex procedure.

Started by xClaudette7 on

Topic category: Help with modding (Java Edition)

Last seen on 17:56, 10. Mar 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with a complex procedure.
Sun, 05/07/2023 - 16:36 (edited)

Hello everyone. I need help with a certain type of procedure.

I want that when I'm wearing an armor piece with a specific enchantment and I'm in a radius of 30 blocks, any entity who dies drop more experience.

But I have a problem : Either I have to define the player as a source entity, so I have to kill the entity myself to have more experience. Or I have to define the player as a target entity, so it works only when I'm the entity killed. 

I have tried to do a procedure that detects me in a radius and automatically makes any entity who dies drop more experience, but it does not work. 

Edited by xClaudette7 on Sun, 05/07/2023 - 16:36