Started by
mrPsheniZa
on
Topic category: Help with modding (Java Edition)
I need it to explode when I hit a mob with an empty hand (this happens with additional variables)
Topic category: Help with modding (Java Edition)
I need it to explode when I hit a mob with an empty hand (this happens with additional variables)
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.)
![](https://github.com/MCreator/MCreator/assets/38841486/f9fed1fa-0a51-4cc6-b479-a04ec9425111)
Thanks you, but I guessed it myself)