• 欢迎加入MineBBS QQ讨论群:点击查看所有的官方讨论群
  • 我们将于近期对服务器进行迁移,服务可能中断至多2日。请各位安排好自己的访问计划,造成不便敬请谅解!
  • MineBBS入站考试已经上线!想要成为【正式会员】解锁更多功能吗?快来参与吧!【点我去看】

JavaScript 求助!矿石生成条件(json)

cty_4373

【Lv:1】

注册
2023/07/16
消息
2
金粒
315.00金粒
小弟最近有自学制作资源包,并在尝试制作一个自定义矿石的资源包。我在编写 feature_rules时遇到问题
my_ore_feature_rules.json︰
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "cty:my_ore_feature_rules",
"places_feature": "cty:my_ore_feature"
},
"conditions": {
"placement_pass": "underground_pass",
"minecraft:biome_filter": [
{
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "overworld_generation"
}
]
}
]
},
"distribution": {
"iterations": 3,
"coordinate_eval_order": "zyx",
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": {
"distribution": "uniform",
"extent": [ 0, 35 ]
},
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
}
}





无论怎么改,我始终在地下找不到我的矿石有生成。我希望我的矿石能弄成像煤炭一样常见,请问是哪部份有问题/如何弄到像煤炭一样常见呢?
 
feature_rules 可以不用,有 feature.json就行
 

在线会员

  • greapeeeeeee
  • 天穹
  • 林壕
  • wwwjh
  • wldck
  • 九霄云境
  • 邪神龙哥
  • Mulali
  • Allen_Linong
  • banwang
  • baozi404404
  • 3598524526
  • adlahgerunce224
  • 235697
  • 真是432334
  • WZJWW1345
  • Happyday
  • Fyxcelyhh
  • UMK361433
  • nanjia
...和 8 更多。
后退
顶部 底部