• check_circle Functions
  • check_circle Recipes
  • 7,910 views, 2 today
  • 957 downloads, 0 today
  • 9
  • 10
  • 2
BeeFox's Avatar BeeFox
Level 32 : Artisan Engineer
7
A small datapack in which you can craft an iron jetpack
To activate your jetpack, simply craft and equip it

Looking up (angle -80 to -90) will cause you to float up
Looking down (angle 80 to 90) will cause you to sink down

Hunger is your fuel! Just like sprinting, your jetpack will cease to work
However, Rather then dropping out of the sky, you will enter glide mode, in which you will float slowly towards the ground

This should be multiplayer compatible, but I have no way of testing it. If you run into any issues please comment them down below!
CompatibilityMinecraft 1.14

Create an account or sign in to comment.

1
06/29/2019 11:51 amhistory
Level 26 : Expert Engineer
Guris
Guris's Avatar
Outstanding data pack! But I have a question before I try it on my SMP server. How does the jetpack get damage? By usage? By damage from enemies? It would be nicer to damage the jetpack based on the usage and to damage even more in glide mode.

+) It'd be nicer if the control is spacebar and shift. But I know there's no way to figure out the player is pressing any key using entity parameters. However, can you make jumping possible on ground depending OnGround?
2
07/02/2019 7:15 amhistory
Level 32 : Artisan Engineer
BeeFox
BeeFox's Avatar
Sadly I could not work out a way to damage the jetpack, so as such it takes damage the exact same as an iron chest plate. If you know of any way to add damage to an item, please do tell!

As for the controls, you sadly cannot test if the player is holding space, Holding shift is a thing you can detect however I decided on a control scheme that was uniform (as appose to shift to go down but looking up to go up)




The fact that you cannot walk/jump with the jetpack is a limitation of minecraft, for some reason as you walk, the OnGround nbt fluctuates, and you start flying anyway. Other solutions such as block detection are possible but I wasn't able to get it to work well. In the end I kept it from working as a sort of balancing mechanic, so people wouldn't just use the jetpack indefintley
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome