|
| 1 | + |
| 2 | +// Auto generated groovyscript example file |
| 3 | +// MODS_LOADED: armorplus |
| 4 | + |
| 5 | +log.info 'mod \'armorplus\' detected, running script' |
| 6 | + |
| 7 | +// Champion Bench: |
| 8 | +// A normal crafting recipe, but with a 9x9 grid and in the Champion Bench. |
| 9 | + |
| 10 | +// mods.armorplus.champion_bench.removeByOutput() |
| 11 | +// mods.armorplus.champion_bench.removeAll() |
| 12 | + |
| 13 | + |
| 14 | +mods.armorplus.champion_bench.shapedBuilder() |
| 15 | + .output(item('minecraft:stone') * 64) |
| 16 | + .matrix('DLLLLLDDD', |
| 17 | + ' DNIGIND', |
| 18 | + 'DDDNIGIND', |
| 19 | + ' DLLLLLD') |
| 20 | + .key('D', item('minecraft:diamond')) |
| 21 | + .key('L', item('minecraft:redstone')) |
| 22 | + .key('N', item('minecraft:stone')) |
| 23 | + .key('I', item('minecraft:iron_ingot')) |
| 24 | + .key('G', item('minecraft:gold_ingot')) |
| 25 | + .register() |
| 26 | + |
| 27 | + |
| 28 | +mods.armorplus.champion_bench.shapelessBuilder() |
| 29 | + .output(item('minecraft:clay') * 32) |
| 30 | + .input(item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond'), item('minecraft:diamond')) |
| 31 | + .register() |
| 32 | + |
| 33 | + |
| 34 | +// High-Tech Bench: |
| 35 | +// A normal crafting recipe, but with a 5x5 grid and in the High-Tech Bench. |
| 36 | + |
| 37 | +mods.armorplus.high_tech_bench.removeByOutput(item('armorplus:emerald_helmet')) |
| 38 | +// mods.armorplus.high_tech_bench.removeAll() |
| 39 | + |
| 40 | + |
| 41 | +mods.armorplus.high_tech_bench.shapedBuilder() |
| 42 | + .output(item('minecraft:diamond') * 32) |
| 43 | + .matrix([[item('minecraft:gold_ingot'), item('minecraft:gold_ingot'), item('minecraft:gold_ingot')], |
| 44 | + [item('minecraft:gold_ingot'), item('minecraft:gold_ingot'), item('minecraft:gold_ingot')], |
| 45 | + [item('minecraft:gold_ingot'), item('minecraft:gold_ingot'), item('minecraft:gold_ingot')]]) |
| 46 | + .register() |
| 47 | + |
| 48 | + |
| 49 | +mods.armorplus.high_tech_bench.shapelessBuilder() |
| 50 | + .output(item('minecraft:clay') * 8) |
| 51 | + .input(item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone')) |
| 52 | + .register() |
| 53 | + |
| 54 | + |
| 55 | +// Lava Infuser: |
| 56 | +// Convert input itemstack to output itemstack over a second, with the ability to reward a configurable amount of |
| 57 | +// experience based on the output itemstack. Consumes lava at a rate of 1 bucket per 10 seconds. |
| 58 | + |
| 59 | +mods.armorplus.lava_infuser.removeByInput(item('armorplus:lava_crystal')) |
| 60 | +mods.armorplus.lava_infuser.removeByOutput(item('armorplus:lava_infused_obsidian')) |
| 61 | +// mods.armorplus.lava_infuser.removeAll() |
| 62 | + |
| 63 | +mods.armorplus.lava_infuser.recipeBuilder() |
| 64 | + .input(item('minecraft:gold_ingot')) |
| 65 | + .output(item('minecraft:clay') * 2) |
| 66 | + .register() |
| 67 | + |
| 68 | +mods.armorplus.lava_infuser.recipeBuilder() |
| 69 | + .input(item('minecraft:clay')) |
| 70 | + .output(item('minecraft:diamond')) |
| 71 | + .experience(5.0d) |
| 72 | + .register() |
| 73 | + |
| 74 | + |
| 75 | +// Ultimate Bench: |
| 76 | +// A normal crafting recipe, but with a 7x7 grid and in the Ultimate Bench. |
| 77 | + |
| 78 | +mods.armorplus.ultimate_bench.removeByOutput(item('armorplus:the_ultimate_helmet')) |
| 79 | +// mods.armorplus.ultimate_bench.removeAll() |
| 80 | + |
| 81 | + |
| 82 | +mods.armorplus.ultimate_bench.shapedBuilder() |
| 83 | + .output(item('minecraft:diamond')) |
| 84 | + .matrix('BXXXBX') |
| 85 | + .mirrored() |
| 86 | + .key('B', item('minecraft:stone')) |
| 87 | + .key('X', item('minecraft:gold_ingot')) |
| 88 | + .register() |
| 89 | + |
| 90 | + |
| 91 | +mods.armorplus.ultimate_bench.shapelessBuilder() |
| 92 | + .output(item('minecraft:stone') * 64) |
| 93 | + .input(item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone')) |
| 94 | + .register() |
| 95 | + |
| 96 | + |
| 97 | +// WorkBench: |
| 98 | +// A normal crafting recipe, but with a 3x3 grid and in the WorkBench. |
| 99 | + |
| 100 | +mods.armorplus.work_bench.removeByOutput(item('armorplus:the_gift_of_the_gods')) |
| 101 | +// mods.armorplus.work_bench.removeAll() |
| 102 | + |
| 103 | + |
| 104 | +mods.armorplus.work_bench.shapedBuilder() |
| 105 | + .output(item('minecraft:stone') * 8) |
| 106 | + .matrix('BXX') |
| 107 | + .mirrored() |
| 108 | + .key('B', item('minecraft:stone')) |
| 109 | + .key('X', item('minecraft:gold_ingot')) |
| 110 | + .register() |
| 111 | + |
| 112 | + |
| 113 | +mods.armorplus.work_bench.shapelessBuilder() |
| 114 | + .output(item('minecraft:clay') * 8) |
| 115 | + .input(item('minecraft:stone'), item('minecraft:stone'), item('minecraft:stone')) |
| 116 | + .register() |
| 117 | + |
| 118 | + |
0 commit comments