Add Lightning Rod Recipe
All checks were successful
EnergonRelics/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-07-23 17:53:35 -04:00
parent c9fae65445
commit f11e346a27
4 changed files with 28 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public class HardcodedConfig {
public static final int BLOCK_BREAKER_TIME = 48; public static final int BLOCK_BREAKER_TIME = 48;
public static final Item BLOCK_BREAKER_ITEM = Items.IRON_PICKAXE; public static final Item BLOCK_BREAKER_ITEM = Items.IRON_PICKAXE;
public static final long LIGHTNING_ROD_ENERGY_OUTPUT = 50000; public static final long LIGHTNING_ROD_ENERGY_OUTPUT = 40000;
public static final double LIGHTNING_ROD_CHANCE = 0.00005d; public static final double LIGHTNING_ROD_CHANCE = 0.00005d;
public static final int LIGHTNING_ROD_COOLDOWN = 5; public static final int LIGHTNING_ROD_COOLDOWN = 5;
} }

View File

@ -24,7 +24,7 @@ public class DuplicateNetworkChipRecipe extends SpecialCraftingRecipe {
foundChip = true; foundChip = true;
} else if (stack.getItem() == EnergonRelics.CIRCUIT_BOARD_ITEM && !foundCircuit) { } else if (stack.getItem() == EnergonRelics.CIRCUIT_BOARD_ITEM && !foundCircuit) {
foundCircuit = true; foundCircuit = true;
} else { } else if (!stack.isEmpty()) {
return false; return false;
} }
} }

View File

@ -0,0 +1,3 @@
{
"type": "energonrelics:duplicate_network_chip"
}

View File

@ -0,0 +1,23 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
" R ",
" R ",
"B#B"
],
"key": {
"R": {
"item": "minecraft:blaze_rod"
},
"B": {
"item": "minecraft:polished_blackstone_bricks"
},
"#": {
"item": "energonrelics:circuit_board"
}
},
"result": {
"item": "energonrelics:lightning_rod",
"count": 1
}
}