Publish ATM10 - InA 1.0.0

This commit is contained in:
artanis committed 2026-09-29 13:50:43 -05:00
commit 8f010ce745
3898 files changed
+398052

No files matched your search

@@ -0,0 +1,127 @@
const inputResource = [
{material: 'unobtainium', out3: null, modID: 'allthemodium:'},
{material: 'vibranium', out3: null, modID: 'allthemodium:'},
{material: 'allthemodium', out3: null, modID: 'allthemodium:'},
{material: 'crimson_iron', out3: null, modID: 'silentgear:'},
{material: 'azure_silver', out3: null, modID: 'silentgear:'},
{material: 'blaze_gold', out3: null, modID: 'silentgear:'},
{material: 'azure_electrum', out3: null, modID: 'silentgear:'},
{material: 'crimson_steel', out3: null, modID: 'silentgear:'},
]
ServerEvents.recipes(allthemods => {
inputResource.forEach(sag => {
let outID = ''
//raw material sagging with sideproducts
if(sag.out3 !== null){
if(Item.exists(`${sag.modID}raw_${sag.material}`) && Item.exists(`${sag.modID}${sag.material}_dust`)){
if(!allthemods.countRecipes({ input: `#c:raw_materials/${sag.material}`, type: `enderio:sag_milling`})){
allthemods.custom({
type: 'enderio:sag_milling',
energy: 2400,
input: {
tag: `c:raw_materials/${sag.material}`
},
outputs: [
{
item: {
count: 1,
id: `${sag.modID}${sag.material}_dust`
}
},
{
chance: 0.25,
item: {
count: 1,
id: `${sag.modID}${sag.material}_dust`
}
},
{
chance: sag.out3.chance,
item: {
count: sag.out3.count,
id: `${sag.modID}${sag.out3.resource}`
}
}
]
}).id(`sag_milling/raw_${sag.material}`)}}}
//raw material sagging without sideproducts
else{
if(Item.exists(`${sag.modID}raw_${sag.material}`) && Item.exists(`${sag.modID}${sag.material}_dust`)){
if(!allthemods.countRecipes({ input: `#c:raw_materials/${sag.material}`, type: `enderio:sag_milling`})){
allthemods.custom({
type: 'enderio:sag_milling',
energy: 2400,
input: {
tag: `c:raw_materials/${sag.material}`
},
outputs: [
{
item: {
count: 1,
id: `${sag.modID}${sag.material}_dust`
}
},
{
chance: 0.25,
item: {
count: 1,
id: `${sag.modID}${sag.material}_dust`
}
}
]
}).id(`sag_milling/raw_${sag.material}`)}}}
//ore sagging
if(Item.exists(`${sag.modID}${sag.material}_ore`) && Item.exists(`${sag.modID}raw_${sag.material}`)){
if(!allthemods.countRecipes({ input: `#c:ores/${sag.material}`, type: `enderio:sag_milling`})){
allthemods.custom({
type: 'enderio:sag_milling',
energy: 2400,
input: {
tag: `c:ores/${sag.material}`
},
outputs: [
{
item: {
count: 1,
id: `${sag.modID}raw_${sag.material}`
}
},
{
chance: 0.33,
item: {
count: 1,
id: `${sag.modID}raw_${sag.material}`
}
},
{
chance: 0.15,
item: {
count: 1,
id: `minecraft:cobblestone`
}
}
]
}).id(`sag_milling/${sag.material}_ore`)}}
//ingot sagging
if(Item.exists(`${sag.modID}${sag.material}_ingot`) && Item.exists(`${sag.modID}${sag.material}_dust`)){
if(!allthemods.countRecipes({ input: `#c:ingots/${sag.material}`, type: `enderio:sag_milling`})){
allthemods.custom({
type: 'enderio:sag_milling',
bonus: "none",
energy: 2400,
input: {
tag: `c:ingots/${sag.material}`
},
outputs: [
{
item: {
count: 1,
id: `${sag.modID}${sag.material}_dust`
}
}
]
}).id(`sag_milling/${sag.material}_ingot`)}}
})
})
@@ -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.