Controller Model (#33)
* Implemented the controller models (using the UVL model loader to make the lights be fullbright at night).
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"multipart": [
|
||||
{
|
||||
"when": { "type": "block", "state": "offline" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_block_offline" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "block", "state": "online" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_block_online.uvl" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "block", "state": "conflicted" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_block_conflicted.uvl" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "column", "state": "offline" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_column_offline" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "column", "state": "online" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_column_online.uvl" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "column", "state": "conflicted" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_column_conflicted.uvl" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "inside_a", "state": "offline|online|conflicted" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_inside_a" }
|
||||
},
|
||||
{
|
||||
"when": { "type": "inside_b", "state": "offline|online|conflicted" },
|
||||
"apply": { "model": "appliedenergistics2:controller/controller_inside_b" }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 135, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"particle": "#block",
|
||||
"block": "appliedenergistics2:blocks/BlockControllerPowered",
|
||||
"lights": "appliedenergistics2:blocks/BlockControllerConflict"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "appliedenergistics2:blocks/BlockController"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 135, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"particle": "#block",
|
||||
"block": "appliedenergistics2:blocks/BlockControllerPowered",
|
||||
"lights": "appliedenergistics2:blocks/BlockControllerLights"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 135, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"particle": "#block",
|
||||
"block": "appliedenergistics2:blocks/BlockControllerColumnPowered",
|
||||
"lights": "appliedenergistics2:blocks/BlockControllerColumnConflict"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "appliedenergistics2:blocks/BlockControllerColumn"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"display": {
|
||||
"firstperson_righthand": {
|
||||
"rotation": [ 0, 135, 0 ],
|
||||
"translation": [ 0, 0, 0 ],
|
||||
"scale": [ 0.40, 0.40, 0.40 ]
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"particle": "#block",
|
||||
"block": "appliedenergistics2:blocks/BlockControllerColumnPowered",
|
||||
"lights": "appliedenergistics2:blocks/BlockControllerColumnLights"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"shade": false,
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#lights", "uvlightmap": { "sky": 0.007, "block": 0.007 }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [ 0, 0, 0 ],
|
||||
"to": [ 16, 16, 16 ],
|
||||
"faces": {
|
||||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"},
|
||||
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#block"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "appliedenergistics2:blocks/BlockControllerInsideA"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "block/cube_all",
|
||||
"textures": {
|
||||
"all": "appliedenergistics2:blocks/BlockControllerInsideB"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"parent": "appliedenergistics2:block/controller/controller_block_offline"
|
||||
}
|
||||
|
After Width: | Height: | Size: 307 B |
|
After Width: | Height: | Size: 268 B |
|
After Width: | Height: | Size: 264 B |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"animation": {
|
||||
"frametime": 3,
|
||||
"frames": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
0
|
||||
]
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 254 B |
|
After Width: | Height: | Size: 275 B |
|
After Width: | Height: | Size: 294 B |
|
After Width: | Height: | Size: 298 B |
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"animation": {
|
||||
"frametime": 3,
|
||||
"frames": [
|
||||
0,
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
9,
|
||||
10,
|
||||
11
|
||||
]
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 279 B |