Air Hop

Mods
16,625 Downloads Last Updated: Aug 21, 2019 Game Version: Forge

Jumping is fun, jumping is awesome, jumping is life. But why can we only do it while on the ground and just once? Just WHY?

Well, despair no more! The new Air Hop enchantment is here to solve both issues: Now you can not only jump while in mid-air, but also multiple times!

FEATURES

All this mod does is adding a single fully fletched out enchantment called Air Hop. Every level of it lets you jump once more when you're in the air. 

  • The enchantment is applicable to all four armour pieces, all levels will be combined. This means having level three on your helmet and level two on your boots gives you five air hops in total.
  • Every time you jump in the air you leave a small cloud puff behind which will disappear after a few seconds. This is simply a visual.
  • When wearing an elytra the enchantment doesn't apply until you're flying. So you can take off normally from the ground and quickly gain some height by jumping without the use of any firework rockets. If you hold the sneaking key this behaviour will be inverted; you will jump as high as your air hop enchantment level allows you to until your elytra finally engages. This whole behaviour can be completely inverted in the config file.

In Minecraft 1.12 and below the enchantment itself is also fully configureable in the config file:

  • Set the maximum level which defines how many air hops are possible. Default is three.
  • Set the enchantment as a treasure enchantment so it can't be obtained from an enchanting table. Default is true.
  • Set the armour piece the enchantment can be applied to. Default is all.

NOTES

The internal id of the Air Hop enchantment is airhop:air_hop (required for the /enchant command among other things).

For this mod to fully function it needs to be installed on both the client and server.

CREDIT

The idea of this mod is heavily inspired by the now outdated Double Jump mod made by Intektor. Air Hop can be seen as its spiritual successor. Please download Double Jump if you're playing on a game version prior to Minecraft 1.11.

A huge thank you to McJty for making his YouTube tutorials on Minecraft Modding which helped me out a lot working with Forge's capability system.

Also thanks to Drullkus and his Shield Parry mod from which I learnt how to handle new enchantments since I had never done anything like it before.

The update to game versions past Minecraft 1.12 was helped a lot by looking at the source code of Building Gadgets by Direwolf20Scaling Health by SilentChaos512 and ProjectE by SinKillerJ.

LICENSE

This mod is available in the public domain. Do whatever you want, use it wherever you want. The source code can be found on Github.

Comments

Posts Quoted: