Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
jsonRecipeEdit-1.11.2-0.9.jar beta | 196.39 KB | May 14, 2017 | 1.11.2 | 7,859 | Download |
jsonRecipeEdit-1.11.2-0.8.jar beta | 175.63 KB | May 11, 2017 | 1.11.2 | 1,219 | Download |
jsonRecipeEdit-1.11.2-0.7.jar beta | 142.91 KB | Apr 28, 2017 | 1.11.2 | 2,644 | Download |
jsonRecipeEdit-1.11.2-0.6.jar beta | 141.43 KB | Mar 19, 2017 | 1.11.2 | 4,128 | Download |
jsonRecipeEdit-1.11.2-0.5.jar alpha | 131.77 KB | Feb 27, 2017 | 1.11.2 | 931 | Download |
jsonRecipeEdit-1.11.2-0.4.jar alpha | 126.50 KB | Feb 22, 2017 | 1.11.2 | 372 | Download |
jsonRecipeEdit-1.11.2-0.3.jar alpha | 118.84 KB | Feb 20, 2017 | 1.11.2 | 288 | Download |
jsonRecipeEdit-1.11.2-0.2.jar alpha | 347.19 KB | Feb 14, 2017 | 1.11.2 | 570 | Download |
jsonRecipeEdit-1.11.2-0.1.jar alpha | 346.54 KB | Feb 12, 2017 | 1.11.2 | 211 | Download |
Description
JSON Recipe Edit is a Minecraft mod intended to provide a way for modpack creators to customize many elements of their pack.
It works by having a one or more json files the pack creator makes, these file combined is called the "json script" and is evaluated after all mods are initialized.
In this script many types of tweaks are possible such as updating recipes and other parameters. In many ways this makes JSON Recipe Editor a mod related to minetweaker / crafttweaker, however with a different runtime, and no way to reload once the world is loaded. This means some things possible in this mod can't be done in minetweaker, and some things in minetweaker can't be done in this mod.
Want to help this project but can't code? Help document it on the wiki, report any bugs, and help new users customize their packs!
Quick Guide:
1) Install the mod in the mods folder
2) create a text file named jsonrecipeedit.json in the config folder
3) in jsonrecipeedit.json create a json to run the "commands" you want to be evaluated for your pack (see the example script and wiki for the format of the json file)
Example script:
https://github.com/ezterry/JsonRecipeEdit/wiki/Sample1
Wiki:
Editable documentation
https://github.com/ezterry/JsonRecipeEdit/wiki
Commands:
The current commands built into JsonRecipeEdit
- add fuel item – make an item a furnace fuel
- add furnace – add a furnace smelting recipe
- anvil craft recipe - add a crafting recipe to the anvil
- block drops – Configure what blocks drop when a player breaks a block
- batch update – update specific items settings in bulk
- delete furnace – delete a furnace smelting recipe
- delete recipe – remove a crafting recipe
- edit block – Edit the properties of an in game block
- edit item – Edit the properties of an in game item
- hide in jei – hide an item form the JEI ingredient listing
- include – Include, and evaluate, an additional Json Script
- shaped recipe – add a new shaped crafting recipe
- shapeless recipe – add a new shapeless crafting recipe
- tool crafting - Shapeless tool crafting (uses the tool durability)
- register ore – register (add) item(s) to a OreDictionary entry
- virtual command chain – run virtual command block chains
Tinkers Construct Integration
If tinkers construct is installed these additional commands are available
- tic remove drying – Remove a drying rack recipe
- tic add drying – Add a drying rack recipe
- tic remove melting – remove a smeltery melting recipe
- tic add melting – add a smeltery melting recipe
- tic remove table casting – remove casting table recipe
- tic add table casting – add a casting table recipe
- tic remove basin casting – remove casting table recipe
- tic add basin casting – add a casting table recipe
- tic remove alloy – remove a smeltery alloy recipe
- tic add alloy – add a smeltery alloy recipe
Actually Additions Integration
If actually additions is installed these additional commands are available
- aa remove crusher – Remove a recipe from the crusher
- aa add crusher – Add a recipe to the crusher
- aa remove ball of fur – remove a item from the possible ball of fur list
- aa add ball of fur – add an item to get when a ball of fur is opened
- aa remove treasure loot – remove an items from the undersea loot
- aa add treasure loot – add an item to the under sea loot
- aa remove atomic reconstructor – remove a reconstructor recipe
- aa add atomic reconstructor – add a reconstructor recipe
- aa remove empowerer – remove an empowerer recipe
- aa add empowerer – add an empowerer recipe
JSON Schema
I've been finding many small json errors in some of the early packs, to prevent this I highly recommend using an editor that validates the json file, and ideally also verifies the schema, to ensure fewer errors staring your worlds due to typos.
Option 1:
https://jsonschemalint.com/#/version/draft-04/markup/json
Here you can paste the schema file from github into the pane on the left and the final json script on the right, it will inform you if there is an error by turning red
Option 2:
http://jsoneditoronline.org/#/
Here you can prepare the enviroment:
1) Goto Settings -> Add Schema
2) Select specify by url and paste the url in "https://raw.githubusercontent.com/ezterry/JsonRecipeEdit/master/util/jsonrecipeedit.schema.json"
3) Choose OK
Now when you edit on the box on the right you can see red Xs where there are json errors, and yellow warnings where the format is incorrect from the JSON Recipe Edit template.
Using the arrows in the middle you can also transfer the text to the tree and back, this may make editing command block commands, and nbt data easier where nested quotes may exist. It also makes it easier to see where a schema error exists.
Other Options:
The above 2 options use free online resources, however other options exist, including using intelli-j if you are a mod creator, and adding the schema manually in there. Other for pay json editing software exists with and without support for the JSON Schema format.
Modpacks:
This mod is intended for modpack creators thus may be included in any modpack without specific permission from me. In addition its provided under the BSD licence thus modified versions may be also provided without my permission.
While not strictly required it is polite to link back here or my github if you distribute or modify the file.
Patches:
While I welcome patches, please note: it is important that any new command doesn't change the systems state unless it's called from the JSON script. In addition any changes requiring core modes will not be accepted into Json Recipe Edit (Feel free however to add such commands via another mod using the API)
Add a comment