Rocket boots

Rocket boots are accessories included in the armours module, used to make a player fly.

Command info
Lag level: low

Added in: 1.0

Functions folder: armour

Additional files: None

Obtaining
Any pair of boots can be crafted in rocket boots by dropping them on a firework rocket item. It will keep any data such as armour type (including custom), enchantments (including enchanted), and damage. The item will be named "Rocket boots". Once crafted, a pair of boots cannot be uncrafted to remove the effect. A player can still craft two damaged pairs of boots together - however, this will also remove custom names and enchantments.

Mechanics
At any time, a player wearing rocket boots can sneak to start flying. As long as the sneak key is pressed, the player will go up and produce flame and cloud particles. A low flame sound will be played. When the player stops sneaking or removes the rocket boots, he will keep flying for almost a second, then fall.

As long as the player flies, he will be unable to take fall damage. To land without taking damage, a player can sneak just before touching the ground, and won't fall from too high.

If a player hits any form of ceiling while flying, obstructing his flight, or dives into water or lava, he will produce an explosion and die with a custom death message: "[Player] hit the ceiling too hard".

The rocket boots effects stack with other armour effects. For instance, a pair of rocket boots will still grant a set bonus with magma, quartz or obsidian.