Started by
Imerial_Ender
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, can someone help me fix an issue I have where if fireball projectiles move out of a certain range or enter water they slow down stop moving.
Procedure:
External Trigger(RightClick)
If Provided [itemstack] = [Item]
Shoot fireball of type [Small fireball] with acceleration ax [0] az [0] ay [0]
Deal [3] damage to [provided itemstack]
For each slot in [event/target entity] get contents copy as [itemstack iterator]
do if is [provided itemstack] iterator tagged in item tags as [tag] = true
do cooldown [itemstack iterator] for [ticks] ticks for [event/target entity]
I get this same issue and still havent been able to fix it.
For the acceleration. You could get angle XYZ of the player and multiply it by a amount, lets say *0.6, this will shoot it in the direction you are looking while not being too great of a acceleration, just enough to reach 10 blocks before stopping I think