MSnj_studioX 发表于 2023-2-7 11:04:48

1.19.3编写模组方块贴图丢失

本帖最后由 MSnj_studioX 于 2023-2-10 16:46 编辑


问题已解决!
解决方案 : 将贴图路径从Blocks修改成block

如图,我将RCC模组移植到了1.19.3,结果方块贴图都是丢失的

而且写的代码是没错的(应该吧



代码照抄Fabric Wiki的,有办法解决吗
MTR也是一样的代码,但是就能显示贴图


报错补充内容:


<div> (Minecraft) Missing textures in model tcwm:sign_1#facing=east:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/expwy_start
(Minecraft) Missing textures in model tcwm:sign_1#facing=south:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/expwy_start
(Minecraft) Missing textures in model tcwm:sign_1#facing=north:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/expwy_start
(Minecraft) Missing textures in model tcwm:logo#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/wu_biao_ti_
(Minecraft) Missing textures in model tcwm:peoplemangdao#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:white_marble#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/oip-c
(Minecraft) Missing textures in model tcwm:marble2#:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/not_polished_marble
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack_slab#type=top,waterlogged=true:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack_slab#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:tunnelline#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1_-_fu_ben_
    minecraft:textures/atlas/blocks.png:tcwm:blocks/tunnel_cable_base
(Minecraft) Missing textures in model tcwm:tunnellinenoblock#facing=west,waterlogged=false:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1_-_fu_ben_
(Minecraft) Missing textures in model tcwm:platform#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/platform_cn
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack#facing=north:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:peoplemangdao_slab#type=bottom,waterlogged=true:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:sign_3#facing=west:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/parking
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack#facing=east:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:tunnellight#facing=south,waterlogged=false:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/light
(Minecraft) Missing textures in model tcwm:sign_2#facing=south:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/expwy_exit
(Minecraft) Missing textures in model tcwm:tunnellinenoblock#facing=east,waterlogged=true:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1_-_fu_ben_
(Minecraft) Missing textures in model tcwm:sign_2#facing=east:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/expwy_exit
(Minecraft) Missing textures in model tcwm:peoplemangdao#facing=south:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:signpole#waterlogged=true:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/dex
    minecraft:textures/atlas/blocks.png:tcwm:blocks/pt
(Minecraft) Missing textures in model tcwm:peoplemangdao#facing=north:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:peoplemangdao_slab#type=top,waterlogged=false:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:marble#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/marble.png
(Minecraft) Missing textures in model tcwm:window#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/window_glass
(Minecraft) Missing textures in model tcwm:tunnelline#facing=east:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1_-_fu_ben_
    minecraft:textures/atlas/blocks.png:tcwm:blocks/tunnel_cable_base
(Minecraft) Missing textures in model tcwm:sign_3#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/parking
(Minecraft) Missing textures in model tcwm:marble#:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/marble.png
(Minecraft) Missing textures in model tcwm:signpole#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/dex
    minecraft:textures/atlas/blocks.png:tcwm:blocks/pt
(Minecraft) Missing textures in model tcwm:tunnellight#facing=west,waterlogged=true:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/light
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack#facing=south:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:logo#:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/wu_biao_ti_
(Minecraft) Missing textures in model tcwm:peoplemangdao#facing=west:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdao
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mangdaofu
(Minecraft) Missing textures in model tcwm:sign_3#facing=south:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/parking
(Minecraft) Missing textures in model tcwm:driverposition_bars#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/stpan
(Minecraft) Missing textures in model tcwm:peoplemangdaoblack#facing=west:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdb
    minecraft:textures/atlas/blocks.png:tcwm:blocks/mdbc
(Minecraft) Missing textures in model tcwm:sign_3#facing=east:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/parking
(Minecraft) Missing textures in model tcwm:white_marble#:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/oip-c
(Minecraft) Missing textures in model tcwm:marble2#inventory:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/not_polished_marble
(Minecraft) Missing textures in model tcwm:tunnelline#facing=north:
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1
    minecraft:textures/atlas/blocks.png:tcwm:blocks/texture1_-_fu_ben_
    minecraft:textures/atlas/blocks.png:tcwm:blocks/tunnel_cable_base</div>





模组开发

XHG78999 发表于 2023-2-7 11:13:44

variant为空可能被弄掉了,改成一些别的试试

KKWing22 发表于 2023-2-7 11:20:37

去mcbbs啥的是不是会更好(

MSnj_studioX 发表于 2023-2-7 11:24:05

XHG78999 发表于 2023-2-7 11:13
variant为空可能被弄掉了,改成一些别的试试

应该和这没关系,因为没有variants为空的blockstates方块也丢失了贴图,但模型还在

XHG78999 发表于 2023-2-7 11:29:14

MSnj_studioX 发表于 2023-2-7 11:24
应该和这没关系,因为没有variants为空的blockstates方块也丢失了贴图,但模型还在 ...

那么既然原版贴图没炸,那么建议查查资源路径,你看看要不要加.png

MSnj_studioX 发表于 2023-2-7 17:20:41

XHG78999 发表于 2023-2-7 11:29
那么既然原版贴图没炸,那么建议查查资源路径,你看看要不要加.png

资源路径是正确的,然后加.png我也试过了,没效果

dannyfeng2023 发表于 2023-2-7 23:17:22

我记起来了,1.19.3d有大部分不兼容,就比如joban的小屏蔽门。如果技术可以的话要不把rcc写成追加,我这周试试

MSnj_studioX 发表于 2023-2-9 13:50:37

dannyfeng2023 发表于 2023-2-7 23:17
我记起来了,1.19.3d有大部分不兼容,就比如joban的小屏蔽门。如果技术可以的话要不把rcc写成追加,我这周 ...

写成追加的话上哪里调用模组加载器的代码呢:D
页: [1]
查看完整版本: 1.19.3编写模组方块贴图丢失