Left click arm and atack mob

Started by mrPsheniZa on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Mar 2024
Points:
80

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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)

Active 4 days ago
Joined Jan 2020
Points:
1014

User statistics:

  • Modifications: 0
  • Forum topics: 29
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 502
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.)

Active 1 month ago
Joined Mar 2024
Points:
80

User statistics:

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

Thanks you, but I guessed it myself)