Started by
a guy called l…
on
Topic category: Help with Minecraft modding (Java Edition)
Ok, so the title say the question, I want to make a canon weapon, whit varietes from wood to netherite, And ammo of that materials.
The canons Will use like this: You need to have the canon in your main hand, and the canon ball in the secondary hand, I have a idea of how make the Canon can use all ammo materials (Something whit tags and procedures) but i need to now how to change the damage of the bullet in the air, my plan Is make the bullet detect the player, detect what cannon have in hand and modify the damage, but how can I modify the damage? I think something whit NTB variables of i dont now
Somenone can help?
And sorry for my bad english
entityarrow.setDamage(there some number);
it's nbt what you need to change maybe you can edit it in midair witch procedure
Thanks you, i now how to change that, I just can't find what NTB variable is the one the change