custom misc entity velocity setting

Started by vvami on Wed, 09/22/2021 - 20:37

Topic category: Help with modding (Java Edition)

Last seen on 14:06, 17. Oct 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
custom misc entity velocity setting
Wed, 09/22/2021 - 20:37

Hello!
I'm making a mod in which the player can launch an orb of some sort that damages entities in its radius and removes blocks in its path. The problem that I'm having is simple: It completely ignores the vX, vY and vZ i set for it using the "spawn at..." procedure block. I created an entire equation and everything so that it launch where I'm looking, but its simply not work and I'm really frustrated at this. I'm using a living entity with no AI to act as the "orb", but just for good measure I tried this with a projectile as well. Only problem is that projectile has gravity, while I don't want my entity to have that.

Any suggestions? Thank you.

Last seen on 15:54, 18. Oct 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
there is a tutorial on…
Thu, 09/23/2021 - 19:22

there is a tutorial on MCreator that says how to remove gravity by removing 1 line of code, also use Shoot Ranged Item block instead of math and if it removes blocks from its path + has no gravity it is most likely to never stop