How do I make an entity bounce?

Started by The1GiantWalrus on Sun, 11/22/2020 - 00:43

Topic category: Help with modding (Java Edition)

Last seen on 17:54, 24. Nov 2020
Joined Sep 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make an entity bounce?
Sun, 11/22/2020 - 00:43

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 14:13, 28. Nov 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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]