codeconnection
Version:
Code minecraft education edition using nodeJS. An attempt to improve on Microsoft Code Connection.
18 lines (16 loc) • 925 B
Markdown
This works like this:
0. Run _parseDataValues to get the datavalues for the blocks
1. Get the raw json information for the recipes and the items
2. put this information into
_rawItemInformation.js
_rawRecipesInformation.js
3. Run _rawParser.js. This creates the 'blockList.js' and 'blockListNames.js' files
4. Run 'masterRecipeCreator.js'. This makes the 'masterRecipeList.js'
The files
1. blockList.js
2. blockListNames.js
3. masterRecipeList.js
are needed in the main program to
1. Give the user and easy way to input block name - this file tiles the block name as a constant to the numerical id of the block
2. This ties the text name of the block e.g. 'iron_ingot' to its numerical id. This is needed to translate an agents inventory to it's id number
3. This is the list of recipes for each item (given as a numerical id) and the required ingredients (as numerical ids)