Started by
Miru
on
Topic category: Help with modding (Java Edition)
Hello! I'm trying to create a weapon that when hitting a entity, the player bounces a couple blocks in the air. So I made a procedure that adds to entity's Y axis, set to go when a living entity is hit with tool. However this applies the bounce to the entity being hit, not the player. So I put it on when swung, and now I can fly. Any suggestions?
use source entity instead of event/target entity in the on hit procedure.