Cucumber
Extended Crafting
Iron Jetpacks
Mystical Agriculture
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.
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.
Name
RequiredThe 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"
}
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
RequiredYou can set the disable field to true to disable a jetpack. Alternatively, you could just delete the JSON file.
{
"disable": false
}
Tier
RequiredThe 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
RequiredThe color of the jetpack and related items as a HEX value.
{
"color": "41f384"
}
Armor Points
RequiredThe amount of armor the jetpack should give when worn.
{
"armorPoints": 4
}
Enchantability
RequiredHow enchantable the jetpack should be.
{
"enchantability": 15
}
Crafting Material
RequiredThe material used to craft the jetpack and its components. Syntax is modid:itemid
for items and tag:modid:tagid
for tag entries. You can also set the value to "null"
to disable the recipes.
{
"craftingMaterial": "tag:c:gems/emerald"
}
Creative
Is the jetpack a creative tier jetpack? Omitting this field will default to false
.
{
"creative": 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. Omitting this field will default to 0
.
{
"rarity": 0
}
Toughness
The amount of armor toughness this jetpack should give when worn.
{
"toughness": 0
}
Knockback Resistance
The amount of knockback resistance this jetpack should give when worn.
{
"knockbackResistance": 0
}
Capacity
RequiredHow much FE (energy) this jetpack can hold.
{
"capacity": 48000000
}
Usage
RequiredHow much FE this jetpack should use when flying/hovering.
{
"usage": 880
}
Curios
Whether this jetpack should be wearable as a Curio. They work as a Curio by default.
{
"curios": false
}
Vertical Speed
RequiredHow fast the jetpack should fly upwards.
{
"speedVertical": 1.03
}
Vertical Acceleration
RequiredHow fast the initial takeoff is.
{
"accelVertical": 0.17
}
Sideways Speed
RequiredHow fast the jetpack should make you move forwards (when holding forwards).
{
"speedSideways": 0.21
}
Ascending Hover Speed
RequiredHow fast the jetpack should ascend when hover mode is on, and you're flying.
{
"speedHoverAscend": 0.45
}
Descending Hover Speed
RequiredHow fast the jetpack should descend when hover mode is on, and you're sneaking.
{
"speedHoverDescend": 0.25
}
Hover Speed
RequiredHow fast the jetpack should descend when hovering.
{
"speedHover": 0.0
}
Sprint Speed Multiplier
RequiredHow much faster the player should fly when sprinting while flying forwards.
{
"sprintSpeedMulti": 2.0
}
Sprint Speed Vertical Multiplier
How much faster the player should fly when sprinting while flying upwards. Omitting this field will default to 1.0
.
{
"sprintSpeedMultiVertical": 2.0
}
Sprint Fuel Multiplier
RequiredHow 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:c: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
}