基础下界矿石(BasicNetherOres):修订间差异

→‎注释与外部链接:​ // Edit via Wikiplus
(// Edit via Wikiplus)
→‎注释与外部链接:​ // Edit via Wikiplus
标签移动版编辑 移动版网页编辑 高级移动版编辑
 
(未显示3个用户的3个中间版本)
{{CSS|1=
<nowiki>
:root {
--theme-color: #a8cdff;
--theme-topbar-img: url(//mcbbs.wiki/salt/nether/top_bg.png);
}
</nowiki>
}}
{{模组信息
* [https://github.com/cScotPlay/BasicNetherOres GitHub]
*[https://www.mcmod.cn/class/3247.html MCMOD]
*[[tid:1136294|MCBBS]]
 
== 你知道吗 ==
* 在此模组的1.12.2版本里,作者使用了类似于<code>OreDictionary.registerOre("ore" + block.getLocalizedName().substring(7, block.getLocalizedName().length() - 4), block);</code>的代码注册矿词,导致本地化工作者在将模组文本本地化后游戏崩溃。<ref>https://github.com/cScotPlay/BasicNetherOres/blob/master/src/main/java/cscot/basicnetherores/registries/OreDictionaryRegistry.java#L23</ref>
* 有人使用了打表方法改动1.12.2分支版本代码使其不使用本地化获取方法注册矿词。<ref>https://github.com/cneicy/BasicNetherOres/blob/master/src/main/java/cscot/basicnetherores/registries/OreDictionaryRegistry.java#L7</ref>
{{基础下界矿石}}
{{ref}}
== 注释与外部链接 ==
534

个编辑