How do I make an entity bounce?

Started by The1GiantWalrus on

Topic category: Help with modding (Java Edition)

Last seen on 14:47, 12. Mar 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make an entity bounce?

I'm trying to make a mod, and it includes a "Bounce Potion." This potion will make entities bounce when they land, similar to landing on slime blocks. Is there a way to do this? Thanks.

Last seen on 22:01, 18. Aug 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use: If not block at [x] [y…
Mon, 11/23/2020 - 19:53

Use:

  • If not block at [x] [y -1] [z] = air:
    • Set [event/target entity] movement vector to vx: [X velocity of event/target entity] vy: [0.3] vz: [Z velocity of event/target entity]