Skip to content

Instantly share code, notes, and snippets.

@Daomephsta
Created February 13, 2016 05:47
Show Gist options
  • Save Daomephsta/b32257ca8aec352433db to your computer and use it in GitHub Desktop.
Save Daomephsta/b32257ca8aec352433db to your computer and use it in GitHub Desktop.
MTSupport vs JSON
JSON(Assuming all keys are required to be present):
{
"recipes":
[
{
"input": {"itemName": "ingotIron", "isOreDictionary": true, "isWildcard": false,"damage": 2}
,"output": {"itemName": "minecraft:stick", "isOreDictionary": false, "isWildcard": false, "damage": 16, "stackSize": 5}
,"experience": 0.5
}
]
}
JSON(Assuming all keys are not required to be present):
{
"recipes":
[
{
"input": {"itemName": "ingotIron", "isOreDictionary": true, "damage": 2}
,"output": {"itemName": "minecraft:stick", "damage": 16, "stackSize": 5}
,"experience": 0.5
}
]
}
MineTweaker:
import mods.betterbeginnings.Kiln;
Kiln.addRecipe(<ore:ingotIron:2>, <minecraft:stick:16> * 5, 0.5);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment