Started by
Shorfi
on
Topic category: User side tutorials
Hello. I am developing a mod for MCreator 2023.1 for minecraft 1.18.2. I want to add an axe to the game that when you kill a mob with it, chops off its head, like it was done with that big sword from Tinkers' Construct, but the procedure I made made made the mob drop its head when you kill it with any weapon.
entity dies
check source entities main hand
if they have the specific weapon, add item to inventory, and remove the original drop
Where is the check on what is in the main hand? And if I switched to MCreator 23.4.