Version 5.4
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
// 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 awakenedEssenceCrafting(essenceCount, input, ingredients, result){
|
||||
allthemods.custom(
|
||||
{
|
||||
"type": "mysticalagriculture:awakening",
|
||||
"essences": [
|
||||
{
|
||||
"id": "mysticalagriculture:air_essence",
|
||||
"count": essenceCount
|
||||
},
|
||||
{
|
||||
"id": "mysticalagriculture:earth_essence",
|
||||
"count": essenceCount
|
||||
},
|
||||
{
|
||||
"id": "mysticalagriculture:water_essence",
|
||||
"count": essenceCount
|
||||
},
|
||||
{
|
||||
"id": "mysticalagriculture:fire_essence",
|
||||
"count": essenceCount
|
||||
}
|
||||
],
|
||||
"input": {
|
||||
"item": input
|
||||
},
|
||||
"ingredients": [
|
||||
{
|
||||
"item": ingredients.item1
|
||||
},
|
||||
{
|
||||
"item": ingredients.item2
|
||||
},
|
||||
{
|
||||
"item": ingredients.item3
|
||||
},
|
||||
{
|
||||
"item": ingredients.item4
|
||||
}
|
||||
],
|
||||
"result": {
|
||||
"id": result
|
||||
}
|
||||
}
|
||||
).id('allthemods:mysticalagriculture/awakening/' + result.split(':').pop());
|
||||
}
|
||||
|
||||
allthemods.remove({output: 'reliquary:fertile_lily_pad'})
|
||||
awakenedEssenceCrafting(40, 'minecraft:lily_pad', {item1: 'allthemodium:vibranium_plate', item2: 'reliquary:fertile_essence', item3: 'reliquary:fertile_essence', item4: 'reliquary:fertile_essence'}, 'reliquary:fertile_lily_pad')
|
||||
})
|
||||
|
||||
// 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.
|
||||
@@ -0,0 +1,166 @@
|
||||
//ingots to be switched to tags
|
||||
const ingots = [
|
||||
{resource: 'aluminum', essence: 'prudentium'},
|
||||
{resource: 'copper', essence: 'tertium'},
|
||||
{resource: 'iron', essence: 'tertium'},
|
||||
{resource: 'zinc', essence: 'tertium'},
|
||||
{resource: 'silver', essence: 'tertium'},
|
||||
{resource: 'lead', essence: 'tertium'},
|
||||
//{resource: 'brass', essence: 'tertium'},
|
||||
//{resource: 'bronze', essence: 'tertium'},
|
||||
{resource: 'tin', essence: 'tertium'},
|
||||
{resource: 'nickel', essence: 'imperium'},
|
||||
{resource: 'uranium', essence: 'imperium'},
|
||||
{resource: 'gold', essence: 'imperium'},
|
||||
{resource: 'osmium', essence: 'imperium'},
|
||||
//{resource: 'invar', essence: 'imperium'},
|
||||
{resource: 'iridium', essence: 'supremium'},
|
||||
{resource: 'platinum', essence: 'supremium'}
|
||||
]
|
||||
|
||||
//resources to use blocks instead of ingots
|
||||
const useBlocks = [
|
||||
{resource:"steel", essence:"imperium"},
|
||||
{resource:"bronze", essence:"tertium"},
|
||||
{resource:"brass", essence:"tertium", block:"alltheores:brass_block"},
|
||||
{resource:"nitro_crystal", essence:"insanium"},
|
||||
{resource:"spirited_crystal", essence:"supremium"},
|
||||
{resource:"niotic_crystal", essence:"supremium"},
|
||||
{resource:"blazing_crystal", essence:"imperium"},
|
||||
{resource:"energized_steel", essence:"imperium"},
|
||||
{resource:"certus_quartz", essence:"tertium", block:"ae2:quartz_block"},
|
||||
{resource:"fluix", essence:"imperium", block:"ae2:fluix_block"},
|
||||
{resource:"soularium", essence:"imperium"},
|
||||
{resource:"conductive_alloy", essence:"tertium"},
|
||||
{resource:"copper_alloy", essence:"tertium"},
|
||||
{resource:"end_steel", essence:"supremium"},
|
||||
{resource:"redstone_alloy", essence:"tertium"},
|
||||
{resource:"vibrant_alloy", essence:"supremium"},
|
||||
{resource:"dark_steel", essence:"imperium"},
|
||||
{resource:"pulsating_alloy", essence:"imperium"},
|
||||
{resource:"energetic_alloy", essence:"imperium"},
|
||||
{resource:"refined_glowstone", essence:"imperium", block:"mekanism:block_refined_glowstone"},
|
||||
{resource:"refined_obsidian", essence:"imperium", block:"mekanism:block_refined_obsidian"},
|
||||
{resource:"constantan", essence:"imperium"},
|
||||
{resource:"cyanite", essence:"supremium", block:"bigreactors:cyanite_block"},
|
||||
{resource:"graphite", essence:"tertium", block:"bigreactors:graphite_block"},
|
||||
{resource:"compressed_iron", essence:"imperium"},
|
||||
{resource:"electrum", essence:"imperium"},
|
||||
{resource:"invar", essence: "imperium"}
|
||||
]
|
||||
|
||||
//dusts to be switched to tags
|
||||
const dusts = [
|
||||
{resource: 'sulfur', essence: 'prudentium'},
|
||||
{resource: 'saltpeter', essence: 'prudentium'},
|
||||
|
||||
]
|
||||
|
||||
//gems to be switched to tags
|
||||
const gems = [
|
||||
{resource: 'quartz', essence: 'tertium', seed: 'nether_quartz'},
|
||||
{resource: 'fluorite', essence: 'imperium', seed: undefined},
|
||||
{resource: 'peridot', essence: 'imperium', seed: undefined},
|
||||
{resource: 'ruby', essence: 'imperium', seed: undefined},
|
||||
{resource: 'sapphire', essence: 'imperium', seed: undefined}
|
||||
]
|
||||
|
||||
//ingredients in a different format to use tags
|
||||
const different = [
|
||||
{tag: 'minecraft:logs', essence: 'inferium', seed: 'wood'},
|
||||
{tag: 'c:silicon', essence: 'prudentium', seed: 'silicon'}
|
||||
]
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
|
||||
function mysticalTags(material, tag, tags){
|
||||
|
||||
let recipeEssence = ''
|
||||
let recipeTag = ''
|
||||
let recipeSeed = ''
|
||||
|
||||
//for ingredients in a different format
|
||||
if(tags === 'different'){
|
||||
recipeEssence = (`mysticalagriculture:${material.essence}_essence`)
|
||||
recipeTag = material.tag
|
||||
recipeSeed = (`mysticalagriculture:${material.seed}_seeds`)
|
||||
}
|
||||
//for ingots/gems (and probably dusts)
|
||||
else{
|
||||
recipeEssence = (`mysticalagriculture:${material.essence}_essence`)
|
||||
recipeTag = (`${tag}${material.resource}`)
|
||||
if(material.seed !== undefined){recipeSeed = (`mysticalagriculture:${material.seed}_seeds`)}
|
||||
else{recipeSeed = (`mysticalagriculture:${material.resource}_seeds`)}
|
||||
}
|
||||
|
||||
allthemods.remove({output: recipeSeed})
|
||||
|
||||
if(tags === 'block'){
|
||||
if (material.essence == 'insanium') {
|
||||
recipeEssence = `mysticalagradditions:insanium_essence`
|
||||
} else {
|
||||
recipeEssence = `mysticalagriculture:${material.essence}_essence`
|
||||
}
|
||||
|
||||
if (Item.exists(`allthecompressed:${material.resource}_block_1x`)){
|
||||
// use the allthecompressed block if it exists
|
||||
recipeTag = `allthecompressed:${material.resource}_block_1x`
|
||||
} else if (material.block !== undefined){
|
||||
// else use the provided block in useBlocks
|
||||
recipeTag = material.block
|
||||
} else {
|
||||
// else neither exists, fallback to the first thing we can find via the storage_blocks tag
|
||||
recipeTag = Ingredient.of(`#c:storage_blocks/${material.resource}`).getItemIds()[0]
|
||||
}
|
||||
allthemods.custom({
|
||||
type: "mysticalagriculture:infusion",
|
||||
input: { item: "mysticalagriculture:prosperity_seed_base" },
|
||||
ingredients: [
|
||||
{item: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{item: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{item: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{item: recipeTag},
|
||||
{item: recipeEssence}
|
||||
],
|
||||
result: {
|
||||
id: recipeSeed
|
||||
}
|
||||
})}
|
||||
else{
|
||||
allthemods.custom({
|
||||
type: "mysticalagriculture:infusion",
|
||||
input: { item: "mysticalagriculture:prosperity_seed_base" },
|
||||
ingredients: [
|
||||
{tag: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{tag: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{tag: recipeTag},
|
||||
{item: recipeEssence},
|
||||
{tag: recipeTag},
|
||||
{item: recipeEssence}
|
||||
],
|
||||
result: {
|
||||
id: recipeSeed
|
||||
}
|
||||
})}
|
||||
}
|
||||
|
||||
for (let i=0; i < ingots.length; i++){
|
||||
mysticalTags(ingots[i], 'c:ingots/')}
|
||||
|
||||
for (let i=0; i < gems.length; i++){
|
||||
mysticalTags(gems[i], 'c:gems/')}
|
||||
|
||||
for (let i=0; i < dusts.length; i++){
|
||||
mysticalTags(dusts[i], 'c:dusts/')}
|
||||
|
||||
for (let i=0; i < different.length; i++){
|
||||
mysticalTags(different[i], '', 'different')}
|
||||
|
||||
for (let i=0; i < useBlocks.length; i++){
|
||||
mysticalTags(useBlocks[i], '', 'block')}
|
||||
})
|
||||
@@ -0,0 +1,84 @@
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 9.
|
||||
// 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.
|
||||
|
||||
const CropRegistry = Java.loadClass('com.blakebr0.mysticalagriculture.registry.CropRegistry')
|
||||
const $Objects = Java.loadClass('java.util.Objects')
|
||||
|
||||
// sets the chance for a seed to drop
|
||||
const SecondarySeed = 0.01
|
||||
const TierSecondaryCutoff = 5
|
||||
|
||||
ServerEvents.tags('item', allthemods => {
|
||||
let CropRegistryInstance = CropRegistry.getInstance()
|
||||
let cropTiers = CropRegistryInstance.getTiers()
|
||||
let tiers = Array.apply(null, Array(cropTiers.length))
|
||||
for (const CropTier of cropTiers) {
|
||||
tiers[CropTier.getValue() - 1] = CropTier.getFarmland()
|
||||
if (CropTier.getValue() >= TierSecondaryCutoff) {
|
||||
CropTier.setSecondarySeedDrop(false)
|
||||
CropTier.setBaseSecondaryChance(0)
|
||||
} else {
|
||||
CropTier.setBaseSecondaryChance(SecondarySeed)
|
||||
}
|
||||
}
|
||||
for (let i = 0; i < tiers.length; i++) {
|
||||
let farmA = tiers[i]
|
||||
let farmB = null
|
||||
if (i + 1 < tiers.length) {
|
||||
if (!$Objects.equals(farmA, tiers[i + 1])) {
|
||||
farmB = tiers[i + 1]
|
||||
}
|
||||
}
|
||||
let tierA = farmA.getIdLocation().getPath().replace('_farmland', '')
|
||||
allthemods.add(`kubejs:farmland/${tierA}`, farmA.getId())
|
||||
if (farmB) {
|
||||
let tierB = farmB.getIdLocation().getPath().replace('_farmland', '')
|
||||
allthemods.add(`kubejs:farmland/${tierA}`, `#kubejs:farmland/${tierB}`)
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
ServerEvents.recipes(allthemods => {
|
||||
let JsonExport = { enabled: [], disabled: [] }
|
||||
let CropRegistryInstance = CropRegistry.getInstance()
|
||||
let CropList = CropRegistryInstance.getCrops()
|
||||
for (const Crop of CropList) {
|
||||
let CropName = Crop.getName()
|
||||
if (Crop.isEnabled()) {
|
||||
JsonExport.enabled.push(CropName)
|
||||
} else {
|
||||
JsonExport.disabled.push(CropName)
|
||||
}
|
||||
}
|
||||
JsonIO.write('kubejs/server_scripts/mods/MysticalAgriculture/cropInfo.json', JsonExport)
|
||||
|
||||
// Immersive Engineering Cloche
|
||||
if (Platform.isLoaded('immersiveengineering')) {
|
||||
JsonExport.enabled.forEach(cropName => {
|
||||
let Crop = CropRegistryInstance.getCropByName(cropName)
|
||||
allthemods.custom({
|
||||
type: 'immersiveengineering:cloche',
|
||||
results: [
|
||||
{
|
||||
basePredicate: {
|
||||
item: Crop.getEssenceItem().getId()
|
||||
},
|
||||
count: 2
|
||||
}
|
||||
],
|
||||
input: Ingredient.of(Crop.getSeedsItem()).toJson(),
|
||||
soil: Ingredient.of(Crop.getCruxBlock() ?? `#kubejs:farmland/${Crop.getTier().getFarmland().getIdLocation().getPath().replace('_farmland', '')}`).toJson(),
|
||||
time: 250 + (750 * Crop.getTier().getValue()),
|
||||
render: {
|
||||
type: 'immersiveengineering:crop',
|
||||
block: Crop.getCropBlock().getId()
|
||||
}
|
||||
}).id(`allthemods:immersiveengineering/cloche/mysticalagriculture/${cropName}`)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 9.
|
||||
// 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.
|
||||
@@ -0,0 +1,50 @@
|
||||
// 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 => {
|
||||
|
||||
// essence crafting for custom seeds
|
||||
function essenceCircle(result, essenceType) {
|
||||
allthemods.shaped(result, ['aaa', 'a a', 'aaa'], { a: `mysticalagriculture:${essenceType}_essence` }).id(`kubejs:mysticalagriculture/${essenceType}_essence_crafting`)
|
||||
}
|
||||
|
||||
essenceCircle('allthemodium:allthemodium_nugget', 'allthemodium')
|
||||
essenceCircle('allthemodium:vibranium_nugget', 'vibranium')
|
||||
essenceCircle('allthemodium:unobtainium_nugget', 'unobtainium')
|
||||
essenceCircle('12x xycraft_world:kivi', 'kivi')
|
||||
essenceCircle('12x forbidden_arcanus:darkstone', 'darkstone')
|
||||
essenceCircle('6x silentgear:azure_silver_ingot', 'azure_silver')
|
||||
essenceCircle('6x silentgear:crimson_iron_ingot', 'crimson_iron')
|
||||
essenceCircle('3x extendedae:entro_crystal', 'entro')
|
||||
essenceCircle('2x megacells:sky_steel_ingot', 'sky_steel')
|
||||
essenceCircle('3x actuallyadditions:black_quartz', 'black_quartz')
|
||||
|
||||
// infusion seed crafting
|
||||
function seedCrafting(output, middle, item1, item2, item3, item4, item5, item6, item7, item8){
|
||||
allthemods.custom({
|
||||
type: 'mysticalagriculture:infusion',
|
||||
input: { item: middle },
|
||||
ingredients: [
|
||||
{ item: item1 },
|
||||
{ item: item2 },
|
||||
{ item: item3 },
|
||||
{ item: item4 },
|
||||
{ item: item5 },
|
||||
{ item: item6 },
|
||||
{ item: item7 },
|
||||
{ item: item8 }
|
||||
],
|
||||
result: { id: output }
|
||||
}).id(`kubejs:${output.replace(':', '/')}/infusion`)
|
||||
}
|
||||
|
||||
// Magical Soil
|
||||
let soilMid = 'mysticalagradditions:insanium_farmland'
|
||||
let soil1 = 'mysticalagradditions:dragon_scale'
|
||||
let soil2 = 'mysticalagradditions:insanium_block'
|
||||
seedCrafting('kubejs:magical_soil', soilMid, soil1, soil2, soil1, soil2, soil1, soil2, soil1, soil2)
|
||||
|
||||
})
|
||||
|
||||
// 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.
|
||||
@@ -0,0 +1,298 @@
|
||||
// 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 => {
|
||||
allthemods.remove({id: 'mysticalagriculture:essence/common/niter'})
|
||||
|
||||
allthemods.remove({input: 'mysticalagriculture:rubber_essence'})
|
||||
allthemods.shaped('4x industrialforegoing:dryrubber', [' ', 'AAA', ' '], {
|
||||
A: 'mysticalagriculture:rubber_essence'
|
||||
}).id('allthemods:essence/industrialforegoing/rubber')
|
||||
|
||||
allthemods.shaped('kubejs:magical_soil', ['ABC', 'DEF', 'GHI'], {
|
||||
A: 'mysticalagradditions:insanium_block',
|
||||
B: 'allthecompressed:nether_star_block_2x',
|
||||
C: 'allthecompressed:dirt_3x',
|
||||
D: 'mysticalagriculture:awakened_supremium_growth_accelerator',
|
||||
E: 'mysticalagradditions:insanium_farmland',
|
||||
F: 'minecraft:dragon_head',
|
||||
G: 'allthemodium:piglich_heart',
|
||||
H: 'allthecompressed:ender_pearl_block_3x',
|
||||
I: 'productivetrees:moonlight_magic_crepe_myrtle_sapling'
|
||||
}).id('allthemods:kjs/magical_soil')
|
||||
|
||||
allthemods.shaped('mysticalagradditions:withering_soul',
|
||||
[
|
||||
'PRP',
|
||||
'BSB',
|
||||
'PRP'
|
||||
], {
|
||||
B: 'productivebees:configurable_comb[productivebees:bee_type="productivebees:withered"]',
|
||||
P: 'hostilenetworks:prediction[hostilenetworks:data_model="hostilenetworks:wither"]',
|
||||
R: 'reliquary:witherless_rose',
|
||||
S: 'minecraft:wither_skeleton_skull',
|
||||
}
|
||||
).id('allthemods:mysticalagradditions/withering_soul')
|
||||
|
||||
allthemods.shaped('enderio:enderman_head',
|
||||
[
|
||||
'eee',
|
||||
'ebe',
|
||||
'eee'
|
||||
],
|
||||
{
|
||||
b: 'mysticalagriculture:blank_skull',
|
||||
e: 'mysticalagriculture:enderman_essence'
|
||||
}
|
||||
).id('allthemods:essence/enderio/enderman_head')
|
||||
|
||||
// Warped Wart Blocks
|
||||
allthemods.shaped('8x minecraft:warped_wart_block', [' A ', 'A ', 'AAA'], {
|
||||
A: 'mysticalagriculture:nether_essence'
|
||||
}).id('allthemods:essence/minecraft/warped_wart_block')
|
||||
|
||||
// Moss Blocks
|
||||
allthemods.shaped('8x minecraft:moss_block', ['NNN', 'NDN', 'NNN'],{
|
||||
N: 'mysticalagriculture:nature_essence',
|
||||
D: 'mysticalagriculture:dirt_essence'
|
||||
}).id('allthemods:essence/minecraft/moss_block')
|
||||
|
||||
// Shroomlights
|
||||
allthemods.shaped('6x minecraft:shroomlight', ['AGA', 'GAG', 'AGA'],{
|
||||
A: 'mysticalagriculture:nether_essence',
|
||||
G: 'mysticalagriculture:glowstone_essence'
|
||||
}).id('allthemods:essence/minecraft/shroomlight')
|
||||
|
||||
// Froglights
|
||||
allthemods.shaped('8x minecraft:ochre_froglight', ['NDG', 'GDN', 'NDG'],{
|
||||
N: 'mysticalagriculture:nature_essence',
|
||||
D: 'mysticalagriculture:dye_essence',
|
||||
G: 'mysticalagriculture:glowstone_essence'
|
||||
}).id('allthemods:essence/minecraft/ochre_froglight')
|
||||
allthemods.shaped('8x minecraft:pearlescent_froglight', ['DDD', 'GNG', 'NGN'],{
|
||||
N: 'mysticalagriculture:nature_essence',
|
||||
D: 'mysticalagriculture:dye_essence',
|
||||
G: 'mysticalagriculture:glowstone_essence'
|
||||
}).id('allthemods:essence/minecraft/pearlescent_froglight')
|
||||
allthemods.shaped('8x minecraft:verdant_froglight', ['NGD', 'GND', 'NGD'],{
|
||||
N: 'mysticalagriculture:nature_essence',
|
||||
D: 'mysticalagriculture:dye_essence',
|
||||
G: 'mysticalagriculture:glowstone_essence'
|
||||
}).id('allthemods:essence/minecraft/verdant_froglight')
|
||||
|
||||
// Nether Vines
|
||||
allthemods.shaped('12x minecraft:twisting_vines', ['NA ', ' A ', ' AN'], {
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
N: 'mysticalagriculture:nether_essence'
|
||||
}).id('allthemods:essence/minecraft/twisiting_vines')
|
||||
allthemods.shaped('12x minecraft:weeping_vines', [' A ', 'NAN', ' A '], {
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
N: 'mysticalagriculture:nether_essence'
|
||||
}).id('allthemods:essence/minecraft/weeping_vines')
|
||||
|
||||
// Regions Unexplored Logs
|
||||
allthemods.shaped('8x regions_unexplored:alpha_log', ['AAA', ' ', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/alpha_log')
|
||||
allthemods.shaped('8x regions_unexplored:ashen_log', [' ', 'AAA', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/ashen_log')
|
||||
allthemods.shaped('8x regions_unexplored:bamboo_log', [' ', ' ', 'AAA'], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/bamboo_log')
|
||||
allthemods.shaped('8x regions_unexplored:silver_birch_log', ['A ', 'A ', 'A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/silver_birch_log')
|
||||
allthemods.shaped('8x regions_unexplored:small_oak_log', [' A ', ' A ', ' A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/small_oak_log')
|
||||
allthemods.shaped('8x regions_unexplored:baobab_log', [' A', ' A', ' A'], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/baobab_log')
|
||||
allthemods.shaped('8x regions_unexplored:blackwood_log', ['A ', ' A ', ' A'], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/blackwood_log')
|
||||
allthemods.shaped('8x regions_unexplored:brimwood_log', [' A', ' A ', 'A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/brimwood_log')
|
||||
allthemods.shaped('8x regions_unexplored:cobalt_log', ['AA ', ' A', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/cobalt_log')
|
||||
allthemods.shaped('8x regions_unexplored:cypress_log', ['A A', ' A ', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/cypress_log')
|
||||
allthemods.shaped('8x regions_unexplored:dead_log', [' A', 'AA ', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/dead_log')
|
||||
allthemods.shaped('8x regions_unexplored:eucalyptus_log', [' AA', 'A ', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/eucalyptus_log')
|
||||
allthemods.shaped('8x regions_unexplored:joshua_log', [' ', 'AA ', ' A'], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/joshua_log')
|
||||
allthemods.shaped('8x regions_unexplored:kapok_log', [' ', 'A ', 'AA '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/kapok_log')
|
||||
allthemods.shaped('8x regions_unexplored:larch_log', [' ', 'A A', ' A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/larch_log')
|
||||
allthemods.shaped('8x regions_unexplored:magnolia_log', [' ', ' A', 'AA '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/magnolia_log')
|
||||
allthemods.shaped('8x regions_unexplored:maple_log', [' ', ' AA', 'A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/maple_log')
|
||||
allthemods.shaped('8x regions_unexplored:mauve_log', ['AA ', 'A ', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/mauve_log')
|
||||
allthemods.shaped('8x regions_unexplored:palm_log', [' AA', ' A', ' '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/palm_log')
|
||||
allthemods.shaped('8x regions_unexplored:pine_log', [' ', 'A ', 'AA '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/pine_log')
|
||||
allthemods.shaped('8x regions_unexplored:redwood_log', [' ', ' A', ' AA'], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/redwood_log')
|
||||
allthemods.shaped('8x regions_unexplored:socotra_log', ['A ', 'A ', ' A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/socotra_log')
|
||||
allthemods.shaped('8x regions_unexplored:willow_log', ['A ', ' A ', ' A '], {
|
||||
A: 'mysticalagriculture:unexplored_wood_essence'
|
||||
}).id('allthemods:essence/regions_unexplored/willow_log')
|
||||
|
||||
//Xychorium Gems
|
||||
allthemods.shaped('5x xycraft_world:xychorium_gem_light',
|
||||
['XX ',
|
||||
'X ',
|
||||
' '],{X: 'mysticalagriculture:xychorium_gem_essence'}).id('allthemods:essence/xycraft/gem_light').noMirror()
|
||||
allthemods.shaped('5x xycraft_world:xychorium_gem_dark',
|
||||
[' XX',
|
||||
' X',
|
||||
' '],{X: 'mysticalagriculture:xychorium_gem_essence'}).id('allthemods:essence/xycraft/gem_dark').noMirror()
|
||||
allthemods.shaped('5x xycraft_world:xychorium_gem_red',
|
||||
[' ',
|
||||
'X ',
|
||||
'XX '],{X: 'mysticalagriculture:xychorium_gem_essence'}).id('allthemods:essence/xycraft/gem_red').noMirror()
|
||||
allthemods.shaped('5x xycraft_world:xychorium_gem_green',
|
||||
[' ',
|
||||
' X',
|
||||
' XX'],{X: 'mysticalagriculture:xychorium_gem_essence'}).id('allthemods:essence/xycraft/gem_green').noMirror()
|
||||
allthemods.shaped('5x xycraft_world:xychorium_gem_blue',
|
||||
[' X ',
|
||||
' X ',
|
||||
' X '],{X: 'mysticalagriculture:xychorium_gem_essence'}).id('allthemods:essence/xycraft/gem_blue').noMirror()
|
||||
|
||||
function addInfustion(seed, item, essence) {
|
||||
allthemods.custom(
|
||||
{
|
||||
type: 'mysticalagriculture:infusion',
|
||||
input: {
|
||||
item: 'mysticalagriculture:prosperity_seed_base'
|
||||
},
|
||||
ingredients: [
|
||||
{
|
||||
item: item
|
||||
},
|
||||
{
|
||||
item: essence
|
||||
},
|
||||
{
|
||||
item: item
|
||||
},
|
||||
{
|
||||
item: essence
|
||||
},
|
||||
{
|
||||
item: item
|
||||
},
|
||||
{
|
||||
item: essence
|
||||
},
|
||||
{
|
||||
item: item
|
||||
},
|
||||
{
|
||||
item: essence
|
||||
}
|
||||
],
|
||||
result: {
|
||||
id: seed
|
||||
}
|
||||
}
|
||||
).id(seed.replace(':', ':infusion/'))
|
||||
}
|
||||
|
||||
//addInfustion('mysticalagriculture:silicon_seeds', 'ae2:silicon', 'mysticalagriculture:prudentium_essence')
|
||||
//addInfustion('mysticalagriculture:steel_seeds', 'alltheores:steel_ingot', 'mysticalagriculture:imperium_essence')
|
||||
|
||||
allthemods.custom(
|
||||
{
|
||||
type: "mysticalagriculture:soul_extraction",
|
||||
input: {
|
||||
tag: "c:foods/raw_fish"
|
||||
},
|
||||
result: {
|
||||
type: "mysticalagriculture:fish",
|
||||
souls: 0.5
|
||||
}
|
||||
})
|
||||
|
||||
// 2 Tall flower recipes
|
||||
allthemods.shaped(
|
||||
Item.of('minecraft:rose_bush', 2),
|
||||
[
|
||||
'ABA',
|
||||
'BCA',
|
||||
'BAA'
|
||||
],
|
||||
{
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
B: 'mysticalagriculture:dye_essence',
|
||||
C: 'minecraft:red_dye'
|
||||
}
|
||||
)
|
||||
allthemods.shaped(
|
||||
Item.of('minecraft:peony', 2),
|
||||
[
|
||||
'BAA',
|
||||
'ACA',
|
||||
'BAB'
|
||||
],
|
||||
{
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
B: 'mysticalagriculture:dye_essence',
|
||||
C: 'minecraft:pink_dye'
|
||||
}
|
||||
)
|
||||
allthemods.shaped(
|
||||
Item.of('minecraft:sunflower', 2),
|
||||
[
|
||||
'AAB',
|
||||
'BCA',
|
||||
'ABA'
|
||||
],
|
||||
{
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
B: 'mysticalagriculture:dye_essence',
|
||||
C: 'minecraft:yellow_dye'
|
||||
}
|
||||
)
|
||||
allthemods.shaped(
|
||||
Item.of('minecraft:lilac', 2),
|
||||
[
|
||||
'ABA',
|
||||
'ACB',
|
||||
'BAA'
|
||||
],
|
||||
{
|
||||
A: 'mysticalagriculture:nature_essence',
|
||||
B: 'mysticalagriculture:dye_essence',
|
||||
C: 'minecraft:magenta_dye'
|
||||
}
|
||||
)
|
||||
|
||||
})
|
||||
|
||||
// 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.
|
||||
@@ -0,0 +1,57 @@
|
||||
// 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.
|
||||
|
||||
const seedID = [
|
||||
'mysticalagriculture:allthemodium_seeds',
|
||||
'mysticalagriculture:darkstone_seeds',
|
||||
'mysticalagriculture:kivi_seeds',
|
||||
'mysticalagriculture:unexplored_wood_seeds',
|
||||
'mysticalagriculture:unobtainium_seeds',
|
||||
'mysticalagriculture:vibranium_seeds',
|
||||
'mysticalagriculture:crimson_iron_seeds',
|
||||
'mysticalagriculture:azure_silver_seeds',
|
||||
'mysticalagriculture:entro_seeds',
|
||||
'mysticalagriculture:sky_steel_seeds',
|
||||
'mysticalagriculture:xychorium_gem_seeds',
|
||||
'mysticalagriculture:black_quartz_seeds'
|
||||
]
|
||||
|
||||
ServerEvents.tags('item', allthemods => {
|
||||
for (let seeds of seedID) {
|
||||
allthemods.add('c:seeds', seeds)
|
||||
allthemods.add('mysticalagriculture:seeds', seeds)
|
||||
allthemods.add('extended_industrialization:farmer_plantable', seeds)
|
||||
allthemods.add('ars_nouveau:whirlisprig/denied_drop', seeds)
|
||||
}
|
||||
allthemods.add('mysticalagriculture:essences', [
|
||||
'mysticalagriculture:allthemodium_essence',
|
||||
'mysticalagriculture:darkstone_essence',
|
||||
'mysticalagriculture:kivi_essence',
|
||||
'mysticalagriculture:unexplored_wood_essence',
|
||||
'mysticalagriculture:unobtainium_essence',
|
||||
'mysticalagriculture:vibranium_essence',
|
||||
'mysticalagriculture:crimson_iron_essence',
|
||||
'mysticalagriculture:azure_silver_essence',
|
||||
'mysticalagriculture:entro_essence',
|
||||
'mysticalagriculture:sky_steel_essence',
|
||||
'mysticalagriculture:xychorium_gem_essence'
|
||||
])
|
||||
})
|
||||
|
||||
ServerEvents.tags('block', allthemods => {
|
||||
for (let seeds of seedID) {
|
||||
allthemods.add('cucumber:mineable/sickle', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('silentgear:mineable/sickle', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('minecraft:crops', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('computercraft:turtle_hoe_harvestable', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('the_bumblezone:essence/life/grow_plants', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('minecraft:bee_growables', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('mysticalagriculture:crops', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('pneumaticcraft:crop_support_growable', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('ae2:growth_acceleratable', seeds.replace('seeds', 'crop'))
|
||||
allthemods.add('minecraft:sword_efficient', seeds.replace('seeds', 'crop'))
|
||||
}
|
||||
})
|
||||
|
||||
// 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.
|
||||
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"enabled": [
|
||||
"air",
|
||||
"earth",
|
||||
"water",
|
||||
"fire",
|
||||
"inferium",
|
||||
"stone",
|
||||
"dirt",
|
||||
"wood",
|
||||
"ice",
|
||||
"deepslate",
|
||||
"allthemodium",
|
||||
"azure_silver",
|
||||
"crimson_iron",
|
||||
"darkstone",
|
||||
"kivi",
|
||||
"unexplored_wood",
|
||||
"unobtainium",
|
||||
"vibranium",
|
||||
"nature",
|
||||
"dye",
|
||||
"nether",
|
||||
"coal",
|
||||
"coral",
|
||||
"honey",
|
||||
"amethyst",
|
||||
"pig",
|
||||
"chicken",
|
||||
"cow",
|
||||
"sheep",
|
||||
"squid",
|
||||
"fish",
|
||||
"slime",
|
||||
"turtle",
|
||||
"armadillo",
|
||||
"rubber",
|
||||
"silicon",
|
||||
"sulfur",
|
||||
"aluminum",
|
||||
"saltpeter",
|
||||
"apatite",
|
||||
"grains_of_infinity",
|
||||
"marble",
|
||||
"limestone",
|
||||
"basalt",
|
||||
"menril",
|
||||
"iron",
|
||||
"copper",
|
||||
"nether_quartz",
|
||||
"glowstone",
|
||||
"redstone",
|
||||
"obsidian",
|
||||
"prismarine",
|
||||
"zombie",
|
||||
"skeleton",
|
||||
"creeper",
|
||||
"spider",
|
||||
"rabbit",
|
||||
"tin",
|
||||
"bronze",
|
||||
"zinc",
|
||||
"brass",
|
||||
"silver",
|
||||
"lead",
|
||||
"graphite",
|
||||
"copper_alloy",
|
||||
"redstone_alloy",
|
||||
"conductive_alloy",
|
||||
"sky_stone",
|
||||
"certus_quartz",
|
||||
"gold",
|
||||
"lapis_lazuli",
|
||||
"end",
|
||||
"experience",
|
||||
"breeze",
|
||||
"blaze",
|
||||
"ghast",
|
||||
"enderman",
|
||||
"steel",
|
||||
"nickel",
|
||||
"constantan",
|
||||
"electrum",
|
||||
"invar",
|
||||
"uranium",
|
||||
"ruby",
|
||||
"sapphire",
|
||||
"peridot",
|
||||
"soulium",
|
||||
"hop_graphite",
|
||||
"soularium",
|
||||
"dark_steel",
|
||||
"pulsating_alloy",
|
||||
"energetic_alloy",
|
||||
"osmium",
|
||||
"fluorite",
|
||||
"refined_glowstone",
|
||||
"refined_obsidian",
|
||||
"compressed_iron",
|
||||
"fluix",
|
||||
"energized_steel",
|
||||
"blazing_crystal",
|
||||
"diamond",
|
||||
"emerald",
|
||||
"netherite",
|
||||
"wither_skeleton",
|
||||
"platinum",
|
||||
"iridium",
|
||||
"vibrant_alloy",
|
||||
"end_steel",
|
||||
"yellorium",
|
||||
"cyanite",
|
||||
"niotic_crystal",
|
||||
"spirited_crystal",
|
||||
"uraninite",
|
||||
"nether_star",
|
||||
"dragon_egg",
|
||||
"nitro_crystal"
|
||||
],
|
||||
"disabled": [
|
||||
"mystical_flower",
|
||||
"blizz",
|
||||
"blitz",
|
||||
"basalz",
|
||||
"amethyst_bronze",
|
||||
"slimesteel",
|
||||
"pig_iron",
|
||||
"manasteel",
|
||||
"steeleaf",
|
||||
"ironwood",
|
||||
"aquamarine",
|
||||
"quartz_enriched_iron",
|
||||
"signalum",
|
||||
"lumium",
|
||||
"flux_infused_ingot",
|
||||
"cobalt",
|
||||
"rose_gold",
|
||||
"elementium",
|
||||
"knightmetal",
|
||||
"fiery_ingot",
|
||||
"starmetal",
|
||||
"enderium",
|
||||
"flux_infused_gem",
|
||||
"manyullyn",
|
||||
"queens_slime",
|
||||
"hepatizon",
|
||||
"terrasteel",
|
||||
"rock_crystal",
|
||||
"draconium",
|
||||
"gaia_spirit",
|
||||
"awakened_draconium",
|
||||
"neutronium"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user