diff --git a/src/main/resources/assets/storagecraft/blockstates/cable.json b/src/main/resources/assets/storagecraft/blockstates/cable.json index 82ea2fb77..6443cd9bf 100644 --- a/src/main/resources/assets/storagecraft/blockstates/cable.json +++ b/src/main/resources/assets/storagecraft/blockstates/cable.json @@ -4,7 +4,8 @@ "textures": { "all": "storagecraft:blocks/cable" }, - "model": "storagecraft:cable_core" + "model": "storagecraft:cable_core", + "uvlock": true }, "variants": { "north": { diff --git a/src/main/resources/assets/storagecraft/models/block/cable_core.json b/src/main/resources/assets/storagecraft/models/block/cable_core.json index a951b8623..7fca82c2c 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_core.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_core.json @@ -1,35 +1,36 @@ { + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", "elements": [ { - "__comment": "core", - "from": [-2, 14, 14], - "to": [2, 18, 18], + "name": "Core", + "from": [6.0, 6.0, 6.0], + "to": [10.0, 10.0, 10.0], "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" + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] }, "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] } } } ] -} +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_down.json b/src/main/resources/assets/storagecraft/models/block/cable_down.json index c16a703c6..29b512eb5 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_down.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_down.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "Down", + "from": [6.0, 0.0, 6.0], + "to": [10.0, 6.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_east.json b/src/main/resources/assets/storagecraft/models/block/cable_east.json index 058b09c72..10aad3374 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_east.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_east.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "East", + "from": [10.0, 6.0, 6.0], + "to": [16.0, 10.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_north.json b/src/main/resources/assets/storagecraft/models/block/cable_north.json index db31ec8d5..db2875e5e 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_north.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_north.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "North", + "from": [6.0, 6.0, 0.0], + "to": [10.0, 10.0, 6.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_south.json b/src/main/resources/assets/storagecraft/models/block/cable_south.json index e3c1e9875..9dbd6a5b5 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_south.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_south.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "South", + "from": [6.0, 6.0, 10.0], + "to": [10.0, 10.0, 16.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_up.json b/src/main/resources/assets/storagecraft/models/block/cable_up.json index d3e8eff55..ddddd6029 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_up.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_up.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "Up", + "from": [6.0, 10.0, 6.0], + "to": [10.0, 16.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/storagecraft/models/block/cable_west.json b/src/main/resources/assets/storagecraft/models/block/cable_west.json index f621a35fa..46b37e739 100644 --- a/src/main/resources/assets/storagecraft/models/block/cable_west.json +++ b/src/main/resources/assets/storagecraft/models/block/cable_west.json @@ -1,35 +1,36 @@ -{ - "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" - } - } - } - ] -} +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "West", + "from": [0.0, 6.0, 6.0], + "to": [6.0, 10.0, 10.0], + "faces": { + "north": { + "texture": "#all", + "uv": [4.0, 4.0, 8.0, 8.0] + }, + "east": { + "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] + } + } + } + ] +} \ No newline at end of file