cable stuff

This commit is contained in:
2026-04-27 11:20:22 +02:00
parent 6532fea543
commit 883833351c
7 changed files with 89 additions and 46 deletions

View File

@@ -2,19 +2,19 @@
"parent": "minecraft:block/block",
"render_type": "minecraft:solid",
"textures": {
"cap": "neocomputers:block/cable_body"
"body": "neocomputers:block/cable_body"
},
"elements": [
{
"from": [6, 6, 6],
"to": [10, 10, 10],
"faces": {
"north": { "uv": [6,6,10,10], "texture": "#cap" },
"east": { "uv": [6,6,10,10], "texture": "#cap" },
"west": { "uv": [6,6,10,10], "texture": "#cap" },
"south": { "uv": [6,6,10,10], "texture": "#cap" },
"up": { "uv": [0,0, 5, 5], "texture": "#cap" },
"down": { "uv": [0,0, 5, 5], "texture": "#cap" }
"north": { "uv": [6,6,10,10], "texture": "#body", "tintindex": 0 },
"east": { "uv": [6,6,10,10], "texture": "#body", "tintindex": 0 },
"west": { "uv": [6,6,10,10], "texture": "#body", "tintindex": 0 },
"south": { "uv": [6,6,10,10], "texture": "#body", "tintindex": 0 },
"up": { "uv": [0,0, 5, 5], "texture": "#body", "tintindex": 0 },
"down": { "uv": [0,0, 5, 5], "texture": "#body", "tintindex": 0 }
}
}
]

View File

@@ -10,11 +10,11 @@
"from": [6, 6, 10],
"to": [10, 10, 16],
"faces": {
"east": { "uv": [4,4,11,11], "texture": "#body" },
"west": { "uv": [4,4,11,11], "texture": "#body" },
"up": { "uv": [4,4,11,11], "texture": "#body" },
"down": { "uv": [4,4,11,11], "texture": "#body" },
"south": { "uv": [6, 6, 10, 10], "texture": "#cap"}
"east": { "uv": [4,4,11,11], "texture": "#body", "tintindex": 0 },
"west": { "uv": [4,4,11,11], "texture": "#body", "tintindex": 0 },
"up": { "uv": [4,4,11,11], "texture": "#body", "tintindex": 0 },
"down": { "uv": [4,4,11,11], "texture": "#body", "tintindex": 0 },
"south": { "uv": [6, 6, 10, 10], "texture": "#cap", "tintindex": 0}
}
}
]

View File

@@ -7,20 +7,20 @@
},
"elements": [
{
"from": [6, -2, 6],
"to": [10, 18, 10],
"from": [6, 1, 6],
"to": [10, 15, 10],
"faces": {
"east": { "uv": [0,0,5,16], "texture": "#body" },
"west": { "uv": [0,0,5,16], "texture": "#body" },
"north": { "uv": [0,0,5,16], "texture": "#body" },
"south": { "uv": [0,0,5,16], "texture": "#body" },
"up": { "uv": [0,0,5,16], "texture": "#body" },
"down": { "uv": [0,0,5,16], "texture": "#body" }
"east": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 },
"west": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 },
"north": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 },
"south": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 },
"up": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 },
"down": { "uv": [0,0,5,16], "texture": "#body", "tintindex": 0 }
}
},
{
"from": [4, -3, 4],
"to": [12, -2, 12],
"from": [4, 0, 4],
"to": [12, 1, 12],
"faces": {
"east": { "uv": [0,0,4,4], "texture": "#cap" },
"west": { "uv": [0,0,4,4], "texture": "#cap" },
@@ -30,8 +30,8 @@
}
},
{
"from": [4, 18, 4],
"to": [12, 19, 12],
"from": [4, 15, 4],
"to": [12, 16, 12],
"faces": {
"east": { "uv": [0,0,4,4], "texture": "#cap" },
"west": { "uv": [0,0,4,4], "texture": "#cap" },