How can I make a Mace-like item

Started by LOLBroSave on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a Mace-like item
Wed, 03/26/2025 - 20:19 (edited)

So im not the best in mcreator. Im trying to create a Hammer item that Deals extra damage, depending on your falling hight, tried it by making two variables one changes depending on the y coordinate depending on when the Player last were on ground and the other when the entity gets hit and finally the First variable minus the second gives the extra damage, but it doesnt work like I want it, the player gets constant damage and I don’t get any extra damage can someone help me? Thank you in advance

Edited by LOLBroSave on Wed, 03/26/2025 - 20:19
Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you're still on 2024.4…
Thu, 03/27/2025 - 16:59

If you're still on 2024.4 you can use Redwire's plugin, it has a fall distance variable. Sorry if this doesn't work!

(also tell me how you add to the damage please, I tried making a mace myself and got lost on that.)