Jetpack JSON

Adding A Jetpack

Jetpacks are added via JSON files placed in /config/ironjetpacks/jetpacks/. Each file represents a new jetpack to be added.

Editing A Jetpack

After initial load, all the default jetpack JSON files will be generated. You can then edit the values as you see fit.

The Jetpack File

This section will go over the values available to use in jetpack file. Syntax can be inferred from the example json below.

Tip

Use the stats of the default jetpacks to decide what the values should be for your custom jetpacks, since the values themselves are quite cryptic.

Note

Any field below marked with a purple badge is required. Any field marked with a green badge requires at least the version specified.

Name

Required

The name of the jetpack. This name must be all lower case and have underscores for spaces. This will be used for registry names as well as localized names. The name will be formatted automatically for localized names, including spaces and capitalization.

{
  "name": "emerald"
}

Version 6.0.1+: Translation keys will be automatically created for the provided jetpack name. For example, a jetpack with the name emerald will have the translation key jetpack.emerald.name. You can use this key in your Resource Pack translation files to translate the name into different languages.

Disable

Required

You can set the disable field to true to disable a jetpack. Alternatively, you could just delete the JSON file.

{
  "disable": false
}

Tier

Required

The crafting tier of the jetpack. Make sure there is at least 1 jetpack per tier, in succession (ex 1, 2, 3 all have at least one jetpack). Tier -1 is creative.

{
  "tier": 5
}

Color

Required

The color of the jetpack and related items as an integer. This color should be a HEX value.

{
  "color": "41f384"
}

Armor Points

Required

The amount of armor the jetpack should give when worn.

{
  "armorPoints": 4
}

Enchantability

Required

How enchantable the armor should be.

{
  "enchantability": 15
}

Crafting Material

Required

The material used to craft the jetpack and its components. Syntax is modid:itemid for items and tag:modid:tagid for tag entries.

{
  "craftingMaterial": "tag:forge:gems/emerald"
}

If you don't want any of the default crafting recipes to be generated you can set the craftingMaterial field to "null".

{
  "craftingMaterial": "null"
}

Creative

Is the jetpack a creative tier jetpack?

{
  "creative": false
}

Omitting this field will default to false.

Rarity

The item rarity of this jetpack. This is basically just used to change the color of the tooltip. Valid values are 0-3.

{
  "rarity": 0
}

Omitting this field will default to 0.

Toughness

4.2.1+

The amount of armor toughness this jetpack should give when worn.

{
  "toughness": 0
}

Knockback Resistance

4.2.1+

The amount of knockback resistance this jetpack should give when worn.

{
  "knockbackResistance": 0
}

Capacity

Required

How much FE (energy) this jetpack can hold.

{
  "capacity": 48000000
}

Usage

Required

How much FE this jetpack should use when flying/hovering.

{
  "usage": 880
}

Curios

5.1.1+

Whether this jetpack should be wearable as a Curio. They work as a Curio by default.

{
  "curios": false
}

Vertical Speed

4.2.1+

How fast the jetpack should fly upwards.

{
  "speedVertical": 1.03
}

Vertical Acceleration

4.2.1+

How fast the initial takeoff is.

{
  "accelVertical": 0.17
}

Sideways Speed

4.2.1+

How fast the jetpack should make you move forwards (when holding forwards).

{
  "speedSideways": 0.21
}

Ascending Hover Speed

Required5.0.0+

How fast the jetpack should ascend when hover mode is on, and you're flying.

{
  "speedHoverAscend": 0.45
}

Descending Hover Speed

Required

How fast the jetpack should descend when hover mode is on, and you're sneaking.

{
  "speedHoverDescend": 0.25
}

Hover Speed

Required

How fast the jetpack should descend when hovering.

{
  "speedHover": 0.0
}

Sprint Speed Multiplier

Required

How much faster the player should fly when sprinting while flying forwards.

{
  "sprintSpeedMulti": 2.0
}

Sprint Speed Vertical Multiplier

4.2.0+

How much faster the player should fly when sprinting while flying upwards.

{
  "sprintSpeedMultiVertical": 2.0
}

Omitting this field will default to 1.0.

Sprint Fuel Multiplier

Required

How much more fuel should the jetpack use while sprinting.

{
  "sprintFuelMulti": 4.0
}

Example File

{
  "name": "emerald",
  "disable": false,
  "tier": 5,
  "color": "41f384",
  "armorPoints": 4,
  "enchantability": 15,
  "craftingMaterial": "tag:forge:gems/emerald",
  "rarity": 0,
  "toughness": 0,
  "knockbackResistance": 0,
  "capacity": 48000000,
  "usage": 880,
  "curios": true,
  "speedVertical": 1.03,
  "accelVertical": 0.17,
  "speedSideways": 0.21,
  "speedHoverDescend": 0.45,
  "speedHover": 0.0,
  "sprintSpeedMulti": 2.0,
  "sprintSpeedMultiVertical": 1.0,
  "sprintFuelMulti": 4.0
}