Set Entities Momentum

Started by tbroski on

Topic category: Advanced modding

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Set Entities Momentum

How so I set the Players y/x/z momentum. I've looked in the tabs but all I've seen is just the block but not a [Set Entity Y Movement] block.

Last seen on 03:19, 17. Feb 2024
Joined May 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could give them the…
Mon, 01/06/2020 - 22:50

You could give them the potion effects of speed or levitation.

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks but that won't work…
Mon, 01/06/2020 - 23:00

Thanks but that won't work because I want to set the entities y Movement to 0 so they will float over water.

Like here's what I would do,

[Player Tick Event]

If [(Get Block Under Player) = Water]

    And If [(Get Player's Y Movement)<0]

        Then [(Set Player's Y Movement) to 0]

 

The Get Player Y Movement is already there, I just need to be able to set it.

Thanks for the advice though!

 

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I thought we can set…
Sat, 06/20/2020 - 01:21

I thought we can set Velocity of entities ? Then just set x,z of that block to Get entities X,Z velocity then set Y to positive numbers like 1,2,3... to make it go up and negative numbers to go down

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I thought we can set…
Sat, 06/20/2020 - 01:59

I thought we can set Velocity of entities ? Then just set x,z of that block to Get entities X,Z velocity then set Y to positive numbers like 1,2,3... to make it go up and negative numbers to go down

This is an old post lmao, 5 months. Since then I have done it lol.

Last seen on 09:48, 26. Sep 2022
Joined Jun 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lmao XD sorry  
Sat, 06/20/2020 - 05:00

lmao XD sorry