PT-BR EN ES
Channel Icon

Crazy Ozz

Official Channel Website

Command Block

How to Make a Jetpack in Minecraft (Command Block Tutorial)

Minecraft Java Edition 1.21+ and 26+ – Shift Jetpack System using Scoreboard

Want to create a Jetpack in Minecraft like a mod, but using only commands? In this tutorial you will learn how to make a working jetpack system that lets players fly by holding Shift, using Command Blocks and scoreboard detection. This works in Minecraft Java Edition 1.21+ and 26+ and includes levitation, slow falling and sound effects, perfect for RPG maps, minigames and custom adventure worlds.

Let's start by creating the jetpack scoreboard

It will be used to gain score whenever we press Shift

scoreboard objectives add jetpack minecraft.custom:minecraft.sneak_time

Place 4 command blocks lined up together (facing the same direction)

The first one will be a Repeat command block set to Always Active

The others will be Chain command blocks, which must also be set to Always Active

In the Repeat command block, enter this command

effect give @a[scores={jetpack=1..},x_rotation=-90..80] levitation 1 15 true

It applies the levitation effect whenever we press Shift

In the Chain command blocks, enter the following commands in this order

effect give @a[scores={jetpack=1..},x_rotation=81..90] slow_falling 1 4 true

execute at @a[scores={jetpack=1..}] run playsound entity.wither.shoot master @a ~ ~ ~ .03 .85

scoreboard players reset @a[scores={jetpack=1..}] jetpack

Basically, the first one prevents fall damage with slow_falling, the second plays the sound, and the third resets the score

Just press and hold Shift to have fun!

Want cheap and lag-free Minecraft hosting?

I recommend Sparked Host: affordable plans, great performance, easy panel and fast support.

🚀 Start your Minecraft Server

Still have questions? Watch the video below