diff --git a/css/main.css b/css/main.css index 75b2e99..cee7c90 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,18 @@ .ui-spinner { width: 80px; margin-top: 3px; +} + +#menu { + width: 250px; +} + +#menubox{ + height: 100%; + top: 0px; + left: 320px; + position: fixed; + border-left-width: 2px; + border-color: black; + border-left-style: solid; } \ No newline at end of file diff --git a/index.html b/index.html index ded93c3..52573c4 100644 --- a/index.html +++ b/index.html @@ -12,13 +12,51 @@ - -
- -
- - -
-
+ + +
+ +
+
+ +
+
+
\ No newline at end of file diff --git a/js/main.js b/js/main.js index eb5496b..9894900 100644 --- a/js/main.js +++ b/js/main.js @@ -6,31 +6,56 @@ var allItems = {} var requieredCount = [] var requieredItems = [] var newid = 0 - +var items = "" var itemsRequest = new XMLHttpRequest(); itemsRequest.open('GET', 'resources/items.txt') itemsRequest.onload = function() { var res = itemsRequest.responseText; - var items = res.split("\n") + items = res.split("\n") var loaded = 0 for (var i = 0; i < items.length && !(items[i] in window); i++) { loadJSON(items[i]) } + } itemsRequest.send() - function loadHTML() { - $("#itemtoadd").empty() + $("#menu li ul").empty() + $("#k_other").empty() for (var i = 0; i < allItemsArray.length; i++) { if (!('disabled' in allItemsArray[i])){ - $("#itemtoadd").append("") + //$("#itemtoadd").append("") + $("#k_"+allItemsArray[i].type).append("
  • " + allItemsArray[i].name + "
  • ") } else { //console.log(allItemsArray[i].name+" disabled. Not loading") } } + + $(".additem").click(function() { + var id = parseInt($(this).attr("id").substring(3,99)) + console.log(id) + var tagid = 'item_'+id + if($('#'+tagid).length){ + console.log(id+" allready exists!") + return + } + $("#tocraft").append('') + $("#"+tagid).spinner({ + min: 0, + numberFormat: "n", + change: function( event, ui ) { + if($("#"+tagid).spinner( "value" )==0){ + $("#"+tagid).spinner( "destroy" ) + $("#"+tagid).remove() + $("#lable_"+tagid).remove() + } + } + }); + $("#"+tagid).val(1) + }) } function loadJSON(itemname) { @@ -45,11 +70,13 @@ function loadJSON(itemname) { console.warn("missing key \"name\" in "+itemname) } item.id = newid - newid++ allItems[itemname] = item allItemsArray.push(item) console.log(item) loadHTML() + newid++ + if(newid==items.length) + $( "#menu" ).menu( "refresh" ); } itemRequest.send() } @@ -70,7 +97,7 @@ $( document ).ready(function() { $("#calc").button() // BUTTONS - $("#additem").click(function() { + $(".additem").click(function() { var id = $("#itemtoadd").val() console.log("Adding "+id+"...") var tagid = 'item_'+id @@ -144,7 +171,6 @@ function updateoutput() { console.log("-1") }else{ requieredCount[requieredItems.indexOf(item.crafting[j])]++ - console.log("is Da") } } } diff --git a/resources/items/awakened_core.txt b/resources/items/awakened_core.txt index 911a6e4..7a51a0d 100644 --- a/resources/items/awakened_core.txt +++ b/resources/items/awakened_core.txt @@ -1,4 +1,6 @@ { - "name": "Awakened Core", + +"type":"other", +"name": "Awakened Core", "crafting": ["wyvern_core", "wyvern_core", "wyvern_core", "wyvern_core", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "nether_star"] } diff --git a/resources/items/awakened_draconium_block.txt b/resources/items/awakened_draconium_block.txt index 2d9ece3..34770f7 100644 --- a/resources/items/awakened_draconium_block.txt +++ b/resources/items/awakened_draconium_block.txt @@ -1,5 +1,7 @@ { - "name": "Awakened Draconium Block", + +"type":"blocks", +"name": "Awakened Draconium Block", "count": 4, "crafting": ["draconic_core", "draconic_core", "draconic_core", "draconic_core", "draconic_core", "draconic_core", "dragon_heart", "draconium_block", "draconium_block", "draconium_block", "draconium_block"] } diff --git a/resources/items/awakened_draconium_ingot.txt b/resources/items/awakened_draconium_ingot.txt index 0392b88..9e3f458 100644 --- a/resources/items/awakened_draconium_ingot.txt +++ b/resources/items/awakened_draconium_ingot.txt @@ -1,5 +1,7 @@ { - "name": "Awakend Draconium Ingot", + +"type":"other", +"name": "Awakend Draconium Ingot", "count": 9, "crafting": ["awakened_draconium_block"] } \ No newline at end of file diff --git a/resources/items/axe_of_the_wyvern.txt b/resources/items/axe_of_the_wyvern.txt index 06a69b9..20ca79b 100644 --- a/resources/items/axe_of_the_wyvern.txt +++ b/resources/items/axe_of_the_wyvern.txt @@ -1,4 +1,6 @@ { - "name": "Axe of the Wyvern", + +"type":"tools", +"name": "Axe of the Wyvern", "crafting": ["Diamond_axe", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/basic_fusion_crafting_injector.txt b/resources/items/basic_fusion_crafting_injector.txt index d23a0eb..e326212 100644 --- a/resources/items/basic_fusion_crafting_injector.txt +++ b/resources/items/basic_fusion_crafting_injector.txt @@ -1,4 +1,6 @@ { - "name": "Basic Fusion Crafting Injector", + +"type":"blocks", +"name": "Basic Fusion Crafting Injector", "crafting": ["Diamond", "Diamond", "Stone", "Stone", "Stone", "Stone", "Stone", "block_of_iron", "draconic_core"] } diff --git a/resources/items/blaze_powder.txt b/resources/items/blaze_powder.txt index e3812d7..2c1abb6 100644 --- a/resources/items/blaze_powder.txt +++ b/resources/items/blaze_powder.txt @@ -1,5 +1,7 @@ { - "name": "Blaze Powder", + +"type":"other", +"name": "Blaze Powder", "disabled": true, "crafting": ["Blaze Rod"] } diff --git a/resources/items/block_of_diamond.txt b/resources/items/block_of_diamond.txt index efb0ff8..5b154ed 100644 --- a/resources/items/block_of_diamond.txt +++ b/resources/items/block_of_diamond.txt @@ -1,5 +1,7 @@ { - "name": "Block of Diamond", + +"type":"other", +"name": "Block of Diamond", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond"] } diff --git a/resources/items/block_of_emerald.txt b/resources/items/block_of_emerald.txt index ea1d860..6623385 100644 --- a/resources/items/block_of_emerald.txt +++ b/resources/items/block_of_emerald.txt @@ -1,5 +1,7 @@ { - "name": "Block of Emerald", + +"type":"other", +"name": "Block of Emerald", "disabled": true, "crafting": ["emerald", "emerald", "emerald", "emerald", "emerald", "emerald", "emerald", "emerald", "emerald"] } diff --git a/resources/items/block_of_iron.txt b/resources/items/block_of_iron.txt index bdc38e7..2d4427e 100644 --- a/resources/items/block_of_iron.txt +++ b/resources/items/block_of_iron.txt @@ -1,5 +1,7 @@ { - "name": "Block of Iron", + +"type":"other", +"name": "Block of Iron", "disabled": true, "crafting": ["Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot", "Iron Ingot"] } diff --git a/resources/items/block_of_redstone.txt b/resources/items/block_of_redstone.txt index 23dd02d..d8c225d 100644 --- a/resources/items/block_of_redstone.txt +++ b/resources/items/block_of_redstone.txt @@ -1,5 +1,7 @@ { - "name": "Block of Redstone", + +"type":"other", +"name": "Block of Redstone", "disabled": true, "crafting": ["Redstone", "Redstone", "Redstone", "Redstone", "Redstone", "Redstone", "Redstone", "Redstone", "Redstone"] } diff --git a/resources/items/bow.txt b/resources/items/bow.txt index e7ed5d2..885dea1 100644 --- a/resources/items/bow.txt +++ b/resources/items/bow.txt @@ -1,5 +1,7 @@ { - "name": "Bow", + +"type":"other", +"name": "Bow", "disabled": true, "crafting": ["String", "String", "String", "Stick", "Stick", "Stick"] } diff --git a/resources/items/bow_of_the_wyvern.txt b/resources/items/bow_of_the_wyvern.txt index b140b84..731d016 100644 --- a/resources/items/bow_of_the_wyvern.txt +++ b/resources/items/bow_of_the_wyvern.txt @@ -1,4 +1,6 @@ { - "name": "Bow of the Wyvern", + +"type":"tools", +"name": "Bow of the Wyvern", "crafting": ["bow", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/chaotic_core.txt b/resources/items/chaotic_core.txt index f792ab7..4cfcd1e 100644 --- a/resources/items/chaotic_core.txt +++ b/resources/items/chaotic_core.txt @@ -1,4 +1,6 @@ { - "name": "Chaotic Core", + +"type":"other", +"name": "Chaotic Core", "crafting": ["awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "awakened_core", "awakened_core", "awakened_core", "Chaos Shard"] } diff --git a/resources/items/chaotic_fusion_crafting_injector.txt b/resources/items/chaotic_fusion_crafting_injector.txt index 43291df..1a4ded7 100644 --- a/resources/items/chaotic_fusion_crafting_injector.txt +++ b/resources/items/chaotic_fusion_crafting_injector.txt @@ -1,4 +1,6 @@ { - "name": "Chaotic Fusion Crafting Table", - "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "chaotic_core", "draconic_fusion_crafting_injector", "dragon_egg"] + +"type":"blocks", +"name": "Chaotic Fusion Crafting Injector", + "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "chaotic_core", "draconic_fusion_crafting_injector", "Dragon Egg"] } diff --git a/resources/items/diamond_axe.txt b/resources/items/diamond_axe.txt index 0f3ecb6..c616312 100644 --- a/resources/items/diamond_axe.txt +++ b/resources/items/diamond_axe.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Axe", + +"type":"other", +"name": "Diamond Axe", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Stick", "Stick"] } diff --git a/resources/items/diamond_boots.txt b/resources/items/diamond_boots.txt index 421d9f1..3761d25 100644 --- a/resources/items/diamond_boots.txt +++ b/resources/items/diamond_boots.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Boots", + +"type":"other", +"name": "Diamond Boots", "disabled": true, "crafting":[ "Diamond", diff --git a/resources/items/diamond_chestplate.txt b/resources/items/diamond_chestplate.txt index e47a29f..aefd0f1 100644 --- a/resources/items/diamond_chestplate.txt +++ b/resources/items/diamond_chestplate.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Chestplate", + +"type":"other", +"name": "Diamond Chestplate", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond"] } diff --git a/resources/items/diamond_helmet.txt b/resources/items/diamond_helmet.txt index ec64a4e..86bce07 100644 --- a/resources/items/diamond_helmet.txt +++ b/resources/items/diamond_helmet.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Helmet", + +"type":"other", +"name": "Diamond Helmet", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "Diamond"] } diff --git a/resources/items/diamond_hoe.txt b/resources/items/diamond_hoe.txt index b5c5908..c348141 100644 --- a/resources/items/diamond_hoe.txt +++ b/resources/items/diamond_hoe.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Hoe", + +"type":"other", +"name": "Diamond Hoe", "disabled": true, "crafting": ["Diamond", "Diamond", "Stick", "Stick"] } diff --git a/resources/items/diamond_leggings.txt b/resources/items/diamond_leggings.txt index 07536bc..f1d7645 100644 --- a/resources/items/diamond_leggings.txt +++ b/resources/items/diamond_leggings.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Leggings", + +"type":"other", +"name": "Diamond Leggings", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond", "Diamond" ] } diff --git a/resources/items/diamond_pickaxe.txt b/resources/items/diamond_pickaxe.txt index c67f178..7329d89 100644 --- a/resources/items/diamond_pickaxe.txt +++ b/resources/items/diamond_pickaxe.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Pickaxe", + +"type":"other", +"name": "Diamond Pickaxe", "disabled": true, "crafting": ["Diamond", "Diamond", "Diamond", "Stick", "Stick"] } diff --git a/resources/items/diamond_shovel.txt b/resources/items/diamond_shovel.txt index b18764f..81abc1a 100644 --- a/resources/items/diamond_shovel.txt +++ b/resources/items/diamond_shovel.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Shovel", + +"type":"other", +"name": "Diamond Shovel", "disabled": true, "crafting": ["Diamond", "Stick", "Stick"] } diff --git a/resources/items/diamond_sword.txt b/resources/items/diamond_sword.txt index cbaac27..7f15f9e 100644 --- a/resources/items/diamond_sword.txt +++ b/resources/items/diamond_sword.txt @@ -1,5 +1,7 @@ { - "name": "Diamond Sword", + +"type":"other", +"name": "Diamond Sword", "disabled": true, "crafting": ["Diamond", "Diamond", "Stick"] } diff --git a/resources/items/draconic_axe.txt b/resources/items/draconic_axe.txt index 06d492e..c074d22 100644 --- a/resources/items/draconic_axe.txt +++ b/resources/items/draconic_axe.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Axe", + +"type":"tools", +"name": "Draconic Axe", "crafting": ["axe_of_the_wyvern", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_boots.txt b/resources/items/draconic_boots.txt index 3801af2..79a4d7f 100644 --- a/resources/items/draconic_boots.txt +++ b/resources/items/draconic_boots.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Boots", + +"type":"armor", +"name": "Draconic Boots", "crafting": ["wyvern_boots", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_bow.txt b/resources/items/draconic_bow.txt index 9ada780..c12028e 100644 --- a/resources/items/draconic_bow.txt +++ b/resources/items/draconic_bow.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Bow", + +"type":"tools", +"name": "Draconic Bow", "crafting": ["bow_of_the_wyvern", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_chestplate.txt b/resources/items/draconic_chestplate.txt index 43adbe0..929882e 100644 --- a/resources/items/draconic_chestplate.txt +++ b/resources/items/draconic_chestplate.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Chestplate", + +"type":"armor", +"name": "Draconic Chestplate", "crafting": ["wyvern_chestplate", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_core.txt b/resources/items/draconic_core.txt index 58d1b47..a920277 100644 --- a/resources/items/draconic_core.txt +++ b/resources/items/draconic_core.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Core", + +"type":"other", +"name": "Draconic Core", "crafting": ["Draconium Ingot", "Gold Ingot", "Draconium Ingot", "Gold Ingot", "Diamond", "Gold Ingot", "Draconium Ingot", "Gold Ingot", "Draconium Ingot"] } diff --git a/resources/items/draconic_energy_core.txt b/resources/items/draconic_energy_core.txt index b28cf71..462533e 100644 --- a/resources/items/draconic_energy_core.txt +++ b/resources/items/draconic_energy_core.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Energy Core", + +"type":"other", +"name": "Draconic Energy Core", "crafting": ["awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "wyvern_energy_core", "wyvern_energy_core", "wyvern_energy_core", "wyvern_energy_core", "wyvern_core"] } diff --git a/resources/items/draconic_flux_capacitor.txt b/resources/items/draconic_flux_capacitor.txt index 52b43b3..2902328 100644 --- a/resources/items/draconic_flux_capacitor.txt +++ b/resources/items/draconic_flux_capacitor.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Flux Capacitor", + +"type":"other", +"name": "Draconic Flux Capacitor", "crafting": ["awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "draconic_energy_core", "draconic_energy_core", "draconic_energy_core", "draconic_energy_core", "wyvern_flux_capacitor"] } diff --git a/resources/items/draconic_fusion_crafting_injector.txt b/resources/items/draconic_fusion_crafting_injector.txt index ebf78bd..eddc76b 100644 --- a/resources/items/draconic_fusion_crafting_injector.txt +++ b/resources/items/draconic_fusion_crafting_injector.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Fusion Crafting Injector", - "crafting": ["block_of_Diamond", "block_of_Diamond", "block_of_Diamond", "block_of_Diamond", "wyvern_energy_core", "wyvern_energy_core", "awakened_draconium_block", "awakened_draconium_block", "wyvern_fusion_crafting_injector"] + +"type":"blocks", +"name": "Draconic Fusion Crafting Injector", + "crafting": ["Block of Diamond", "Block of Diamond", "Block of Diamond", "Block of Diamond", "wyvern_energy_core", "wyvern_energy_core", "awakened_draconium_block", "awakened_draconium_block", "wyvern_fusion_crafting_injector"] } diff --git a/resources/items/draconic_helm.txt b/resources/items/draconic_helm.txt index 1e1c21d..3a205a2 100644 --- a/resources/items/draconic_helm.txt +++ b/resources/items/draconic_helm.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Helm", + +"type":"armor", +"name": "Draconic Helm", "crafting": ["wyvern_helm", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_hoe.txt b/resources/items/draconic_hoe.txt index 22c321d..078d641 100644 --- a/resources/items/draconic_hoe.txt +++ b/resources/items/draconic_hoe.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Hoe", + +"type":"tools", +"name": "Draconic Hoe", "crafting": ["Diamond_hoe", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_leggings.txt b/resources/items/draconic_leggings.txt index ceb92d7..c5017d1 100644 --- a/resources/items/draconic_leggings.txt +++ b/resources/items/draconic_leggings.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Leggings", + +"type":"armor", +"name": "Draconic Leggings", "crafting": ["wyvern_leggings", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_pickaxe.txt b/resources/items/draconic_pickaxe.txt index 07df1cc..bded116 100644 --- a/resources/items/draconic_pickaxe.txt +++ b/resources/items/draconic_pickaxe.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Pickaxe", + +"type":"tools", +"name": "Draconic Pickaxe", "crafting": ["pickaxe_of_the_wyvern", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_shovel.txt b/resources/items/draconic_shovel.txt index 3b6d61c..b2e35f5 100644 --- a/resources/items/draconic_shovel.txt +++ b/resources/items/draconic_shovel.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Shovel", + +"type":"tools", +"name": "Draconic Shovel", "crafting": ["shovel_of_the_wyvern", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconic_staff_of_power.txt b/resources/items/draconic_staff_of_power.txt index ed7ec23..d69626e 100644 --- a/resources/items/draconic_staff_of_power.txt +++ b/resources/items/draconic_staff_of_power.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Staff of Power", + +"type":"tools", +"name": "Draconic Staff of Power", "crafting": ["draconic_sword", "draconic_shovel", "draconic_pickaxe", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core"] } diff --git a/resources/items/draconic_sword.txt b/resources/items/draconic_sword.txt index 83d1ac0..568e833 100644 --- a/resources/items/draconic_sword.txt +++ b/resources/items/draconic_sword.txt @@ -1,4 +1,6 @@ { - "name": "Draconic Sword", + +"type":"tools", +"name": "Draconic Sword", "crafting": ["sword_of_the_wyvern", "awakened_draconium_ingot", "awakened_draconium_ingot", "awakened_core", "draconic_energy_core"] } diff --git a/resources/items/draconium_block.txt b/resources/items/draconium_block.txt index 6c586a4..2227bdf 100644 --- a/resources/items/draconium_block.txt +++ b/resources/items/draconium_block.txt @@ -1,4 +1,6 @@ { - "name": "Draconium Block", + +"type":"blocks", +"name": "Draconium Block", "crafting": ["Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot" ] } diff --git a/resources/items/dragon_heart.txt b/resources/items/dragon_heart.txt index 7377ca2..6019bdd 100644 --- a/resources/items/dragon_heart.txt +++ b/resources/items/dragon_heart.txt @@ -1,4 +1,6 @@ { - "name": "Dragon Heart", + +"type":"other", +"name": "Dragon Heart", "crafting": ["end_crystal","end_crystal","end_crystal","end_crystal"] } diff --git a/resources/items/end_crystal.txt b/resources/items/end_crystal.txt index f00c5c3..6059522 100644 --- a/resources/items/end_crystal.txt +++ b/resources/items/end_crystal.txt @@ -1,4 +1,7 @@ { - "name": "End Crystal", + +"type":"other", +"disabled":true, +"name": "End Crystal", "crafting": ["Ghast Tear", "nether_star", "glass_pane", "glass_pane", "glass_pane", "glass_pane", "glass_pane", "glass_pane", "glass_pane" ] } diff --git a/resources/items/energy_core.txt b/resources/items/energy_core.txt index a133386..749839a 100644 --- a/resources/items/energy_core.txt +++ b/resources/items/energy_core.txt @@ -1,4 +1,6 @@ { - "name": "Energy Core", + +"type":"blocks", +"name": "Energy Core", "crafting": ["Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core", "wyvern_energy_core"] } diff --git a/resources/items/energy_core_stabilizer.txt b/resources/items/energy_core_stabilizer.txt index 79d174d..242a92a 100644 --- a/resources/items/energy_core_stabilizer.txt +++ b/resources/items/energy_core_stabilizer.txt @@ -1,4 +1,6 @@ { - "name": "Energy Core Stabilizer", + +"type":"blocks", +"name": "Energy Core Stabilizer", "crafting": ["particle_generator", "Diamond", "Diamond", "Diamond", "Diamond"] } diff --git a/resources/items/eye_of_ender.txt b/resources/items/eye_of_ender.txt index c076cad..3996a2d 100644 --- a/resources/items/eye_of_ender.txt +++ b/resources/items/eye_of_ender.txt @@ -1,5 +1,7 @@ { - "name": "Eye of Ender", + +"type":"other", +"name": "Eye of Ender", "disabled": true, "crafting": ["ender_pearl", "blaze_powder"] } diff --git a/resources/items/glass_pane.txt b/resources/items/glass_pane.txt index abd7ca1..795ea8d 100644 --- a/resources/items/glass_pane.txt +++ b/resources/items/glass_pane.txt @@ -1,5 +1,7 @@ { - "name": "Glass Pane", + +"type":"other", +"name": "Glass Pane", "disabled": true, "count": 16, "crafting": ["Glass", "Glass", "Glass", "Glass", "Glass", "Glass"] diff --git a/resources/items/golden_apple.txt b/resources/items/golden_apple.txt index 7652814..fde823c 100644 --- a/resources/items/golden_apple.txt +++ b/resources/items/golden_apple.txt @@ -1,5 +1,7 @@ { - "name": "Golden Apple", + +"type":"other", +"name": "Golden Apple", "disabled": true, "crafting": ["apple", "Gold Ingot", "Gold Ingot", "Gold Ingot", "Gold Ingot", "Gold Ingot", "Gold Ingot", "Gold Ingot", "Gold Ingot"] } diff --git a/resources/items/nether_star.txt b/resources/items/nether_star.txt index b87405c..5461397 100644 --- a/resources/items/nether_star.txt +++ b/resources/items/nether_star.txt @@ -1,5 +1,7 @@ { - "name": "Nether Star", + +"type":"other", +"name": "Nether Star", "disabled": true, "crafting": ["Wither Skeleton Skull", "Wither Skeleton Skull", "Wither Skeleton Skull", "Soul Sand", "Soul Sand", "Soul Sand", "Soul Sand"] } diff --git a/resources/items/particle_generator.txt b/resources/items/particle_generator.txt index 86c4693..c9191e3 100644 --- a/resources/items/particle_generator.txt +++ b/resources/items/particle_generator.txt @@ -1,4 +1,6 @@ { - "name": "Particle Generator", + +"type":"blocks", +"name": "Particle Generator", "crafting": ["block_of_redstone", "block_of_redstone", "block_of_redstone", "block_of_redstone", "draconic_core", "Blaze Rod", "Blaze Rod", "Blaze Rod", "Blaze Rod"] } diff --git a/resources/items/pickaxe_of_the_wyvern.txt b/resources/items/pickaxe_of_the_wyvern.txt index fe388f1..a340364 100644 --- a/resources/items/pickaxe_of_the_wyvern.txt +++ b/resources/items/pickaxe_of_the_wyvern.txt @@ -1,4 +1,6 @@ { - "name": "Pickaxe of the Wyvern", + +"type":"tools", +"name": "Pickaxe of the Wyvern", "crafting": ["Diamond_pickaxe", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/shovel_of_the_wyvern.txt b/resources/items/shovel_of_the_wyvern.txt index 1624ffa..6d01f06 100644 --- a/resources/items/shovel_of_the_wyvern.txt +++ b/resources/items/shovel_of_the_wyvern.txt @@ -1,4 +1,6 @@ { - "name": "Shovel of the Wyvern", + +"type":"tools", +"name": "Shovel of the Wyvern", "crafting": ["Diamond_shovel", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/sword_of_the_wyvern.txt b/resources/items/sword_of_the_wyvern.txt index b54f27f..471b2d9 100644 --- a/resources/items/sword_of_the_wyvern.txt +++ b/resources/items/sword_of_the_wyvern.txt @@ -1,4 +1,6 @@ { - "name": "Sword of the Wyvern", + +"type":"tools", +"name": "Sword of the Wyvern", "crafting": ["Diamond_sword", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/wyvern_boots.txt b/resources/items/wyvern_boots.txt index 853fce7..9060f6f 100644 --- a/resources/items/wyvern_boots.txt +++ b/resources/items/wyvern_boots.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Boots", + +"type":"armor", +"name": "Wyvern Boots", "crafting": ["Diamond_boots", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/wyvern_chestplate.txt b/resources/items/wyvern_chestplate.txt index 2ec6944..2f00e8e 100644 --- a/resources/items/wyvern_chestplate.txt +++ b/resources/items/wyvern_chestplate.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Chestplate", + +"type":"armor", +"name": "Wyvern Chestplate", "crafting": ["Diamond_chestplate", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/wyvern_core.txt b/resources/items/wyvern_core.txt index de2fc3d..d7bfd5c 100644 --- a/resources/items/wyvern_core.txt +++ b/resources/items/wyvern_core.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Core", + +"type":"other", +"name": "Wyvern Core", "crafting": ["Draconium Ingot", "draconic_core", "Draconium Ingot", "draconic_core", "nether_star", "draconic_core", "Draconium Ingot", "draconic_core", "Draconium Ingot"] } diff --git a/resources/items/wyvern_energy_core.txt b/resources/items/wyvern_energy_core.txt index c821896..8a41737 100644 --- a/resources/items/wyvern_energy_core.txt +++ b/resources/items/wyvern_energy_core.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Energy Core", + +"type":"other", +"name": "Wyvern Energy Core", "crafting": ["Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "block_of_redstone", "block_of_redstone", "block_of_redstone", "block_of_redstone", "draconic_core"] } diff --git a/resources/items/wyvern_flux_capacitor.txt b/resources/items/wyvern_flux_capacitor.txt index 09fc8da..9950615 100644 --- a/resources/items/wyvern_flux_capacitor.txt +++ b/resources/items/wyvern_flux_capacitor.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Flux Capacitor", + +"type":"other", +"name": "Wyvern Flux Capacitor", "crafting": ["Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_energy_core", "wyvern_energy_core", "wyvern_energy_core", "wyvern_energy_core", "wyvern_core"] } diff --git a/resources/items/wyvern_fusion_crafting_injector.txt b/resources/items/wyvern_fusion_crafting_injector.txt index c98e2cd..fd49b9b 100644 --- a/resources/items/wyvern_fusion_crafting_injector.txt +++ b/resources/items/wyvern_fusion_crafting_injector.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Fusion Crafting Injector", - "crafting": ["block_of_Diamond", "block_of_Diamond", "block_of_Diamond", "block_of_Diamond", "basic_fusion_crafting_injector", "wyvern_core", "wyvern_core", "wyvern_energy_core", "wyvern_energy_core" ] + +"type":"blocks", +"name": "Wyvern Fusion Crafting Injector", + "crafting": ["Block of Diamond", "Block of Diamond", "Block of Diamond", "Block of Diamond", "basic_fusion_crafting_injector", "wyvern_core", "wyvern_core", "wyvern_energy_core", "wyvern_energy_core" ] } diff --git a/resources/items/wyvern_helm.txt b/resources/items/wyvern_helm.txt index 922e0a3..2e6cecb 100644 --- a/resources/items/wyvern_helm.txt +++ b/resources/items/wyvern_helm.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Helm", + +"type":"armor", +"name": "Wyvern Helm", "crafting": ["Diamond_helmet", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] } diff --git a/resources/items/wyvern_leggings.txt b/resources/items/wyvern_leggings.txt index 8e2ccc7..9a4b7dc 100644 --- a/resources/items/wyvern_leggings.txt +++ b/resources/items/wyvern_leggings.txt @@ -1,4 +1,6 @@ { - "name": "Wyvern Leggings", + +"type":"armor", +"name": "Wyvern Leggings", "crafting": ["Diamond_leggings", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "Draconium Ingot", "wyvern_core", "wyvern_energy_core"] }