Files
onion-mc/config/akashictome-common.toml
T
logan e36bff8a4d chore(pack): pin Akashic Tome's whitelist to this pack's guidebooks
Enumerated every guidebook-type item across all 209 mods (30 items) and pinned
them explicitly in config/akashictome-common.toml.

Finding: no config was strictly required. Akashic Tome's "Whitelisted Names"
substring-matches the item's registry PATH (verified from AttachementRecipe
bytecode: getPath + toLowerCase + contains, with getHoverName and
getDescriptionId absent), and the shipped 15-entry default list already covers
every book in this pack. The explicit id list is what keeps the tome working
if that name list is ever trimmed.

All Patchouli books share the single item id patchouli:guide_book and cannot
be listed individually. They still morph under their real owning mod, because
Patchouli's ItemModBook overrides getCreatorModId to return the book's owner.

Also drops the shipped defaults' whitelist ids and mod aliases, which all
reference mods that are not installed.
2026-10-06 19:12:36 -04:00

72 lines
2.2 KiB
TOML

"Allow all items to be added" = false
# Every guidebook-type item in this pack. The defaults already catch all of
# these via "Whitelisted Names" (which substring-matches the item's registry
# path), so this list is what keeps the tome working if that name list is ever
# trimmed. All Patchouli books share the single item id patchouli:guide_book
# and cannot be listed individually - they morph under their owning mod via
# Patchouli's getCreatorModId override.
"Whitelisted Items" = [
"patchouli:guide_book",
"ars_nouveau:worn_notebook",
"ars_nouveau:novice_spell_book",
"ars_nouveau:apprentice_spell_book",
"ars_nouveau:archmage_spell_book",
"ars_nouveau:annotated_codex",
"ars_nouveau:caster_tome",
"apotheosis:book",
"apothic_enchanting:boots_tome",
"apothic_enchanting:bow_tome",
"apothic_enchanting:chestplate_tome",
"apothic_enchanting:extraction_tome",
"apothic_enchanting:fishing_tome",
"apothic_enchanting:helmet_tome",
"apothic_enchanting:improved_scrap_tome",
"apothic_enchanting:leggings_tome",
"apothic_enchanting:other_tome",
"apothic_enchanting:pickaxe_tome",
"apothic_enchanting:scrap_tome",
"apothic_enchanting:weapon_tome",
"alexscaves:cave_book",
"alexscaves:cave_codex",
"alexscaves:cave_tablet",
"alexsmobs:animal_dictionary",
"chipped:alchemy_book",
"create_enchantment_industry:blazes_enchanting_handbook",
"extradelight:cookbook",
"twilightdelight:book",
"adorablehamsterpets:hamster_guide_book",
"citadel:citadel_book",
]
"Whitelisted Names" = [
"book",
"tome",
"lexicon",
"nomicon",
"manual",
"knowledge",
"pedia",
"compendium",
"guide",
"codex",
"dictionary",
"journal",
"tablet",
"grimoire",
"bestiary",
]
"Blacklisted Mods" = []
# The shipped defaults blacklist two Primal Magick items; that mod is not
# installed. The substring matcher above also catches bookshelves and
# twilightforest:death_tome_spawn_egg as false positives - add those ids here
# if players attaching them to the tome becomes a nuisance.
"Blacklisted Items" = []
# The shipped defaults alias 18 mods that are not in this pack.
"Mod Aliases" = []
"Hide Book Render" = false