Created
February 13, 2016 05:47
-
-
Save Daomephsta/b32257ca8aec352433db to your computer and use it in GitHub Desktop.
MTSupport vs JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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