forked from EXTERNAL/bareiron
fix 3x3 ore block recipes
This commit is contained in:
@@ -347,7 +347,12 @@ async function convert () {
|
|||||||
itemsAndBlocks.blockRegistry["redstone_ore"],
|
itemsAndBlocks.blockRegistry["redstone_ore"],
|
||||||
itemsAndBlocks.blockRegistry["iron_ore"],
|
itemsAndBlocks.blockRegistry["iron_ore"],
|
||||||
itemsAndBlocks.blockRegistry["coal_ore"],
|
itemsAndBlocks.blockRegistry["coal_ore"],
|
||||||
itemsAndBlocks.blockRegistry["furnace"]
|
itemsAndBlocks.blockRegistry["furnace"],
|
||||||
|
itemsAndBlocks.blockRegistry["iron_block"],
|
||||||
|
itemsAndBlocks.blockRegistry["gold_block"],
|
||||||
|
itemsAndBlocks.blockRegistry["diamond_block"],
|
||||||
|
itemsAndBlocks.blockRegistry["redstone_block"],
|
||||||
|
itemsAndBlocks.blockRegistry["coal_block"]
|
||||||
],
|
],
|
||||||
"mineable/axe": [
|
"mineable/axe": [
|
||||||
itemsAndBlocks.blockRegistry["oak_log"],
|
itemsAndBlocks.blockRegistry["oak_log"],
|
||||||
|
@@ -242,11 +242,11 @@ void getCraftingOutput (PlayerData *player, uint8_t *count, uint16_t *item) {
|
|||||||
case 9:
|
case 9:
|
||||||
// Uniform 3x3 shaped recipes
|
// Uniform 3x3 shaped recipes
|
||||||
if (identical) switch (first_item) {
|
if (identical) switch (first_item) {
|
||||||
case I_iron_ingot: *item = I_iron_block; *count = 1; break;
|
case I_iron_ingot: *item = I_iron_block; *count = 1; return;
|
||||||
case I_gold_ingot: *item = I_gold_block; *count = 1; break;
|
case I_gold_ingot: *item = I_gold_block; *count = 1; return;
|
||||||
case I_diamond: *item = I_diamond_block; *count = 1; break;
|
case I_diamond: *item = I_diamond_block; *count = 1; return;
|
||||||
case I_redstone: *item = I_redstone_block; *count = 1; break;
|
case I_redstone: *item = I_redstone_block; *count = 1; return;
|
||||||
case I_coal: *item = I_coal_block; *count = 1; break;
|
case I_coal: *item = I_coal_block; *count = 1; return;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user