我也会来提问啊 真是没想过呢= .=
纯净1.8,无光影,材质包,自定义方块模型。
不知抽了哪根筋去弄了下模型为自己的存档做准备,一切都还挺顺利,除了设置display时好像出问题了。
wiki下是说明有ground和fixed的。而fixed用于展示框,但是我设置fixed的scale为1,1,1的时候,和旁边没设置的红石大小完全相同。
ground老早前试过成功了,刚才网上搜display的fixed问题时看到有人报告ground不行....所以谁来顺便看看ground。
就顺手设置了下thirdperson为2,2,2一切顺利....所以到底是fixed没用还是我被wiki耍了一道.....
纯净1.8,无光影,材质包,自定义方块模型。
不知抽了哪根筋去弄了下模型为自己的存档做准备,一切都还挺顺利,除了设置display时好像出问题了。
display: Holds the different places where item models are displayed.
thirdperson_righthand, thirdperson_lefthand, firstperson_righthand, firstperson_lefthand, gui, head, ground, or fixed: Place where an item model is displayed. Holds its rotation, translation and scale for the specified situation. fixed refers to item frames, while the rest are as their name states. Note that translations are applied to the model before rotations.
ground老早前试过成功了,刚才网上搜display的fixed问题时看到有人报告ground不行....所以谁来顺便看看ground。
就顺手设置了下thirdperson为2,2,2一切顺利....所以到底是fixed没用还是我被wiki耍了一道.....
我成功改过展示框中物品大小
印象里2.0,2.0,2.0是和其他地方一样大
印象里2.0,2.0,2.0是和其他地方一样大
chyx 发表于 2016-8-20 19:37
我成功改过展示框中物品大小
印象里2.0,2.0,2.0是和其他地方一样大
默认是0.375 0.375 0.375
选值范围0~4
或许我哪里疏忽啦= =
⊙v⊙ 发表于 2016-8-21 13:46
默认是0.375 0.375 0.375
选值范围0~4
或许我哪里疏忽啦= =
{
"display": {
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0,0, 0],
"scale":[2,2,2]
}
},
"textures": {
"texture": "blocks/snow"
},
"__comment": "Designed by Teamcbl with BDcraft Cubik PRO 0.96 Beta - http://bdcraft.net",
"elements": [
{
"__comment": "??01",
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": {"texture": "#texture" },
"up": {"texture": "#texture" },
"north": {"texture": "#texture" },
"south": {"texture": "#texture" },
"west": {"texture": "#texture" },
"east": {"texture": "#texture" }
}
}
]
}
⊙v⊙ 发表于 2016-8-21 13:46
默认是0.375 0.375 0.375
选值范围0~4
或许我哪里疏忽啦= =
默认都是1 1 1 你认为是0.375是因为他继承于一个文件 而那个文件是0.375
我试了 你不继承或者让他是
"display": {
"fixed": {
"rotation": [ 0, 0, 0 ],
"translation": [ 0,0, 0],
"scale":[2,2,2]
}
}
就是1m*1m*1m
你把你的文件发过来,我也是做模型的
你给的我试过啦,没用。
item用parent指向models\block内的模型,并给上display thirdperson和fixed。
而模型本身并没有写上display,模型本身也没有parent。
早试过同时修改thirdperson和fixed,thirdperson管用,所以确定格式是没错的。
在想到底是版本问题还是代码里根本没有fixed...
嘛...解决了,材质包直接复制到1.10没异常,1.8.0版本自身问题...............
大佬上次求你教我材质包自带的shaders又不教= .=
对不起 是我疏忽了 我没注意到版本
你不早问我……
fixed在1.8是没用的,最低要到1.8.8才开始正常
fixed在1.8是没用的,最低要到1.8.8才开始正常