Cable work.

This commit is contained in:
Raoul Van den Berge
2016-03-19 16:16:22 +01:00
parent 4d7aa2d93a
commit ce3b7207d7
14 changed files with 354 additions and 183 deletions

View File

@@ -0,0 +1,67 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"all": "storagecraft:blocks/cable"
},
"model": "storagecraft:cable_core"
},
"variants": {
"north": {
"true": {
"submodel": "storagecraft:cable_north"
},
"false": {
}
},
"east": {
"true": {
"submodel": "storagecraft:cable_east"
},
"false": {
}
},
"south": {
"true": {
"submodel": "storagecraft:cable_south"
},
"false": {
}
},
"west": {
"true": {
"submodel": "storagecraft:cable_west"
},
"false": {
}
},
"up": {
"true": {
"submodel": "storagecraft:cable_up"
},
"false": {
}
},
"down": {
"true": {
"submodel": "storagecraft:cable_down"
},
"false": {
}
},
"direction": {
"north": {
},
"east": {
},
"south": {
},
"west": {
},
"up": {
},
"down": {
}
}
}
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "core",
"from": [-2, 14, 14],
"to": [2, 18, 18],
"faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": {
"uv": [4, 4, 8, 8],
"texture": "#all"
},
"south": {
"uv": [12, 4, 16, 8],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 8],
"texture": "#all"
},
"east": {
"uv": [0, 4, 4, 8],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "down",
"from": [-2, 18, 14],
"to": [2, 24, 18],
"faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": {
"uv": [4, 4, 8, 10],
"texture": "#all"
},
"south": {
"uv": [12, 4, 16, 10],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 10],
"texture": "#all"
},
"east": {
"uv": [0, 4, 4, 10],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "east",
"from": [-8, 14, 14],
"to": [-2, 18, 18],
"faces": {
"down": {
"uv": [16, 0, 10, 4],
"texture": "#all"
},
"up": {
"uv": [10, 4, 4, 0],
"texture": "#all"
},
"north": {
"uv": [4, 4, 10, 8],
"texture": "#all"
},
"south": {
"uv": [14, 4, 20, 8],
"texture": "#all"
},
"west": {
"uv": [10, 4, 14, 8],
"texture": "#all"
},
"east": {
"uv": [0, 4, 4, 8],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "north",
"from": [-2, 14, 8],
"to": [2, 18, 14],
"faces": {
"down": {
"uv": [14, 0, 10, 6],
"texture": "#all"
},
"up": {
"uv": [10, 6, 6, 0],
"texture": "#all"
},
"north": {
"uv": [6, 6, 10, 10],
"texture": "#all"
},
"south": {
"uv": [16, 6, 20, 10],
"texture": "#all"
},
"west": {
"uv": [10, 6, 16, 10],
"texture": "#all"
},
"east": {
"uv": [0, 6, 6, 10],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "south",
"from": [-2, 14, 18],
"to": [2, 18, 24],
"faces": {
"down": {
"uv": [14, 0, 10, 6],
"texture": "#all"
},
"up": {
"uv": [10, 6, 6, 0],
"texture": "#all"
},
"north": {
"uv": [6, 6, 10, 10],
"texture": "#all"
},
"south": {
"uv": [16, 6, 20, 10],
"texture": "#all"
},
"west": {
"uv": [10, 6, 16, 10],
"texture": "#all"
},
"east": {
"uv": [0, 6, 6, 10],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "up",
"from": [-2, 8, 14],
"to": [2, 14, 18],
"faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": {
"uv": [4, 4, 8, 10],
"texture": "#all"
},
"south": {
"uv": [12, 4, 16, 10],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 10],
"texture": "#all"
},
"east": {
"uv": [0, 4, 4, 10],
"texture": "#all"
}
}
}
]
}

View File

@@ -0,0 +1,35 @@
{
"elements": [
{
"__comment": "west",
"from": [2, 14, 14],
"to": [8, 18, 18],
"faces": {
"down": {
"uv": [16, 0, 10, 4],
"texture": "#all"
},
"up": {
"uv": [10, 4, 4, 0],
"texture": "#all"
},
"north": {
"uv": [4, 4, 10, 8],
"texture": "#all"
},
"south": {
"uv": [14, 4, 20, 8],
"texture": "#all"
},
"west": {
"uv": [10, 4, 14, 8],
"texture": "#all"
},
"east": {
"uv": [0, 4, 4, 8],
"texture": "#all"
}
}
}
]
}

View File

@@ -1,3 +0,0 @@
{
"parent": "builtin/entity"
}