|
| 1 | + |
| 2 | +// Auto generated groovyscript example file |
| 3 | +// MODS_LOADED: thebetweenlands |
| 4 | + |
| 5 | +log.info 'mod \'thebetweenlands\' detected, running script' |
| 6 | + |
| 7 | +// Animator: |
| 8 | +// Converts an input item, Life amount from Life Crystals, and Fuel from Sulfur into an output itemstack, summoning an |
| 9 | +// entity, a random item from a loottable, or summoning an entity and outputting an itemstack. |
| 10 | + |
| 11 | +mods.thebetweenlands.animator.removeByEntity(entity('thebetweenlands:sporeling')) |
| 12 | +mods.thebetweenlands.animator.removeByInput(item('thebetweenlands:bone_leggings')) |
| 13 | +mods.thebetweenlands.animator.removeByLootTable(resource('thebetweenlands:animator/scroll')) |
| 14 | +mods.thebetweenlands.animator.removeByOutput(item('thebetweenlands:items_misc:46')) |
| 15 | +// mods.thebetweenlands.animator.removeAll() |
| 16 | + |
| 17 | +mods.thebetweenlands.animator.recipeBuilder() |
| 18 | + .input(item('minecraft:clay')) |
| 19 | + .output(item('minecraft:diamond')) |
| 20 | + .life(1) |
| 21 | + .fuel(1) |
| 22 | + .register() |
| 23 | + |
| 24 | +mods.thebetweenlands.animator.recipeBuilder() |
| 25 | + .input(item('minecraft:gold_ingot')) |
| 26 | + .lootTable(resource('minecraft:entities/zombie')) |
| 27 | + .life(5) |
| 28 | + .fuel(1) |
| 29 | + .register() |
| 30 | + |
| 31 | +mods.thebetweenlands.animator.recipeBuilder() |
| 32 | + .input(item('minecraft:gold_block')) |
| 33 | + .entity(entity('minecraft:zombie').getEntityClass()) |
| 34 | + .life(1) |
| 35 | + .fuel(5) |
| 36 | + .register() |
| 37 | + |
| 38 | +mods.thebetweenlands.animator.recipeBuilder() |
| 39 | + .input(item('minecraft:diamond')) |
| 40 | + .entity(entity('minecraft:enderman')) |
| 41 | + .output(item('minecraft:clay')) |
| 42 | + .life(3) |
| 43 | + .fuel(10) |
| 44 | + .register() |
| 45 | + |
| 46 | + |
| 47 | +// Compost: |
| 48 | +// Converts an input itemstack into an amount of compost. |
| 49 | + |
| 50 | +mods.thebetweenlands.compost.removeByInput(item('thebetweenlands:items_misc:13')) |
| 51 | +// mods.thebetweenlands.compost.removeAll() |
| 52 | + |
| 53 | +mods.thebetweenlands.compost.recipeBuilder() |
| 54 | + .input(item('minecraft:clay')) |
| 55 | + .amount(20) |
| 56 | + .time(30) |
| 57 | + .register() |
| 58 | + |
| 59 | +mods.thebetweenlands.compost.recipeBuilder() |
| 60 | + .input(item('minecraft:gold_ingot')) |
| 61 | + .amount(1) |
| 62 | + .time(5) |
| 63 | + .register() |
| 64 | + |
| 65 | + |
| 66 | +// Crab Pot Filter Bubbler: |
| 67 | +// Converts an input item into an output itemstack when a Bubbler Crab is placed inside a Crab Pot Filter. |
| 68 | + |
| 69 | +mods.thebetweenlands.crab_pot_filter_bubbler.removeByInput(item('thebetweenlands:silt')) |
| 70 | +mods.thebetweenlands.crab_pot_filter_bubbler.removeByOutput(item('thebetweenlands:swamp_dirt')) |
| 71 | +// mods.thebetweenlands.crab_pot_filter_bubbler.removeAll() |
| 72 | + |
| 73 | +mods.thebetweenlands.crab_pot_filter_bubbler.recipeBuilder() |
| 74 | + .input(item('minecraft:clay')) |
| 75 | + .output(item('minecraft:diamond')) |
| 76 | + .register() |
| 77 | + |
| 78 | +mods.thebetweenlands.crab_pot_filter_bubbler.recipeBuilder() |
| 79 | + .input(item('minecraft:gold_ingot')) |
| 80 | + .output(item('minecraft:clay')) |
| 81 | + .register() |
| 82 | + |
| 83 | + |
| 84 | +// Crab Pot Filter Silt: |
| 85 | +// Converts an input item into an output itemstack when a Silt Crab is placed inside a Crab Pot Filter. |
| 86 | + |
| 87 | +mods.thebetweenlands.crab_pot_filter_silt.removeByInput(item('thebetweenlands:mud')) |
| 88 | +mods.thebetweenlands.crab_pot_filter_silt.removeByOutput(item('thebetweenlands:mud')) |
| 89 | +// mods.thebetweenlands.crab_pot_filter_silt.removeAll() |
| 90 | + |
| 91 | +mods.thebetweenlands.crab_pot_filter_silt.recipeBuilder() |
| 92 | + .input(item('minecraft:clay')) |
| 93 | + .output(item('minecraft:diamond')) |
| 94 | + .register() |
| 95 | + |
| 96 | +mods.thebetweenlands.crab_pot_filter_silt.recipeBuilder() |
| 97 | + .input(item('minecraft:gold_ingot')) |
| 98 | + .output(item('minecraft:clay')) |
| 99 | + .register() |
| 100 | + |
| 101 | + |
| 102 | +// Druid Altar: |
| 103 | +// Converts 4 input items into an output itemstack. |
| 104 | + |
| 105 | +// mods.thebetweenlands.druid_altar.removeByInput(item('thebetweenlands:swamp_talisman:1')) |
| 106 | +mods.thebetweenlands.druid_altar.removeByOutput(item('thebetweenlands:swamp_talisman')) |
| 107 | +// mods.thebetweenlands.druid_altar.removeAll() |
| 108 | + |
| 109 | +mods.thebetweenlands.druid_altar.recipeBuilder() |
| 110 | + .input(item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay')) |
| 111 | + .output(item('minecraft:diamond')) |
| 112 | + .register() |
| 113 | + |
| 114 | +mods.thebetweenlands.druid_altar.recipeBuilder() |
| 115 | + .input(item('minecraft:diamond'), item('minecraft:gold_block'), item('minecraft:gold_ingot'), item('minecraft:clay')) |
| 116 | + .output(item('minecraft:clay')) |
| 117 | + .register() |
| 118 | + |
| 119 | + |
| 120 | +// Pestle And Mortar: |
| 121 | +// Converts an input item into an output itemstack in a Pestle and Mortar by using a Pestle tool in the Mortar. |
| 122 | + |
| 123 | +mods.thebetweenlands.pestle_and_mortar.removeByInput(item('thebetweenlands:limestone')) |
| 124 | +mods.thebetweenlands.pestle_and_mortar.removeByOutput(item('thebetweenlands:fish_bait')) |
| 125 | +// mods.thebetweenlands.pestle_and_mortar.removeAll() |
| 126 | + |
| 127 | +mods.thebetweenlands.pestle_and_mortar.recipeBuilder() |
| 128 | + .input(item('minecraft:clay')) |
| 129 | + .output(item('minecraft:diamond')) |
| 130 | + .register() |
| 131 | + |
| 132 | +mods.thebetweenlands.pestle_and_mortar.recipeBuilder() |
| 133 | + .input(item('minecraft:gold_ingot')) |
| 134 | + .output(item('minecraft:clay')) |
| 135 | + .register() |
| 136 | + |
| 137 | + |
| 138 | +// Purifier: |
| 139 | +// Converts an input item into an output itemstack, consuming Sulfur and Swamp Water as fuel. |
| 140 | + |
| 141 | +mods.thebetweenlands.purifier.removeByInput(item('thebetweenlands:items_misc:64')) |
| 142 | +mods.thebetweenlands.purifier.removeByOutput(item('thebetweenlands:cragrock')) |
| 143 | +// mods.thebetweenlands.purifier.removeAll() |
| 144 | + |
| 145 | +mods.thebetweenlands.purifier.recipeBuilder() |
| 146 | + .input(item('minecraft:clay')) |
| 147 | + .output(item('minecraft:diamond')) |
| 148 | + .register() |
| 149 | + |
| 150 | +mods.thebetweenlands.purifier.recipeBuilder() |
| 151 | + .input(item('minecraft:gold_ingot')) |
| 152 | + .output(item('minecraft:clay')) |
| 153 | + .register() |
| 154 | + |
| 155 | + |
| 156 | +// Smoking Rack: |
| 157 | +// Converts an input item into an output itemstack over a configurable period of time, consuming Fallen Leaves to do so. |
| 158 | + |
| 159 | +mods.thebetweenlands.smoking_rack.removeByInput(item('thebetweenlands:anadia')) |
| 160 | +mods.thebetweenlands.smoking_rack.removeByOutput(item('thebetweenlands:barnacle_smoked')) |
| 161 | +// mods.thebetweenlands.smoking_rack.removeAll() |
| 162 | + |
| 163 | +mods.thebetweenlands.smoking_rack.recipeBuilder() |
| 164 | + .input(item('minecraft:clay')) |
| 165 | + .output(item('minecraft:diamond')) |
| 166 | + .register() |
| 167 | + |
| 168 | +mods.thebetweenlands.smoking_rack.recipeBuilder() |
| 169 | + .input(item('minecraft:gold_ingot')) |
| 170 | + .output(item('minecraft:clay')) |
| 171 | + .time(50) |
| 172 | + .register() |
| 173 | + |
| 174 | + |
| 175 | +// Steeping Pot: |
| 176 | +// Converts a 1,000mb of fluid into either 1,000mb of a fluid, an output itemstack, or both, consuming up to 4 items from a |
| 177 | +// Silk Bundle placed inside the Steeping Pot to do so. The Silk Bundle is converted into a Dirty Silk Bundle in the |
| 178 | +// process. The Silk Bundle can only hold specific items, which are also configurable. |
| 179 | + |
| 180 | +mods.thebetweenlands.steeping_pot.removeAcceptedItem(item('thebetweenlands:items_crushed:5')) |
| 181 | +mods.thebetweenlands.steeping_pot.removeByInput(fluid('clean_water')) |
| 182 | +mods.thebetweenlands.steeping_pot.removeByInput(item('thebetweenlands:items_crushed:13')) |
| 183 | +mods.thebetweenlands.steeping_pot.removeByOutput(fluid('dye_fluid').withNbt(['type': 14])) |
| 184 | +// mods.thebetweenlands.steeping_pot.removeByOutput(item('thebetweenlands:limestone')) |
| 185 | +// mods.thebetweenlands.steeping_pot.removeAll() |
| 186 | +// mods.thebetweenlands.steeping_pot.removeAllAcceptedItem() |
| 187 | + |
| 188 | +mods.thebetweenlands.steeping_pot.recipeBuilder() |
| 189 | + .input(item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay')) |
| 190 | + .fluidInput(fluid('lava')) |
| 191 | + .fluidOutput(fluid('water')) |
| 192 | + .register() |
| 193 | + |
| 194 | +mods.thebetweenlands.steeping_pot.recipeBuilder() |
| 195 | + .input(item('minecraft:diamond')) |
| 196 | + .fluidInput(fluid('lava')) |
| 197 | + .fluidOutput(fluid('dye_fluid')) |
| 198 | + .meta(5) |
| 199 | + .register() |
| 200 | + |
| 201 | +mods.thebetweenlands.steeping_pot.recipeBuilder() |
| 202 | + .input(item('minecraft:emerald')) |
| 203 | + .fluidInput(fluid('lava')) |
| 204 | + .fluidOutput(fluid('water')) |
| 205 | + .register() |
| 206 | + |
| 207 | + |
| 208 | +mods.thebetweenlands.steeping_pot.addAcceptedItem(item('minecraft:gold_block')) |
| 209 | + |
0 commit comments