Version 5.4
This commit is contained in:
43
minecraft/kubejs/server_scripts/mods/EnderIO/sagMill.js
Normal file
43
minecraft/kubejs/server_scripts/mods/EnderIO/sagMill.js
Normal file
@@ -0,0 +1,43 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
|
||||
function sagMill(input, energy, output) {
|
||||
allthemods.custom(
|
||||
{
|
||||
type: 'enderio:sag_milling',
|
||||
energy: energy,
|
||||
input: Ingredient.of(input).toJson(),
|
||||
outputs: [
|
||||
{
|
||||
item: {
|
||||
count: output.count,
|
||||
id: output.item
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
//sagMill(input, energy, output{item, count})
|
||||
sagMill('#ae2:all_certus_quartz',2400, {item: 'ae2:certus_quartz_dust', count: 1})
|
||||
sagMill('ae2:fluix_crystal', 2400, {item: 'ae2:fluix_dust', count: 1})
|
||||
sagMill('ae2:sky_stone_block', 2400, {item: 'ae2:sky_dust', count: 1})
|
||||
sagMill('#c:ender_pearls', 2400, {item: 'ae2:ender_dust', count: 1})
|
||||
|
||||
sagMill('#c:ores/mithril', 2400, {item: 'irons_spellbooks:raw_mithril', count:4})
|
||||
sagMill('#c:ores/black_quartz', 2400, {item: 'actuallyadditions:black_quartz', count:2})
|
||||
sagMill('#c:ores/uraninite_poor', 2400, {item: 'powah:uraninite_raw', count: 2})
|
||||
sagMill('#c:ores/uraninite_regular', 2400, {item: 'powah:uraninite_raw', count: 4})
|
||||
sagMill('#c:ores/uraninite_dense', 2400, {item: 'powah:uraninite_raw', count: 6})
|
||||
sagMill('#c:ores/bort', 2400, {item: 'silentgear:bort', count: 3})
|
||||
global.xycraftColours.forEach(colour => {
|
||||
sagMill(`#c:ores/xychorium_${colour}`, 2400, {item: `xycraft_world:xychorium_gem_${colour}`, count: 4})
|
||||
})
|
||||
allthemods.remove({id: 'enderio:sag_milling/ender_pearl'})
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
|
||||
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
|
||||
Reference in New Issue
Block a user