Check if the player is flying

Started by zorualeloupsolitaire on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check if the player is flying

Hello, for my mod I would like to make an armor with wings.

So I decided to make 2 armor models, one with closed wings and one with open wings.
The problem is that I don't know how to check if the player is flying, to give him the model with the wings open and vice versa for the wings closed.

Any ideas?

thanks in advance !