HarvestTheNether Migration

基本信息

属性 值
触发时机 FMLMissingMappingsEvent + preInit 中 Loader.isModLoaded("harvestthenether") 检测
命名空间 harvestthenether: ↔ fether:

行为

  • 如果环境中未加载 harvestthenether 但 harvestthenether.cfg 存在且 fether.cfg 不存在,自动 FileUtils.moveFile 改名(FetherConfig.init)。
  • 启动时输出 WARN 日志:“Pam’s Harvest the Nether is loaded! Consider removing it, its content is fully contained within Fether.”
  • Fether.onMissingMapping 监听所有 harvestthenether: 命名缺失映射(BLOCK 与 ITEM):
类型 旧名 新名
Block netherLog fether:nether_log
Block netherLeaves fether:nether_leaves
Block netherPlanks fether:nether_planks
Block netherSapling fether:nether_sapling
Block ignisFruit fether:ignis_fruit
Block netherBed fether:nether_bed
Block netherGarden fether:nether_garden
Block bloodleafCrop fether:blood_leaf_crop
Block fleshrootCrop fether:flesh_root_crop
Block marrowberryCrop fether:marrow_berry_crop
Block glowFlower fether:glow_flower
Block glowflowerCrop fether:glow_flower_crop(含跳过其 ItemBlock: mapping.skipItemBlock())
Item (Block) netherLog, netherLeaves, netherPlanks, netherSapling, netherGarden 跳到对应 BlockItem
Item (Block) ignisFruit, netherBed, bloodleafCrop, fleshrootCrop, glowflowerCrop mapping.skipItemBlock()
Item quartzingotItem fether:quartz_ingot
Item quartzhelmItem / quartzchestItem / quartzleggingsItem / quartzbootsItem 对应 Quartz 套装
Item Quartz Axe / Hoe / Pickaxe / Shovel / Sword 对应 Quartz 工具
Item ignisfruitItem fether:ignis_fruit
Item netherbedItem fether:nether_bed
Item bloodleafItem / fleshrootItem / marrowberryItem 对应 Bloodleaf/Fleshroot/Marrowberry
Item bloodleafseedItem / fleshrootseedItem / marrowberryseedItem / glowflowerseedItem 对应 Seeds

对未识别的旧名以 WARN 日志输出。

相关条目