【原创】【仅BE】附加包导入失败/无法导入的解决办法 - 教程中心 - Minecra
<br /><br /><table cellspacing="0" class="t_table" ><tr style="background-color:#008B8B"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td><font size="6"><strong><font color="#20B2AA">附加包无法导入/导入失败的解决办法<br /></font></strong></font><hr class="l" /><table cellspacing="0" class="t_table" ><tr style="background-color:#5F9EA0"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td><font color="green">▶<strong>前言</strong></font><br /><br />有很多萌新可能会遇到资源导入失败的问题,然而,他们不知道如何修复该资源,以至于萌新会放弃食用/去悬赏问答版块浪费铁粒。<br />这个教程,一定是萌新必备!<br /><br /><font color="red">▶<strong>教程准备</strong></font><br /><br />Minecraft<br />•用于验证是否导入成功。<br />文件管理<br />•用于导入/解压缩/查看资源。<br />•为了方便 Android/iOS 的玩家,楼主这里使用 ES 文件浏览器。<br />导入失败的资源包<br />•用于修复。<br /><br /><font color="blue">▶<strong>教程开始</strong></font><br /><br /><font color="#008B8B">Tips:</font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>❶像以下两类的资源包都算导入失败。<br />一类<br /><img title="Screenshot_20220313_080149_com.mojang.minecraftpe.jpg" onerror="study_killerrpic(this)" aid="98750" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/080642iqysq46ns4sooa1l.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/080642iqysq46ns4sooa1l.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98750" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />二类<br /><img title="Screenshot_20220313_080604.jpg" onerror="study_killerrpic(this)" aid="98752" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/080657r5tqnzgl9rtg7l5e.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/080657r5tqnzgl9rtg7l5e.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98752" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />❷本文所述的清单文件,指 <strong>manifest.json</strong> 文件。<br />❸修复后不要忘记用 Minecraft 验证是否导入成功!<br />❹资源导入成功不代表能用,毕竟 Minecraft 验证资源包是否能导入时只看 <strong>manifest.json</strong> 是否可用。<br />❺本文所述的后缀,标准名称是<strong>文件扩展名</strong>,请知悉。</td></table>首先,我们需要判断导入失败的资源包的问题。一般有以下几种:<br /><table cellspacing="0" class="t_table" ><tr style="background-color:#48D1CC"><td><table cellspacing="0" class="t_table" ><tr style="background-color:#FFFFFF"><td>1.嵌套文件夹(仅后缀为 mcpack/mcworld/mctemplate)<br />•判断方法:<br />使用文件管理的重命名功能,将资源包后缀改成 .zip,如图所示。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>更改前:<br /><img title="Screenshot_20220313_082225_com.estrongs.android.pop.jpg" onerror="study_killerrpic(this)" aid="98753" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082243i4noo7yoojcp4owh.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082243i4noo7yoojcp4owh.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98753" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><br />更改后:<br /><img title="Screenshot_20220313_082232_com.estrongs.android.pop.jpg" onerror="study_killerrpic(this)" aid="98754" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082247kreg4n6xttd8gg2s.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082247kreg4n6xttd8gg2s.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98754" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>然后查看这个资源包文件,如果点进去就看到只有一个文件夹(再点进这个文件夹才能看到清单文件),那么这个就是嵌套文件夹。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220313_082622_com.estrongs.android.pop_edit_24563954672812.jpg" onerror="study_killerrpic(this)" aid="98755" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082844arku447w2ik266qq.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/082844arku447w2ik266qq.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98755" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>•解决办法:<br />解压缩,点进解压缩后出现的文件夹。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220313_083045_edit_24755171595699.jpg" onerror="study_killerrpic(this)" aid="98756" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083208be4rslcvze7cb8rb.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083208be4rslcvze7cb8rb.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98756" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>然后在含有清单文件(除了后缀为 .mcworld 的文件)或 level.dat(仅后缀为 .mcworld、.mctemplate 的文件)的目录下将该目录的所有文件都压缩。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220313_083406.jpg" onerror="study_killerrpic(this)" aid="98757" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083412ns4kuskl9muwjuow.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083412ns4kuskl9muwjuow.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98757" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>将得到的压缩文件的后缀改为 .mcpack,这个资源就可以正常导入啦!</td></tr><tr style="background-color:#FFFFFF"><td>2.重复资源包<br />•判断方法:用改后缀的方法导入时提醒“检测重复资源包”。<br />•解决办法:删除原有的资源包或更改原有资源包的清单文件中的 UUID 即可。注意,<strong>header</strong> 和 <strong>modules</strong> 中的 UUID <strong><font color="red">都要改</font></strong>!</td></tr><tr style="background-color:#FFFFFF"><td>3.清单文件问题<br />•判断方法:资源包没出现嵌套文件夹且没有重复资源包,但仍不能导入,那么就是清单文件——<strong>manifest.json</strong> 的问题。<br />•解决办法:首先我们需要打开文件:<strong>manifest.json</strong><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220313_083716_com.estrongs.android.pop.jpg" onerror="study_killerrpic(this)" aid="98758" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083723v9fa4yfdaln8nyuf.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/083723v9fa4yfdaln8nyuf.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98758" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>可以看到 <strong>header</strong> 和 <strong>modules</strong> 下的"uuid"行中的 UUID 是一样的。<br />这种资源一般无法成功导入,我们需要用<a href="https://klpbbs.com/tool/uuid/" target="_blank"><font color="green">UUID在线生成</font></a>生成一个新的 UUID,这里我生成了:1f76532b-cab3-499e-bc19-f6877028eccd<br />返回文件管理,将复制的 UUID 填入 <strong>header</strong> 或 <strong>modules</strong> 中的"uuid"行,如图。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="Screenshot_20220313_084723_com.estrongs.android.pop.jpg" onerror="study_killerrpic(this)" aid="98763" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/084730qfsf08bcnbf3413b.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202203/13/084730qfsf08bcnbf3413b.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_98763" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>这个资源包就可以按照正常方式导入啦!<br />这里总结了常见的清单文件错误:<hr class="l" />1)无效UUID<br />•用<a href="https://klpbbs.com/tool/uuid/" target="_blank"><font color="green">UUID在线生成</font></a>提供的UUID填入。<br />2)将 "format_vesion": 2 的资源包导入至基岩版1.13.0前的版本<br />•将 "format_version": 2 中的“2”改成“1”即可。若如此做,请将 "min_engine_version" 列出的版本号改为 1.13.0 前,如 1.7.0 。<br />•如果 "min_engine_version" 列出的版本号比你的 Minecraft 版本高,那么这个资源包也是无法食用的。你可以降低这个版本号强行导入,但仍不建议你这么做。最好更新你的 Minecraft 版本。<br />3)清单文件格式问题<br />•我们可以尝试重写清单文件(<strong>manifest.json</strong>)。注意:<strong>千万不要在资源成功修复前把原来的清单文件删除!你可能在重写前需要原来的清单文件!</strong><br />重写清单文件可以参照下面的格式(标准版)。<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><ol><li>{<br /><li> "format_version": 1, //根据"min_engine_version"决定,参照下文<br /><li> "header": {<br /><li> "description": "(这里填写资源包介绍)",<br /><li> "name": "(这里填写资源包名字)",<br /><li> "uuid": "(用UUID在线生成将生成的UUID填入这里,不能与"modules"中的UUID雷同)",<br /><li> "version": , //资源包的版本,请自行决定<br /><li> "min_engine_version": //请按照实际情况填写,"format_version"如果为 1,则必须填写为 1.13.0 前的版本,如 1.10.0;如果为 2,则必须填写 1.13.0 及以后的版本,如 1.19.30。如果这里填写的版本比你的 Minecraft 版本高,那么此资源无法食用<br /><li> },<br /><li> "modules": [<br /><li> {<br /><li> "description": "(这里填写资源包名字)",<br /><li> "type": "(结合实际填写,资源包请填写 resources,行为包请填写 data,皮肤包请填写 skin_pack)",<br /><li> "uuid": "(用 UUID 在线生成将生成的 UUID 填入这里,不能与"header"中的 UUID 雷同)",<br /><li> "version": //资源包版本,请自行决定<br /><li> }<br /><li> ]<br /><li>}</ol></td></table>•什么?原有附加包的 manifest.json 的"modules"与这里提供的不一样?<br />打开原来的清单文件,复制其中的"modules",如图所示。(用 MT 管理器演示,以 Debug Stick 为例)<input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><br /><img title="Screenshot_20220818_110412_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="184348" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202208/18/110421howmocwppuptputp.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202208/18/110421howmocwppuptputp.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_184348" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table>然后直接替换从上文复制的"modules",替换内容如下:<input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><br /><img title="Screenshot_20220818_110854_bin.mt.plus.jpg" onerror="study_killerrpic(this)" aid="184361" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202208/18/110908zvqq3qb1zeyqb6xp.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202208/18/110908zvqq3qb1zeyqb6xp.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_184361" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><hr class="l" /></td></tr><tr style="background-color:#FFFFFF"><td>4.资源包后缀为 .mcaddon<br />•判断方法:查看资源包后缀为 .mcaddon。<br />•解决办法:改后缀为 .zip,解压缩,即可发现两个资源包文件,按前面三点所述的方法一一修复并导入即可。</td></tr><tr style="background-color:#FFFFFF"><td>5.资源后缀错误<br />•解决办法:将后缀修改为.zip,然后按照以下方法确定该资源的后缀。<br /><hr class="l" />查看资源,寻找清单文件(manifest.json):<br />1)找不到清单文件(若是在 behavior_packs 和 resource_packs 文件夹中找到清单文件,但与这两个文件夹同级的目录下找不到清单文件时也算)但有 levelname.txt:用 ZIP 格式压缩后将后缀改为.mcworld。<br />2)能找到清单文件:<br />①若有 levelname.txt:用 ZIP 格式压缩后将后缀改为.mctemplate。<br />②若没有 levelname.txt:<br />Ⅰ若只能找到一个清单文件:用 ZIP 格式压缩后将后缀改为.mcpack。<br />Ⅱ若能找到两个清单文件,且通过查看清单文件的"modules"的"type"行得知一个是行为包("type": "data"),另一个是资源包("type": "resources"):用 ZIP 格式压缩后将后缀改为.mcaddon。<br />3)能找到 pack.mcmeta:抱歉,这是 Java 版的资源,你不能导入,请自觉放弃。<br /><br /><strong><marquee width="90%" scrollamount="3"><font color="green">完结撒花!</font></marquee></strong><br /><br /><font color="yellow">▶<strong>参见</strong></font><br /><br />•<a href="https://klpbbs.com/t/11445" target="_blank"><font color="purple">Cinder</font> 的【原创】【基岩版】如何使用已经下载好的附加包/材质/光影/地图/皮肤?</a><br />•<a href="https://klpbbs.com/t/2181" target="_blank"><font color="purple">憨憨小Z</font>的【安卓】超详细!Minecraft基岩版地图/资源包/附加包导入指南</a><br />•<a href="https://klpbbs.com/t/10775" target="_blank"><font color="purple">深橙</font>的【iOS】资源无法导入的解决方法</a><br>来源:<a href="https://klpbbs.com/thread-31605-1-1.html" target="_blank">https://klpbbs.com/thread-31605-1-1.html</a><br>免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作! 这帖子也太冷了吧……<br /><strike>又双叒叕是自占沙发的一天</strike><br />绝对零度——-273.15℃ 6666666666666 感谢有你 我那个就不一样,疯狂报错 都试过了游戏内资源包那里还是显示不出来,心塞…1.16x好难搞啊,可是我又很馋新下载的内部装饰资源…我要哭了<img id="aimg_119649" aid="119649" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202204/23/022314z55xfx554fy543as.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202204/23/022314z55xfx554fy543as.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" alt="Screenshot_2022-04-23-02-21-03-259_com.mojang.minecraftpe.jpg" title="Screenshot_2022-04-23-02-21-03-259_com.mojang.minecraftpe.jpg" w="675" /><img id="aimg_119650" aid="119650" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202204/23/022315gevub20678lzbeo6.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202204/23/022315gevub20678lzbeo6.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" alt="Screenshot_2022-04-23-02-21-03-259_com.mojang.minecraftpe.jpg" title="Screenshot_2022-04-23-02-21-03-259_com.mojang.minecraftpe.jpg" w="1500" /> <br />你干嘛直接放在文件夹里啊啊啊啊啊啊啊啊啊!<br />要用Minecraft打开! <br />欸???我之前玩1.18都是直接放在文件夹啊…而且我曾经试着用mc打开,但是我点击打开方式里并没有用mc打开…😭 <br />az…<img onerror="study_killerrpic(this)" id="aimg_J9Zss" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://p1.xywm.ltd/2022/04/23/62636621141e2.gif" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /> <br />谢谢大佬~🥰🥰🥰
页:
[1]