Left click arm and atack mob

Started by mrPsheniZa on

Topic category: Help with modding (Java Edition)

Last seen on 19:26, 23. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Left click arm and atack mob

I need it to explode when I hit a mob with an empty hand (this happens with additional variables)

Last seen on 23:48, 26. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This procedure checks if the…
Mon, 03/18/2024 - 17:00

This procedure checks if the entity (source entity) that is attacking another entity (target entity) has nothing in their hand and is a player and if both of these arguments are true an explosion is created at the target entity. (Do also note that I'm using a global event trigger called "Entity Attacked" meaning this procedure will be called every time an entity is hit.)

Last seen on 19:26, 23. Apr 2024
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks you, but I guessed it…
Wed, 03/20/2024 - 18:31

Thanks you, but I guessed it myself)