All the Mods 10 - ATM10

All the Mods 10 - ATM10

4M Downloads

[Bug]: Mystical Agriculture Essences missing tag.

Jophire opened this issue ยท 3 comments

commented

Feature Details

Noticed that a couple of mystical agriculture essences are missing the mysticalagriculture:essences tag.

Ones found so far:
Kivi Essence
Darkstone Essence
Crimson Iron Essence

commented

I assume all custom essences are missing the tag.

commented

Fixed it.
`
// 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 essenceID = [
'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'
]

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'
]

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)
}
for (let esse of essenceID) {
allthemods.add('mysticalagriculture:essences', esse)
}
})

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.
`

commented

If you only need to add 1 tag to them it should be easier to just add the tag to them directly, I'll add these tomorrow.