陈新 发表于 2024-8-7 20:38:52

有没有佬看看为什么里面的武器方块没贴图

佬请看awa

youke1687 发表于 2024-8-7 20:38:53

随便抓了一个整合包的 RP 对比
问题一:缺少 blocks.json 文件指定方块材质(图 1)
问题二:稍等,我再看看

youke1687 发表于 2024-8-7 21:06:49

问题二,问题三:如图

注:问题三处的方块如果没 bug 还是别管了
分组指创造背包里需要展开的同类方块

youke1687 发表于 2024-8-7 21:13:37

问题四:还是删 .png

youke1687 发表于 2024-8-7 21:15:40

还有,以下是人家 blocks 文件的内容
{
"format_version": ,
"hy:copper_essence_ore": {
    "sound": "stone",
    "textures": "hy.copper_essence_ore"
},
"hy:deepslate_copper_essence_ore": {
    "sound": "deepslate",
    "textures": "hy.deepslate_copper_essence_ore"
},
"hy:amethyst_essence_ore": {
    "sound": "stone",
    "textures": "hy.amethyst_essence_ore"
},
"hy:deepslate_amethyst_essence_ore": {
    "sound": "deepslate",
    "textures": "hy.deepslate_amethyst_essence_ore"
},
"hy:fuel_metal_ore": {
    "sound": "stone",
    "textures": "hy.fuel_metal_ore"
},
"hy:deepslate_fuel_metal_ore": {
    "sound": "deepslate",
    "textures": "hy.deepslate_fuel_metal_ore"
},
"hy:andesite_metal_stone": {
    "sound": "stone",
    "textures": "andesite"
},
"hy:diorite_metal_stone": {
    "sound": "stone",
    "textures": "diorite"
},
"hy:granite_metal_stone": {
    "sound": "stone",
    "textures": "granite"
},
"hy:shallow_gold_ore": {
    "sound": "stone",
    "textures": "hy.shallow_gold_ore"
},
"hy:shallow_coal_ore": {
    "sound": "stone",
    "textures": "hy.shallow_coal_ore"
},
"hy:shallow_copper_ore": {
    "sound": "stone",
    "textures": "hy.shallow_copper_ore"
},
"hy:shallow_diamond_ore": {
    "sound": "stone",
    "textures": "hy.shallow_diamond_ore"
},
"hy:shallow_emerald_ore": {
    "sound": "stone",
    "textures": "hy.shallow_emerald_ore"
},
"hy:shallow_iron_ore": {
    "sound": "stone",
    "textures": "hy.shallow_iron_ore"
},
"hy:shallow_lapis_ore": {
    "sound": "stone",
    "textures": "hy.shallow_lapis_ore"
},
"hy:shallow_redstone_ore": {
    "sound": "stone",
    "textures": "hy.shallow_redstone_ore"
},
"hy:suspicious_gold_ore": {
    "sound": "stone",
    "textures": "gold_ore"
},
"hy:suspicious_coal_ore": {
    "sound": "stone",
    "textures": "coal_ore"
},
"hy:suspicious_copper_ore": {
    "sound": "stone",
    "textures": "copper_ore"
},
"hy:suspicious_diamond_ore": {
    "sound": "stone",
    "textures": "diamond_ore"
},
"hy:suspicious_emerald_ore": {
    "sound": "stone",
    "textures": "emerald_ore"
},
"hy:suspicious_iron_ore": {
    "sound": "stone",
    "textures": "iron_ore"
},
"hy:suspicious_lapis_ore": {
    "sound": "stone",
    "textures": "lapis_ore"
},
"hy:suspicious_redstone_ore": {
    "sound": "stone",
    "textures": "redstone_ore"
},
"hy:deepslate_suspicious_gold_ore": {
    "sound": "deepslate",
    "textures": "deepslate_gold_ore"
},
"hy:deepslate_suspicious_coal_ore": {
    "sound": "deepslate",
    "textures": "deepslate_coal_ore"
},
"hy:deepslate_suspicious_copper_ore": {
    "sound": "deepslate",
    "textures": "deepslate_copper_ore"
},
"hy:deepslate_suspicious_diamond_ore": {
    "sound": "deepslate",
    "textures": "deepslate_diamond_ore"
},
"hy:deepslate_suspicious_emerald_ore": {
    "sound": "deepslate",
    "textures": "deepslate_emerald_ore"
},
"hy:deepslate_suspicious_iron_ore": {
    "sound": "deepslate",
    "textures": "deepslate_iron_ore"
},
"hy:deepslate_suspicious_lapis_ore": {
    "sound": "deepslate",
    "textures": "deepslate_lapis_ore"
},
"hy:deepslate_suspicious_redstone_ore": {
    "sound": "deepslate",
    "textures": "deepslate_redstone_ore"
},
"hy:geocentric_gold_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_gold_ore"
},
"hy:geocentric_copper_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_copper_ore"
},
"hy:geocentric_diamond_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_diamond_ore"
},
"hy:geocentric_emerald_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_emerald_ore"
},
"hy:geocentric_iron_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_iron_ore"
},
"hy:geocentric_lapis_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_lapis_ore"
},
"hy:geocentric_redstone_ore": {
    "sound": "deepslate",
    "textures": "hy.deep_redstone_ore"
},
"hy:tin_ore": {
    "sound": "stone",
    "textures": "hy.tin_ore"
},
"hy:deepslate_tin_ore": {
    "sound": "deepslate",
    "textures": "hy.deepslate_tin_ore"
},
"hy:tin_block": {
    "sound": "metal",
    "textures": "hy.tin_block"
},
"hy:flash_metal_block": {
    "sound": "metal",
    "textures": "hy.flash_metal_block"
},
"hy:flash_copper_block": {
    "sound": "metal",
    "textures": "hy.flash_copper_block"
},
"hy:lab_table": {
    "sound": "metal",
    "textures": {
      "up": "hy.lab_table.top",
      "down": "hy.lab_table.bottom",
      "north": "hy.lab_table.side_1",
      "south": "hy.lab_table.side_2",
      "west": "hy.lab_table.side_3",
      "east": "hy.lab_table.front"
    }
},
"sc:crushed_stone": {
    "sound": "stone",
    "textures": "stone"
},
"hy:flash_copper_ore": {
    "sound": "stone",
    "textures": "hy.flash_copper_ore"
},
"hy:deepslate_flash_copper_ore": {
    "sound": "deepslate",
    "textures": "hy.deepslate_flash_copper_ore"
},
"hy:chocolate_block": {
    "sound": "metal",
    "textures": "hy.chocolate_block"
},
"hy:chocolate_bricks": {
    "sound": "metal",
    "textures": "hy.chocolate_bricks"
},
"hy:ruby_block": {
    "sound": "amethyst_block",
    "textures": "hy.ruby_block"
},
"hy:ruby_ore": {
    "sound": "amethyst_block",
    "textures": "hy.ruby_ore"
},
"hy:deepslate_ruby_ore": {
    "sound": "amethyst_block",
    "textures": "hy.deepslate_ruby_ore"
},
"hy:ruby_stone_bricks": {
    "sound": "amethyst_block",
    "textures": "hy.ruby_stone_bricks"
}
}

youke1687 发表于 2024-8-8 14:53:45

感谢认可

陈新 发表于 2024-8-8 19:57:43

[贴吧_吐舌]

youke1687 发表于 2024-8-9 15:35:17

尽力了
资源包我改的绝对没有任何问题,但没效果
问题出在行为包上,也确实看出来了几处错误,但就是改不好
但我本来就是搞资源包的,行为包真不会😅
——————————
这次看你标题还以为是只有资源包有问题,所以接了
建议再发一个求助,以下面这个作为标题
“求助:我行为包加入的方块和物品哪里出错了”
然后把话说清楚,像这样:

我的世界基岩版版本:(你的版本)
——————————
addon 内容:见附件
——————————
遇到的问题:
1 行为包加入的方块和物品在游戏里不显示
2 ……


大概按照这个来写内容,再按需加几个板块,我们赏金猎人非常注重对方的表达,就吃这一套
还有就是铁粒尽量多给,虽然我们不看重这个,但有那种喜欢挑难的委托的大神,就只筛选铁粒给的高的弄
——————————




想自己研究的话推荐看这个
附加包教程:10.方块(一)
https://klpbbs.com/thread-82444-1-1.html
这个的作者现在还有在维护,内容是最新的

嫌不好找可以用我的,收录了他的所有文章
我的世界基岩版附加包开发教程目录附加包开发 模组开发 附加包教程 模组教程
https://klpbbs.com/thread-142779-1-1.html
页: [1]
查看完整版本: 有没有佬看看为什么里面的武器方块没贴图