Add Interface textures

This commit is contained in:
Shadowfacts 2021-03-12 17:13:10 -05:00
parent 0d629914c4
commit 8b24eeb398
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
5 changed files with 26 additions and 49 deletions

BIN
assets/interface.xcf Normal file

Binary file not shown.

View File

@ -1,19 +1,22 @@
{
"parent": "block/block",
"textures": {
"cable": "phycon:block/cable_straight"
"cable": "phycon:block/cable_straight",
"particle": "#front",
"back": "phycon:block/interface_back",
"front": "phycon:block/interface_front"
},
"elements": [
{
"from": [2, 0, 2],
"to": [14, 2, 14],
"faces": {
"down": { "texture": "phycon:block/interface_front" },
"up": { "texture": "phycon:block/interface_back" },
"north": { "texture": "phycon:block/interface_side" },
"south": { "texture": "phycon:block/interface_side" },
"west": { "texture": "phycon:block/interface_side" },
"east": { "texture": "phycon:block/interface_side" }
"down": { "texture": "#front" },
"up": { "texture": "#back" },
"north": { "texture": "#back" },
"south": { "texture": "#back" },
"west": { "texture": "#back" },
"east": { "texture": "#back" }
}
},
{

View File

@ -3,51 +3,25 @@
"display": {
"firstperson_righthand": {
"rotation": [ 0, 215, 0 ],
"translation": [0, 0, 0],
"scale": [0.4, 0.4, 0.4]
},
"thirdperson_righthand": {
"rotation": [75, 215, 0],
"translation": [0, -2.5, 0],
"scale": [0.375, 0.375, 0.375]
"translation": [ 3, 0, -3 ],
"scale": [ 0.40, 0.40, 0.40 ]
}
},
"textures": {
"front": "phycon:block/interface_front",
"back": "phycon:block/switch"
},
"elements": [
{
"_comment": "cable center",
"from": [6, 6, 6],
"to": [10, 10, 10],
"from": [14, 2, 2],
"to": [16, 14, 14],
"faces": {
"down": { "texture": "phycon:block/cable_center" },
"up": { "texture": "phycon:block/cable_center" },
"north": { "texture": "phycon:block/cable_center" },
"south": { "texture": "phycon:block/cable_center" },
"west": { "texture": "phycon:block/cable_center" },
"east": { "texture": "phycon:block/cable_center" }
}
},
{
"_comment": "interface side",
"from": [2, 2, 14],
"to": [14, 14, 16],
"faces": {
"down": { "texture": "phycon:block/interface_side" },
"up": { "texture": "phycon:block/interface_side" },
"north": { "texture": "phycon:block/interface_front" },
"south": { "texture": "phycon:block/interface_back" },
"west": { "texture": "phycon:block/interface_side" },
"east": { "texture": "phycon:block/interface_side" }
}
},
{
"_comment": "interface middle",
"from": [6, 6, 10],
"to": [10, 10, 14],
"faces": {
"down": { "texture": "phycon:block/cable_side" },
"up": { "texture": "phycon:block/cable_side" },
"west": { "texture": "phycon:block/cable_side" },
"east": { "texture": "phycon:block/cable_side" }
"down": { "texture": "#back" },
"up": { "texture": "#back" },
"north": { "texture": "#back" },
"south": { "texture": "#back" },
"west": { "texture": "#back" },
"east": { "texture": "#front" }
}
}
]

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B