Started by
Muzaki
on
Tue, 08/03/2021 - 03:00
Topic category: Help with modding (Java Edition)
I want to increase attack damage on certain tools with this enchantment, but I dont want to use the "deal damage to entity" block because it gives the entity invincibillity frames or cancels the damage. Is there a way to just increase the weapons damage directly?
Check entties in range for player, then check if they are sneaking, and if true, set some nbt tag of your entity. Then in same tick, check for this flag and if set, implement your mining action, eg. with explosions or block removal and dropping