开启辅助访问     
收藏本站

站内搜索

搜索

Minecraft(我的世界)苦力怕论坛

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

 发表于 2024-8-14 19:12:14 来自手机|显示全部楼层|阅读模式 IP:山东省
如题:下面是我的其中地物定义文件和地物规则文件,其他的和下面一样:

地物定义:

  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, 下载次数: 4)

望大佬帮忙
苦力怕论坛,感谢有您~
 发表于 2024-8-14 21:46:38 来自手机|显示全部楼层 IP:广东省
1.20.5+好像删了自然生成......
2#2024-8-14 21:46:38收起回复
MCpingjun2024-8-14 21:48IP:广东省
回复
测试地图时建议开创建者日志和GUI (设置-创建者-下拉开启),翻译一下能解决很多问题
苦力怕论坛,感谢有您~
回复支持

使用道具举报

 发表于 2024-8-17 13:39:27 来自手机|显示全部楼层 IP:广东省
自然生成功能好像被删了,目前也没有找到其他的生存功能。
3#2024-8-17 13:39:27收起回复
星空晶体2024-8-17 13:50IP:山东省
回复
也就是说地物现在没用了?
MC平方回复星空晶体2024-8-17 13:54IP:广东省
回复
也可以尝试使用结构的形式进行生成。
苦力怕论坛,感谢有您~
回复支持

使用道具举报

本版积分规则

本站
关于我们
联系我们
坛史纲要
官方
哔哩哔哩
技术博客
下载
网易版
安卓版
JAVA
反馈
意见建议
教程中心
更多
捐助本站
QQ群
QQ群

QQ群

访问手机版

访问手机版

手机版|小黑屋|系统状态|klpbbs.com

粤公网安备 44200002445329号 | 由 木韩网络 提供云服务 | GMT+8, 2024-9-28 06:19

声明:本站与Mojang以及微软公司没有从属关系

Powered by Discuz! X3.4 粤ICP备2023071842号