How do I make a player stop flying

Started by DukeOfDerp77 on Mon, 10/12/2020 - 14:54

Topic category: Help with modding (Java Edition)

Last seen on 19:06, 5. May 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a player stop flying
Mon, 10/12/2020 - 14:54

How do I make a player stop flying if they are flying? I am making a potion that allows a player to fly but when it runs out they stay flying. Is there anyway I can remove the fly?

Last seen on 21:17, 28. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
in you potion events…
Mon, 10/12/2020 - 18:04

in you potion events triggers, create a procedure for "When potion expires":

https://cdn.discordapp.com/attachments/599250311852458006/765271955791151114/unknown.png

then in the new procedure, do this:

https://cdn.discordapp.com/attachments/599250311852458006/765273108155203645/unknown.png

Last seen on 19:06, 5. May 2021
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thank you so much!!
Mon, 10/12/2020 - 21:55

Thank you so much!!