Entity velocity spawned when right clicking item

Started by lightsaber99 on

Topic category: Help with modding (Java Edition)

Last seen on 02:07, 29. Aug 2022
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Entity velocity spawned when right clicking item

I just wanted to ask how I would change the motion vector of an entity i spawn when i right click an item. The entity has no gravity and it completely ignored the motion vector from the "spawn at" block. I also want to then run more procedures applying to the entity that was shot. 
 

In short I want to make an iceologer staff that shoots ice blocks that fall after some time but i cant get the ice block to move and I have a procedure that makes it fall but spawning it from the right doesnt seem to activate it or recognize what entity it is supposed to be targetting.

Last seen on 16:48, 17. Jan 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also have had a fair share…
Thu, 07/28/2022 - 17:26

I also have had a fair share of issues using velocity, leading me to believe that it may be bugged. Have you tried despawning the zero gravity entity and spawning another, technically separate entity using the same model/texture with gravity?

Last seen on 16:48, 17. Jan 2024
Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As opposed to changing the…
Thu, 07/28/2022 - 17:26

As opposed to changing the velocity, I mean.