游戏相关 已自动关闭

[addon][矿石地物]方块可以正常出现在创造背包,可以放置,但无法作为矿石地物生成在主世界

星空***Lv.4 高级会员 发表于 2024-8-14 · 最后回复 2024-8-17 IP:山东省 1,026 5
如题:下面是我的其中地物定义文件和地物规则文件,其他的和下面一样:

地物定义:

  1. {
  2.   "format_version": "1.17.0",
  3.   "minecraft:ore_feature": {
  4.     "description": {
  5.       "identifier": "xkjt_apple_ore_feature"
  6.     },
  7.     "count": 12,
  8.     "replace_rules": [
  9.       {
  10.         "places_block": "xkjt:apple_ore",
  11.         "may_replace": [
  12.           "minecraft:stone",
  13.           "minecraft:netherrack",
  14.           "minecraft:end_stone",
  15.           "minecraft:andesite",
  16.           "minecraft:diorite",
  17.           "minecraft:tuff",
  18.           "minecraft:calcite",
  19.           "minecraft:granite",
  20.           "minecraft:sandstone",
  21.           "minecraft:dirt",
  22.           "minecraft:ice",
  23.           "minecraft:snow",
  24.           "minecraft:basalt",
  25.           "minecraft:deepslate"
  26.         ]
  27.       }
  28.     ]
  29.   }
  30. }
复制代码


地物规则定义

  1. {
  2.   "format_version": "1.13.0",
  3.   "minecraft:feature_rules": {
  4.     "description": {
  5.       "identifier": "overworld_underground_xkjt_apple_ore_feature_1_17",
  6.       "places_feature": "xkjt_apple_ore_feature"
  7.     },
  8.     "conditions": {
  9.       "placement_pass": "underground_pass",
  10.       "minecraft:biome_filter": [
  11.         {
  12.           "any_of": [
  13.             {
  14.               "test": "has_biome_tag",
  15.               "operator": "==",
  16.               "value": "overworld"
  17.             }
  18.           ]
  19.         }
  20.       ]
  21.     },
  22.     "distribution": {
  23.       "iterations": 12,
  24.       "coordinate_eval_order": "zyx",
  25.       "x": {
  26.         "distribution": "uniform",
  27.         "extent": [
  28.           0,
  29.           16
  30.         ]
  31.       },
  32.       "y": {
  33.         "distribution": "uniform",
  34.         "extent": [
  35.           -60,
  36.           100
  37.         ]
  38.       },
  39.       "z": {
  40.         "distribution": "uniform",
  41.         "extent": [
  42.           0,
  43.           16
  44.         ]
  45.       }
  46.     }
  47.   }
  48. }
复制代码


mcaddon文件:

 test1.mcaddon (77.65 KB, 下载次数: 18)

望大佬帮忙
回复 5 最早 最新 只看楼主
MCpi*** Lv.2 注册会员
2024-8-14 21:46:38 · 来自手机 IP:广东省
1.20.5+好像删了自然生成......
2# 2024-8-14 21:46:38 收起回复
MCpingjun 2024-8-14 21:48 IP:广东省
回复 举报
测试地图时建议开创建者日志和GUI (设置-创建者-下拉开启),翻译一下能解决很多问题
MC*** Lv.3 中级会员
2024-8-17 13:39:27 · 来自手机 IP:广东省
自然生成功能好像被删了,目前也没有找到其他的生存功能。
3# 2024-8-17 13:39:27 收起回复
星空晶体 2024-8-17 13:50 IP:山东省
回复 举报
也就是说地物现在没用了?
MC平方回复星空晶体 2024-8-17 13:54 IP:广东省
回复 举报
也可以尝试使用结构的形式进行生成。
您需要登录后才可以回帖 登录 | 立即注册
本版积分规则