generated from CleanroomMC/TemplateDevEnv
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/master' into 174
# Conflicts: # src/main/java/net/prominic/groovyls/compiler/util/GroovyASTUtils.java
- Loading branch information
Showing
316 changed files
with
5,103 additions
and
2,530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
|
||
// Auto generated groovyscript example file | ||
// MODS_LOADED: industrialforegoing | ||
|
||
import net.minecraft.potion.PotionEffect | ||
|
||
println 'mod \'industrialforegoing\' detected, running script' | ||
|
||
// Bioreactor: | ||
// Converts an input item into Biofuel, with the amount of Biofuel generated being based on the number of concurrent | ||
// conversion processes inside the Bioreactor. | ||
|
||
mods.industrialforegoing.bio_reactor.removeByInput(item('minecraft:wheat_seeds')) | ||
// mods.industrialforegoing.bio_reactor.removeAll() | ||
|
||
mods.industrialforegoing.bio_reactor.add(item('minecraft:clay')) | ||
|
||
// Latex Extractor: | ||
// Converts an input block in-world into a fluidstack over time, eventually breaking the block. | ||
|
||
mods.industrialforegoing.extractor.removeByInput(item('minecraft:log2:1')) | ||
// mods.industrialforegoing.extractor.removeByOutput(fluid('latex')) | ||
// mods.industrialforegoing.extractor.removeAll() | ||
|
||
mods.industrialforegoing.extractor.add(item('minecraft:clay'), fluid('lava') * 50) | ||
mods.industrialforegoing.extractor.add(item('minecraft:stone'), fluid('water') * 100, 1) | ||
|
||
// Fluid Dictionary Converter: | ||
// Converts one fluid into another fluid at a given ratio. | ||
|
||
// mods.industrialforegoing.fluid_dictionary.removeByInput(fluid('essence')) | ||
// mods.industrialforegoing.fluid_dictionary.removeByOutput(fluid(essence')) | ||
// mods.industrialforegoing.fluid_dictionary.removeAll() | ||
|
||
mods.industrialforegoing.fluid_dictionary.add(fluid('biofuel'), fluid('latex'),) | ||
mods.industrialforegoing.fluid_dictionary.add(fluid('latex'), fluid('biofuel'),) | ||
mods.industrialforegoing.fluid_dictionary.add(fluid('essence'), fluid('latex'), 2) | ||
mods.industrialforegoing.fluid_dictionary.add(fluid('latex'), fluid('essence'), 0.5) | ||
|
||
// Laser Drill: | ||
// Converts power into ores, with a given weight, between a minimum and maximum Y value, in any whitelisted biome or not in | ||
// any blacklisted biome, and with a specific color of laser lens impacting the probability. | ||
|
||
mods.industrialforegoing.laser_drill.removeByBlacklist(biome('minecraft:sky')) | ||
mods.industrialforegoing.laser_drill.removeByLens(5) | ||
// mods.industrialforegoing.laser_drill.removeByLens(item('industrialforegoing:laser_lens:5')) | ||
mods.industrialforegoing.laser_drill.removeByOutput(item('minecraft:coal_ore')) | ||
mods.industrialforegoing.laser_drill.removeByWhitelist(biome('minecraft:hell')) | ||
// mods.industrialforegoing.laser_drill.removeAll() | ||
|
||
mods.industrialforegoing.laser_drill.recipeBuilder() | ||
.output(item('minecraft:clay')) | ||
.lensMeta(5) | ||
.weight(100) | ||
.register() | ||
|
||
|
||
// Fermentation Station: | ||
// Converts an input fluidstack into an output fluidstack. | ||
|
||
mods.industrialforegoing.ore_fermenter.removeByInput(fluid('if.ore_fluid_raw').withNbt([Ore: 'oreRedstone'])) | ||
// mods.industrialforegoing.ore_fermenter.removeByOutput(fluid('if.ore_fluid_fermented').withNbt([Ore: 'oreRedstone'])) | ||
// mods.industrialforegoing.ore_fermenter.removeAll() | ||
|
||
mods.industrialforegoing.ore_fermenter.add(fluid('if.ore_fluid_raw').withNbt(['Ore': 'oreGold']), fluid('if.ore_fluid_fermented').withNbt(['Ore': 'oreGold']) * 2) | ||
|
||
// Washing Factory: | ||
// Converts an input itemstack and input fluidstack into an output fluidstack. | ||
|
||
// mods.industrialforegoing.ore_raw.removeByInput(fluid('meat')) | ||
mods.industrialforegoing.ore_raw.removeByOre(ore('oreRedstone')) | ||
// mods.industrialforegoing.ore_raw.removeByOre('oreRedstone') | ||
// mods.industrialforegoing.ore_raw.removeByOutput(fluid('if.ore_fluid_raw').withNbt(['Ore': 'oreRedstone']),) | ||
// mods.industrialforegoing.ore_raw.removeAll() | ||
|
||
mods.industrialforegoing.ore_raw.add(ore('stone'), fluid('water') * 1000, fluid('lava') * 50) | ||
mods.industrialforegoing.ore_raw.add(ore('oreGold'), fluid('meat') * 200, fluid('if.ore_fluid_raw').withNbt(['Ore': 'oreGold']) * 300) | ||
|
||
// Fluid Sieving Machine: | ||
// Converts an input itemstack and input fluidstack into an output itemstack. | ||
|
||
mods.industrialforegoing.ore_sieve.removeByInput(fluid('if.pink_slime')) | ||
mods.industrialforegoing.ore_sieve.removeByInput(item('minecraft:sand')) | ||
// mods.industrialforegoing.ore_sieve.removeByOutput(item('industrialforegoing:pink_slime_ingot) | ||
// mods.industrialforegoing.ore_sieve.removeAll() | ||
|
||
mods.industrialforegoing.ore_sieve.add(fluid('lava') * 5, item('minecraft:gold_ingot'), item('minecraft:clay')) | ||
mods.industrialforegoing.ore_sieve.add(fluid('if.ore_fluid_fermented').withNbt(['Ore': 'oreGold']) * 100, item('minecraft:nether_star') * 2, item('minecraft:clay')) | ||
|
||
// Protein Reactor: | ||
// Converts an input item into Protein, with the amount of Protein generated being based on the number of concurrent | ||
// conversion processes inside the Protein Reactor. | ||
|
||
mods.industrialforegoing.protein_reactor.removeByInput(item('minecraft:porkchop')) | ||
// mods.industrialforegoing.protein_reactor.removeAll() | ||
|
||
mods.industrialforegoing.protein_reactor.add(item('minecraft:clay')) | ||
|
||
// Sludge Refiner: | ||
// Converts 1000mb of Sludge into a random itemstack based on the weight of the given itemstack. | ||
|
||
mods.industrialforegoing.sludge_refiner.removeByOutput(item('minecraft:clay_ball')) | ||
// mods.industrialforegoing.sludge_refiner.removeAll() | ||
|
||
mods.industrialforegoing.sludge_refiner.add(item('minecraft:gold_ingot'), 5) | ||
|
||
// Straw: | ||
// Converts an fluid block in-world into various effects for the player when consumed via a straw. | ||
|
||
// mods.industrialforegoing.straw.removeAll() | ||
|
||
mods.industrialforegoing.straw.recipeBuilder() | ||
.fluidInput(fluid('if.pink_slime')) | ||
.effect(new PotionEffect(potion('minecraft:strength'), 1800, 3)) | ||
.register() | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
|
||
// Auto generated groovyscript example file | ||
// MODS_LOADED: threng | ||
|
||
println 'mod \'threng\' detected, running script' | ||
|
||
// Fluix Aggregation: | ||
// Converts up to 3 input itemstacks into an output itemstack. | ||
|
||
mods.threng.aggregator.removeByInput(item('appliedenergistics2:material:45')) | ||
mods.threng.aggregator.removeByOutput(item('appliedenergistics2:material:7')) | ||
// mods.threng.aggregator.removeAll() | ||
|
||
mods.threng.aggregator.recipeBuilder() | ||
.input(ore('blockGlass'), item('minecraft:diamond')) | ||
.output(item('minecraft:diamond') * 4) | ||
.register() | ||
|
||
mods.threng.aggregator.recipeBuilder() | ||
.input(item('minecraft:gold_ingot')) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
|
||
// Pulse Centrifuge: | ||
// Converts 1 input itemstack into an output itemstack. | ||
|
||
mods.threng.centrifuge.removeByInput(item('appliedenergistics2:material')) | ||
mods.threng.centrifuge.removeByOutput(item('appliedenergistics2:material:4')) | ||
// mods.threng.centrifuge.removeAll() | ||
|
||
mods.threng.centrifuge.recipeBuilder() | ||
.input(ore('blockGlass')) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
mods.threng.centrifuge.recipeBuilder() | ||
.input(item('minecraft:gold_ingot')) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
|
||
// Crystal Energization: | ||
// Converts 1 input itemstack into an output itemstack, consuming a set amount of energy. | ||
|
||
// mods.threng.energizer.removeByInput(item('appliedenergistics2:material')) | ||
mods.threng.energizer.removeByOutput(item('appliedenergistics2:material:1')) | ||
// mods.threng.energizer.removeAll() | ||
|
||
mods.threng.energizer.recipeBuilder() | ||
.input(ore('blockGlass')) | ||
.energy(50) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
mods.threng.energizer.recipeBuilder() | ||
.input(item('minecraft:gold_ingot')) | ||
.energy(10000) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
|
||
// ME Circuit Etching: | ||
// Converts up to 3 input itemstacks from specific slots into an output itemstack. | ||
|
||
mods.threng.etcher.removeByInput(item('minecraft:diamond')) | ||
mods.threng.etcher.removeByOutput(item('appliedenergistics2:material:22')) | ||
// mods.threng.etcher.removeAll() | ||
|
||
mods.threng.etcher.recipeBuilder() | ||
.input(ore('blockGlass')) | ||
.top(item('minecraft:diamond')) | ||
.bottom(item('minecraft:clay')) | ||
.output(item('minecraft:diamond') * 5) | ||
.register() | ||
|
||
mods.threng.etcher.recipeBuilder() | ||
.input(item('minecraft:gold_ingot')) | ||
.output(item('minecraft:diamond')) | ||
.register() | ||
|
||
|
Oops, something went wrong.