花园豌豆
我想做一个的材质包,可是我却不会修改武器模型的大小。虽然放大了,可是材质却变成了错误贴图(紫黑格),谁可以告诉我该怎么办啊?
我想修改的是钻石剑
版本:1.14.2
大小的话就根据图片来做

SPGoding
模型大小与贴图大小无关。


你需要修改 assets/minecraft/models/item/diamond_sword.json,在其中 display 的相关部分添加 scale。
具体格式请见https://minecraft-zh.gamepedia.com/模型


例子:
"display": {
    "firstperson_righthand": {
  "scale": [1.5, 1.5, 1.5]
    }
}




气死个谁。

粘兽
本帖最后由 粘兽sama 于 2019-5-29 18:36 编辑

你需要设置对应json模型的参数。

自己用的一个较大武器的json模型。
如果觉得还是小可以自己设置一下scale参数。
  1. {
  2.   "parent": "item/generated",
  3.   "textures": {
  4.     "layer0": "贴图路径"
  5.   },
  6.   "display": {
  7.     "thirdperson_righthand": {
  8.       "rotation": [0,-90,55],
  9.       "translation": [0,6,0.5],
  10.       "scale": [1.25,1.25,0.85]
  11.     },
  12.     "thirdperson_lefthand": {
  13.       "rotation": [0,90,-55],
  14.       "translation": [0,6,0.5],
  15.       "scale": [1.25,1.25,0.85]
  16.     },
  17.     "firstperson_righthand": {
  18.       "rotation": [0,-90,25],
  19.       "translation": [1.13,5,1.13],
  20.       "scale": [0.68,0.68,0.68]
  21.     },
  22.     "firstperson_lefthand": {
  23.       "rotation": [0,90,-25],
  24.       "translation": [1.13,3.2,1.13],
  25.       "scale": [0.68,0.68,0.68]
  26.     }
  27.   }
  28. }
复制代码


花园豌豆
粘兽sama 发表于 2019-5-29 17:19
你需要设置对应json模型的参数。

自己用的一个较大武器的json模型。

谢谢了,不过来好像还是错误贴图

第一页 上一页 下一页 最后一页