How to make a ridable flying mob? (Helicopter)

Started by Draez on

Topic category: Help with modding (Java Edition)

Last seen on 21:41, 30. Mar 2021
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a ridable flying mob? (Helicopter)

I'm not doing any coding at all, but if I need to make a custom element I need the full steps on how to do that and what the code is exactly. But If I don't need to code then I really need help. I did a bunch of research and no one has any videos or any other forums that can help me. When I make the mob ridable and make it a flying mob, I cant go up or down. I don't want it to be controlled by a head movement. Like a button. For example space bar to go up.

Last seen on 18:23, 31. Jan 2024
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You will probably need to…
Sun, 05/02/2021 - 02:19

You will probably need to add keybinds for affecting the y velocity of the helicopter. This may, however, clash with existing keybinds (e.g. trying to use space for both jumping and rising, or shift for both sneaking and lowering). The up and down arrows are good options, since they aren't used by default. Simply create keybinds with your desired keys, and set them so that when you press them, it runs a procedure that changes the y velocity of the entity you are riding.

Hope this helps!

Last seen on 13:58, 12. Dec 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please take me screenshot`s…
Sun, 09/19/2021 - 16:54

please take me screenshot`s hom make this procedure on key bind

Last seen on 13:58, 12. Dec 2022
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Screenshot`s* how**
Sun, 09/19/2021 - 17:58

Screenshot`s* how**