Fix cables partly.

This commit is contained in:
Raoul Van den Berge
2016-03-19 17:05:07 +01:00
parent ce3b7207d7
commit 520dd743be
8 changed files with 243 additions and 235 deletions

View File

@@ -4,7 +4,8 @@
"textures": { "textures": {
"all": "storagecraft:blocks/cable" "all": "storagecraft:blocks/cable"
}, },
"model": "storagecraft:cable_core" "model": "storagecraft:cable_core",
"uvlock": true
}, },
"variants": { "variants": {
"north": { "north": {

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "core", "name": "Core",
"from": [-2, 14, 14], "from": [6.0, 6.0, 6.0],
"to": [2, 18, 18], "to": [10.0, 10.0, 10.0],
"faces": { "faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [4, 4, 8, 8], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [12, 4, 16, 8],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 8],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 4, 4, 8], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "down", "name": "Down",
"from": [-2, 18, 14], "from": [6.0, 0.0, 6.0],
"to": [2, 24, 18], "to": [10.0, 6.0, 10.0],
"faces": { "faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [4, 4, 8, 10], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [12, 4, 16, 10],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 10],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 4, 4, 10], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "east", "name": "East",
"from": [-8, 14, 14], "from": [10.0, 6.0, 6.0],
"to": [-2, 18, 18], "to": [16.0, 10.0, 10.0],
"faces": { "faces": {
"down": {
"uv": [16, 0, 10, 4],
"texture": "#all"
},
"up": {
"uv": [10, 4, 4, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [4, 4, 10, 8], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [14, 4, 20, 8],
"texture": "#all"
},
"west": {
"uv": [10, 4, 14, 8],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 4, 4, 8], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "north", "name": "North",
"from": [-2, 14, 8], "from": [6.0, 6.0, 0.0],
"to": [2, 18, 14], "to": [10.0, 10.0, 6.0],
"faces": { "faces": {
"down": {
"uv": [14, 0, 10, 6],
"texture": "#all"
},
"up": {
"uv": [10, 6, 6, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [6, 6, 10, 10], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [16, 6, 20, 10],
"texture": "#all"
},
"west": {
"uv": [10, 6, 16, 10],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 6, 6, 10], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "south", "name": "South",
"from": [-2, 14, 18], "from": [6.0, 6.0, 10.0],
"to": [2, 18, 24], "to": [10.0, 10.0, 16.0],
"faces": { "faces": {
"down": {
"uv": [14, 0, 10, 6],
"texture": "#all"
},
"up": {
"uv": [10, 6, 6, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [6, 6, 10, 10], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [16, 6, 20, 10],
"texture": "#all"
},
"west": {
"uv": [10, 6, 16, 10],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 6, 6, 10], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "up", "name": "Up",
"from": [-2, 8, 14], "from": [6.0, 10.0, 6.0],
"to": [2, 14, 18], "to": [10.0, 16.0, 10.0],
"faces": { "faces": {
"down": {
"uv": [12, 0, 8, 4],
"texture": "#all"
},
"up": {
"uv": [8, 4, 4, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [4, 4, 8, 10], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [12, 4, 16, 10],
"texture": "#all"
},
"west": {
"uv": [8, 4, 12, 10],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 4, 4, 10], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }

View File

@@ -1,33 +1,34 @@
{ {
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [ "elements": [
{ {
"__comment": "west", "name": "West",
"from": [2, 14, 14], "from": [0.0, 6.0, 6.0],
"to": [8, 18, 18], "to": [6.0, 10.0, 10.0],
"faces": { "faces": {
"down": {
"uv": [16, 0, 10, 4],
"texture": "#all"
},
"up": {
"uv": [10, 4, 4, 0],
"texture": "#all"
},
"north": { "north": {
"uv": [4, 4, 10, 8], "texture": "#all",
"texture": "#all" "uv": [4.0, 4.0, 8.0, 8.0]
},
"south": {
"uv": [14, 4, 20, 8],
"texture": "#all"
},
"west": {
"uv": [10, 4, 14, 8],
"texture": "#all"
}, },
"east": { "east": {
"uv": [0, 4, 4, 8], "texture": "#all",
"texture": "#all" "uv": [0.0, 4.0, 4.0, 8.0]
},
"south": {
"texture": "#all",
"uv": [12.0, 4.0, 16.0, 8.0]
},
"west": {
"texture": "#all",
"uv": [8.0, 4.0, 12.0, 8.0]
},
"up": {
"texture": "#all",
"uv": [8.0, 4.0, 4.0, 0.0]
},
"down": {
"texture": "#all",
"uv": [12.0, 0.0, 8.0, 4.0]
} }
} }
} }