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", "parent": "block/block",
"textures": { "textures": {
"cable": "phycon:block/cable_straight" "cable": "phycon:block/cable_straight",
"particle": "#front",
"back": "phycon:block/interface_back",
"front": "phycon:block/interface_front"
}, },
"elements": [ "elements": [
{ {
"from": [2, 0, 2], "from": [2, 0, 2],
"to": [14, 2, 14], "to": [14, 2, 14],
"faces": { "faces": {
"down": { "texture": "phycon:block/interface_front" }, "down": { "texture": "#front" },
"up": { "texture": "phycon:block/interface_back" }, "up": { "texture": "#back" },
"north": { "texture": "phycon:block/interface_side" }, "north": { "texture": "#back" },
"south": { "texture": "phycon:block/interface_side" }, "south": { "texture": "#back" },
"west": { "texture": "phycon:block/interface_side" }, "west": { "texture": "#back" },
"east": { "texture": "phycon:block/interface_side" } "east": { "texture": "#back" }
} }
}, },
{ {

View File

@ -2,52 +2,26 @@
"parent": "block/block", "parent": "block/block",
"display": { "display": {
"firstperson_righthand": { "firstperson_righthand": {
"rotation": [0, 215, 0], "rotation": [ 0, 215, 0 ],
"translation": [0, 0, 0], "translation": [ 3, 0, -3 ],
"scale": [0.4, 0.4, 0.4] "scale": [ 0.40, 0.40, 0.40 ]
},
"thirdperson_righthand": {
"rotation": [75, 215, 0],
"translation": [0, -2.5, 0],
"scale": [0.375, 0.375, 0.375]
} }
}, },
"textures": {
"front": "phycon:block/interface_front",
"back": "phycon:block/switch"
},
"elements": [ "elements": [
{ {
"_comment": "cable center", "from": [14, 2, 2],
"from": [6, 6, 6], "to": [16, 14, 14],
"to": [10, 10, 10],
"faces": { "faces": {
"down": { "texture": "phycon:block/cable_center" }, "down": { "texture": "#back" },
"up": { "texture": "phycon:block/cable_center" }, "up": { "texture": "#back" },
"north": { "texture": "phycon:block/cable_center" }, "north": { "texture": "#back" },
"south": { "texture": "phycon:block/cable_center" }, "south": { "texture": "#back" },
"west": { "texture": "phycon:block/cable_center" }, "west": { "texture": "#back" },
"east": { "texture": "phycon:block/cable_center" } "east": { "texture": "#front" }
}
},
{
"_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" }
} }
} }
] ]

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B