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

→‎注释与外部链接:​ // Edit via Wikiplus
(编辑“基础下界矿石” // 维基盐编辑器)
→‎注释与外部链接:​ // Edit via Wikiplus
标签移动版编辑 移动版网页编辑 高级移动版编辑
 
(未显示3个用户的6个中间版本)
第1行: 第1行:
{{CSS|1=
{{CSS|1=
<nowiki>
:root {
:root {
   --theme-color: #a8cdff;
   --theme-color: #a8cdff;
第6行: 第5行:
   --theme-topbar-img: url(//mcbbs.wiki/salt/nether/top_bg.png);
   --theme-topbar-img: url(//mcbbs.wiki/salt/nether/top_bg.png);
  }
  }
</nowiki>
}}
}}
{{模组信息
{{模组信息
第26行: 第24行:


'''基础下界矿石(BasicNetherOres)'''是一个为下界添加了基础矿物的简单模组。
'''基础下界矿石(BasicNetherOres)'''是一个为下界添加了基础矿物的简单模组。
== 相关链接 ==
* [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版本里,作者使用了类似于<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>
* 有人使用了打表方法改动1.12.2分支版本代码使其不使用本地化获取方法注册矿词。<ref>https://github.com/cneicy/BasicNetherOres/blob/master/src/main/java/cscot/basicnetherores/registries/OreDictionaryRegistry.java#L7</ref>
{{基础下界矿石}}
{{基础下界矿石}}
== 注释与外部链接 ==
{{ref}}
900

个编辑