piston bellows is working with animations needs sounds updated rendering for 3rd persion and gui

This commit is contained in:
Mohammad-Ali Minaie
2017-01-07 23:36:22 -05:00
parent 597cd056bc
commit 4f0b965f57
22 changed files with 576 additions and 258 deletions

Binary file not shown.

View File

@@ -0,0 +1,24 @@
{
"joints": {
"head": { "0": [ 1.0 ], "1": [ 1.0 ], "2": [ 1.0 ], "3": [ 1.0 ] }
},
"clips": {
"default": {
"loop": false,
"joint_clips": {},
"events": {}
},
"moving": {
"loop": false,
"joint_clips": {
"head": [{
"variable": "offset_z",
"type": "uniform",
"interpolation": "linear",
"samples": [ 0, 0.5, 0 ]
}]
},
"events": {}
}
}
}

View File

@@ -0,0 +1,13 @@
{
"parameters": {},
"clips": {
"default": "forgecraft:block/pump_head@default",
"moving": [ "apply", "forgecraft:block/pump_head@moving", "#move" ]
},
"states": [ "default", "moving" ],
"transitions": {
"default": "moving",
"moving": "default"
},
"start_state": "default"
}

View File

@@ -1,8 +1,12 @@
{
"variants": {
"facing=north": { "model": "forgecraft:pistonbellows" },
"facing=east": { "model": "forgecraft:pistonbellows", "y": 90 },
"facing=south": { "model": "forgecraft:pistonbellows", "y": 180 },
"facing=west": { "model": "forgecraft:pistonbellows", "y": 270 }
"active=false,facing=north": { "model": "forgecraft:pistonbellows" },
"active=true,facing=north": { "model": "forgecraft:pistonbellows" },
"active=false,facing=east": { "model": "forgecraft:pistonbellows", "y": 90 },
"active=true,facing=east": { "model": "forgecraft:pistonbellows", "y": 90 },
"active=false,facing=south": { "model": "forgecraft:pistonbellows", "y": 180 },
"active=true,facing=south": { "model": "forgecraft:pistonbellows", "y": 180 },
"active=false,facing=west": { "model": "forgecraft:pistonbellows", "y": 270 },
"active=true,facing=west": { "model": "forgecraft:pistonbellows", "y": 270 }
}
}

View File

@@ -96,5 +96,19 @@
"east": { "uv": [ 0, 0, 0, 8 ], "texture": "#texture" }
}
}
]
],
"display": {
"thirdperson_righthand": {
"rotation": [ 60, 45, 0 ],
"scale": [ 0.5, 0.6, 0.5 ]
},
"firstperson_righthand": {
"rotation": [ 0, 45, 0 ],
"scale": [ 0.7, 0.7, 0.7 ]
},
"gui": {
"rotation": [ 45, 45, 0 ],
"scale": [ 0.6, 0.6, 0.6 ]
}
}
}

View File

@@ -1,8 +1,8 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "forgecraft:blocks/checker_test",
"texture_test": "forgecraft:blocks/checker_test",
"particle": "blocks/checker_test",
"texture_test": "blocks/checker_test",
"texture": "blocks/planks_oak"
},
"elements": [
@@ -32,32 +32,6 @@
"east": { "uv": [ 15, 5, 16, 15 ], "texture": "#texture" }
}
},
{
"__comment": "piston_arm",
"from": [ 7.5, 3, 2 ],
"to": [ 8.5, 4, 15 ],
"faces": {
"down": { "uv": [ 7.5, 1, 8.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 2, 8.5, 15 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 12, 8.5, 13 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 12, 8.5, 13 ], "texture": "#texture" },
"west": { "uv": [ 2, 12, 15, 13 ], "texture": "#texture" },
"east": { "uv": [ 1, 12, 14, 13 ], "texture": "#texture" }
}
},
{
"__comment": "piston_arm1",
"from": [ 7.5, 8, 2 ],
"to": [ 8.5, 9, 15 ],
"faces": {
"down": { "uv": [ 7.5, 1, 8.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 2, 8.5, 15 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"west": { "uv": [ 2, 11, 15, 12 ], "texture": "#texture" },
"east": { "uv": [ 1, 11, 14, 12 ], "texture": "#texture" }
}
},
{
"__comment": "wall",
"from": [ 3, 3, 13 ],
@@ -162,19 +136,6 @@
"east": { "uv": [ 2, 13, 3, 15 ], "texture": "#texture" }
}
},
{
"__comment": "piston_arm2",
"from": [ 7.5, 2, 15 ],
"to": [ 8.5, 10, 16 ],
"faces": {
"down": { "uv": [ 7.5, 0, 8.5, 1 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 15, 8.5, 16 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 6, 8.5, 14 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 6, 8.5, 14 ], "texture": "#texture" },
"west": { "uv": [ 15, 6, 16, 14 ], "texture": "#texture" },
"east": { "uv": [ 0, 6, 1, 14 ], "texture": "#texture" }
}
},
{
"__comment": "wall8",
"from": [ 3, 1, 1 ],
@@ -266,5 +227,19 @@
"east": { "uv": [ 4, 5, 5, 15 ], "texture": "#texture" }
}
}
]
],
"display": {
"thirdperson_righthand": {
"rotation": [ 60, 45, 0 ],
"scale": [ 0.5, 0.6, 0.5 ]
},
"firstperson_righthand": {
"rotation": [ 0, 45, 0 ],
"scale": [ 0.7, 0.7, 0.7 ]
},
"gui": {
"rotation": [ 45, 45, 0 ],
"scale": [ 0.6, 0.6, 0.6 ]
}
}
}

View File

@@ -0,0 +1,62 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/checker_test",
"texture_test": "blocks/checker_test",
"texture": "blocks/planks_oak"
},
"elements": [
{
"__comment": "piston_arm",
"from": [ 7.5, 3, 2 ],
"to": [ 8.5, 4, 15 ],
"faces": {
"down": { "uv": [ 7.5, 1, 8.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 2, 8.5, 15 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 12, 8.5, 13 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 12, 8.5, 13 ], "texture": "#texture" },
"west": { "uv": [ 2, 12, 15, 13 ], "texture": "#texture" },
"east": { "uv": [ 1, 12, 14, 13 ], "texture": "#texture" }
}
},
{
"__comment": "piston_arm1",
"from": [ 7.5, 8, 2 ],
"to": [ 8.5, 9, 15 ],
"faces": {
"down": { "uv": [ 7.5, 1, 8.5, 14 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 2, 8.5, 15 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"west": { "uv": [ 2, 11, 15, 12 ], "texture": "#texture" },
"east": { "uv": [ 1, 11, 14, 12 ], "texture": "#texture" }
}
},
{
"__comment": "piston_arm2",
"from": [ 7.5, 2, 15 ],
"to": [ 8.5, 10, 16 ],
"faces": {
"down": { "uv": [ 7.5, 0, 8.5, 1 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 15, 8.5, 16 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 6, 8.5, 14 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 6, 8.5, 14 ], "texture": "#texture" },
"west": { "uv": [ 15, 6, 16, 14 ], "texture": "#texture" },
"east": { "uv": [ 0, 6, 1, 14 ], "texture": "#texture" }
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [ 0, 0, -6.9 ]
},
"gui": {
"rotation": [ 90, 0, -90 ],
"translation": [ 2, 1, 0 ]
},
"fixed": {
"rotation": [ 90, 0, -90 ],
"translation": [ 2, 1, 0 ]
}
}
}

View File

@@ -4,41 +4,5 @@
"particle": "forgecraft:blocks/brick",
"texture": "forgecraft:blocks/brick"
},
"parent": "forgecraft:block/firebox",
"display": {
"thirdperson_": {
"rotation": [
0,
0,
0
],
"translation": [
0,
0,
0
],
"scale": [
0.1,
0.1,
0.1
]
},
"firstperson": {
"rotation": [
0,
0,
0
],
"translation": [
0,
0,
0
],
"scale": [
0.1,
0.1,
0.1
]
}
}
"parent": "forgecraft:block/firebox"
}

View File

@@ -0,0 +1,9 @@
{
"forge_marker":1,
"textures": {
"particle": "blocks/checker_test",
"texture_test": "blocks/checker_test",
"texture": "blocks/planks_oak"
},
"parent": "forgecraft:block/pistonbellows"
}