在研究mod矿物生成时发现1.19.3mojang把矿物生成完全放到数据包里面了,好像已经不能靠代码修改(暂时没找到方法),但是我照抄了金矿的configured_feature和placed_feature但是没有效果,是还有文件需要修改吗?
数据包的话,你除了需要配置configured_feature你还要在biome你要生成的群系里面加上这个feature
https://wiki.biligame.com/mc/%E8 ... 4%9F%E6%88%90/biome
https://www.mcbbs.net/forum.php? ... 86&pid=25896298
mod我没做过,仅供参考
https://wiki.biligame.com/mc/%E8 ... 4%9F%E6%88%90/biome
https://www.mcbbs.net/forum.php? ... 86&pid=25896298
mod我没做过,仅供参考
白狗虚虚 发表于 2023-2-8 15:11
数据包的话,你除了需要配置configured_feature你还要在biome你要生成的群系里面加上这个feature
https://w ...
只能手动穷举所有biome把feature加进去吗
iMoonDay 发表于 2023-2-8 15:26
只能手动穷举所有biome把feature加进去吗
我做的时候是这样的(统一替换的),可能有很好的方法我没有找到。
iMoonDay 发表于 2023-2-8 15:26
只能手动穷举所有biome把feature加进去吗
你要写的mod的是forge的还是fabric的?
无敌三脚猫 发表于 2023-2-8 16:11
你要写的mod的是forge的还是fabric的?
1.19.3 fabric
本帖最后由 无敌三脚猫 于 2023-2-8 17:49 编辑
可以看看,我也不知道在1.19.3能不能用
https://fabricmc.net/wiki/zh_cn:tutorial:ores
很可能不能用,英文界面里说https://fabricmc.net/wiki/tutorial:ores
那就是只能写json了(那也太烦了)
iMoonDay 发表于 2023-2-8 17:36
1.19.3 fabric
可以看看,我也不知道在1.19.3能不能用
https://fabricmc.net/wiki/zh_cn:tutorial:ores
很可能不能用,英文界面里说
1.19.3, ores should be done completely in jsons
那就是只能写json了(那也太烦了)
白狗虚虚 发表于 2023-2-8 16:01
我做的时候是这样的(统一替换的),可能有很好的方法我没有找到。
我统一替换但是好像并没有生效,要替换哪些内容?
日志显示
- [Render thread/INFO] (BiomeModificationImpl) Applied 0 biome modifications to 0 of 126 new biomes in 1.735 ms
无敌三脚猫 发表于 2023-2-8 17:42
可以看看,我也不知道在1.19.3能不能用
https://fabricmc.net/wiki/zh_cn:tutorial:ores
很可能不能用,英 ...
我看过这个了,所以说不知道怎么搞
白狗虚虚 发表于 2023-2-8 16:01
我做的时候是这样的(统一替换的),可能有很好的方法我没有找到。
解决了,原来我刚才放错位置了,我把他放到minecraft文件夹替换掉就成功了
无敌三脚猫 发表于 2023-2-8 17:42
可以看看,我也不知道在1.19.3能不能用
https://fabricmc.net/wiki/zh_cn:tutorial:ores
很可能不能用,英 ...
暂时解决了,通过一键替换biome文件把矿物加进去
iMoonDay 发表于 2023-2-8 18:01
暂时解决了,通过一键替换biome文件把矿物加进去
用数据生成的方式可以自动生成json文件