开启辅助访问     
收藏本站

站内搜索

搜索

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

[游戏相关] Addon自定义地物在1.20.41报错

 发表于 2023-11-8 23:34:59 来自手机|显示全部楼层|阅读模式 IP:广东省
500铁粒
求救!为什么这个我自己写的自定义地物搞不了,大佬求求帮帮萌新吧!
  1. {
  2.         "format_version": "1.20.30",
  3.         "minecraft:ore_feature": {
  4.                 "description": {
  5.                         "identifier": "morninglighttour:ore_features/aluminum_mica"
  6.                 },
  7.                 "count": 3,
  8.                 "replace_rules": [
  9.                         {
  10.                                 "places_block": "morninglighttour:aluminum_mica",
  11.                                 "may_replace": [
  12.                                         {
  13.                                                 "name": "minecraft:stone"
  14.                                         }
  15.                                 ]
  16.                         }
  17.                 ]
  18.         }
  19. }
复制代码

报错如下:
  1. 23:17:01[FeatureRegistry][error]-晨曦之旅测试图 | No definition found for feature 'morninglighttour:ore_feature/aluminum_mica'

  2. 23:17:01[FeatureRegistry][error]-晨曦之旅测试图 | morninglighttour:ore_features/apatite_deepslate | The feature uses the feature type 'minecraft:ore_feature', which is considered internal and thus not compatible with this engine version of the game.
复制代码

最佳答案

查看完整内容

may_replace 不用加 name features/xx.json feature_rules/xx.json 像这样
苦力怕论坛,感谢有您~
 发表于 2023-11-8 23:35:00|显示全部楼层 IP:广东省
评论复审中...编号:9618747
2#2023-11-8 23:35:00收起回复
Xiaosu2222023-11-9 22:07IP:广东省
回复举报
感谢大佬指点!!!
苦力怕论坛,感谢有您~
回复

使用道具举报

 发表于 2023-11-9 08:33:41 来自手机|显示全部楼层 IP:安徽省
评论复审中...编号:9618738
3#2023-11-9 08:33:41收起回复
Xiaosu2222023-11-9 22:10IP:广东省
回复举报
看别人的包可以这样写,当时我还以为这样写就能解决,看来不行XD
苦力怕论坛,感谢有您~
回复

使用道具举报

本版积分规则

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

QQ群

访问手机版

访问手机版

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

| 由 木韩网络 提供支持 | GMT+8, 2026-6-23 19:24

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

Powered by Discuz! X3.4