How to disable player fall damage when mounting an entity?

Started by teojuegos2k on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to disable player fall damage when mounting an entity?

Hi, I'm new to the program and need help figuring out how to disable players' fall damage when riding a flying entity. If there is anyone who can help me, I would greatly appreciate it.

Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Global Trigger: Entity Falls…
Tue, 12/10/2024 - 04:35

Global Trigger: Entity Falls

If: (Is [Get Entity [Entity/target entity] is riding] (sub)type of {Your chosen entity} = true)

Do: (Override fall damage of [Entity/target entity] with 0 blocks for the next tick
       Cancel event that triggered global trigger)