Implemented security station rendering.

This commit is contained in:
Sebastian Hartte
2016-08-26 13:59:59 +02:00
parent 0316c1de58
commit b28d468935
11 changed files with 157 additions and 15 deletions
@@ -1,7 +1,6 @@
{
"variants": {
"normal": {
"model": "appliedenergistics2:security_station"
}
}
}
"variants": {
"powered=false": { "model": "appliedenergistics2:security_station_off" },
"powered=true": { "model": "appliedenergistics2:security_station_on" }
}
}
@@ -1,8 +0,0 @@
{
"parent": "block/cube_bottom_top",
"textures": {
"bottom": "appliedenergistics2:blocks/security_station_bottom",
"side": "appliedenergistics2:blocks/security_station_side",
"top": "appliedenergistics2:blocks/security_station"
}
}
@@ -0,0 +1,47 @@
{
"parent": "block/block",
"textures": {
"particle": "appliedenergistics2:blocks/security_station_side",
"side": "appliedenergistics2:blocks/security_station_side",
"bottom": "appliedenergistics2:blocks/security_station_bottom",
"top": "appliedenergistics2:blocks/security_station_top",
"lightsBright": "appliedenergistics2:blocks/security_station_light_bright",
"lightsMedium": "appliedenergistics2:blocks/security_station_light_medium",
"lightsDark": "appliedenergistics2:blocks/security_station_light_dark"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "texture": "#bottom" },
"up": { "texture": "#top"},
"north": { "texture": "#side"},
"south": { "texture": "#side"},
"west": { "texture": "#side"},
"east": { "texture": "#side"}
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsBright", "tintindex": 0 }
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsMedium", "tintindex": 1 }
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsDark", "tintindex": 2 }
}
}
]
}
@@ -0,0 +1,48 @@
{
"uvlMarker": true,
"parent": "block/block",
"textures": {
"particle": "appliedenergistics2:blocks/security_station_side",
"side": "appliedenergistics2:blocks/security_station_side",
"bottom": "appliedenergistics2:blocks/security_station_bottom",
"top": "appliedenergistics2:blocks/security_station_top",
"lightsBright": "appliedenergistics2:blocks/security_station_light_bright",
"lightsMedium": "appliedenergistics2:blocks/security_station_light_medium",
"lightsDark": "appliedenergistics2:blocks/security_station_light_dark"
},
"elements": [
{
"from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "texture": "#bottom" },
"up": { "texture": "#top"},
"north": { "texture": "#side"},
"south": { "texture": "#side"},
"west": { "texture": "#side"},
"east": { "texture": "#side"}
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsBright", "tintindex": 0, "uvlightmap": { "sky": 0.007, "block": 0.007 } }
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsMedium", "tintindex": 1, "uvlightmap": { "sky": 0.007, "block": 0.007 } }
}
},
{
"from": [ 0, 15, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"up": { "texture": "#lightsDark", "tintindex": 2, "uvlightmap": { "sky": 0.007, "block": 0.007 } }
}
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B