#How to make my custom block rotatable?
2 messages · Page 1 of 1 (latest)
{
"textures": {
"0": "nextgen:block/side-top",
"1": "nextgen:block/side-bottom",
"3": "nextgen:block/upgrade-output",
"4": "nextgen:block/upgrade-input",
"5": "nextgen:block/default-side01",
"6": "nextgen:block/default-side02",
"particle": "nextgen:block/side-top"
},
"elements": [
{
"from": [
0,
0,
0
],
"to": [
16,
16,
16
],
"faces": {
"north": {
"uv": [
0,
0,
16,
16
],
"texture": "#4"
},
"east": {
"uv": [
0,
0,
16,
16
],
"texture": "#6"
},
"south": {
"uv": [
0,
0,
16,
16
],
"texture": "#3"
},
"west": {
"uv": [
0,
0,
16,
16
],
"texture": "#5"
},
"up": {
"uv": [
0,
0,
16,
16
],
"texture": "#0"
},
"down": {
"uv": [
0,
0,
16,
16
],
"texture": "#1"
}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [
30,
-60,
0
],
"scale": [
0.22,
0.22,
0.22
]
},
"thirdperson_lefthand": {
"rotation": [
30,
-60,
0
],
"scale": [
0.22,
0.22,
0.22
]
},
"firstperson_righthand": {
"rotation": [
0,
90,
0
],
"scale": [
0.31,
0.31,
0.31
]
},
"firstperson_lefthand": {
"rotation": [
0,
-90,
0
],
"scale": [
0.31,
0.31,
0.31
]
},
"ground": {
"scale": [
0.3,
0.3,
0.3
]
},
"gui": {
"rotation": [
30,
45,
0
],
"scale": [
0.46,
0.46,
0.46
]
},
"head": {
"scale": [
0.87,
0.87,
0.87
]
},
"fixed": {
"translation": [
0,
0,
3.5
],
"scale": [
0.59,
0.59,
0.59
]
}
}
}