Started by
zommer500
on
Topic category: General discussion
I'm trying to change attack damage of an item in that entity's hand. I don't know how the damage itemstack works, by the ways, I'm making a mob take damage when It attacks a another mob. So I need help. Can I get help. That will be nice.
just make it so when an entity is hit with the sword, it deals bonus damage. procedure would be like this:
TRIGGER: on entity hit
if source entity has YOUR_SWORD in main hand
do deal NUMBER_OF_DAMAGE to Event/Target Entity type: generic
Thank you very much. I can make entities deal more damage with swords, axes and other tools. It took a lot of procedure blocks to code all the tools in the game. Thank you for your help.
you might want to add Custom Death Messages then if you want it to be a unique mod :)!
I need help adding custom death messages to my mod. So it will be easer to figure out that will be nice.
go to localization create a file and name it death.attack.CUSTOM_NAME and on the bar next to it %s YOUR DEAD MESSAGE now on procedures Deal Custom Damage To Event/Target Entity death.attack.YOUR_DEATH_MESSAGE
Thank you for that, I was trying to figure that procedure block last time, but I did not know how to use it, so thank you.