Added CTM integration for Reader and Writer

This commit is contained in:
raoulvdberge
2017-07-30 20:52:29 +02:00
parent 66b9825894
commit a6e45ee8fa
9 changed files with 428 additions and 50 deletions

View File

@@ -0,0 +1,104 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"cable": "refinedstorage:blocks/cable",
"particle": "refinedstorage:blocks/cable",
"front": "refinedstorage:blocks/reader",
"line": "refinedstorage:blocks/generic_grey",
"glow": "refinedstorage:blocks/none"
},
"model": "refinedstorage:cable_core",
"uvlock": true
},
"variants": {
"inventory": [
{
"model": "refinedstorage:constructor_destructor_item",
"transform": "forge:default-block"
}
],
"connected": {
"true": {
"textures": {
"front": "refinedstorage:blocks/reader_connected",
"glow": "refinedstorage:blocks/reader_connected_glow"
}
},
"false": {
}
},
"direction": {
"north": {
"submodel": "refinedstorage:constructor_destructor_glow"
},
"east": {
"submodel": "refinedstorage:constructor_destructor_glow",
"y": 90
},
"south": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 180
},
"west": {
"submodel": "refinedstorage:constructor_destructor_glow",
"y": 270
},
"up": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 270
},
"down": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 90
}
},
"north": {
"true": {
"submodel": "refinedstorage:cable_extension"
},
"false": {
}
},
"east": {
"true": {
"submodel": "refinedstorage:cable_extension",
"y": 90
},
"false": {
}
},
"south": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 180
},
"false": {
}
},
"west": {
"true": {
"submodel": "refinedstorage:cable_extension",
"y": 270
},
"false": {
}
},
"up": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 270
},
"false": {
}
},
"down": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 90
},
"false": {
}
}
}
}

View File

@@ -0,0 +1,104 @@
{
"forge_marker": 1,
"defaults": {
"textures": {
"cable": "refinedstorage:blocks/cable",
"particle": "refinedstorage:blocks/cable",
"front": "refinedstorage:blocks/writer",
"line": "refinedstorage:blocks/generic_grey",
"glow": "refinedstorage:blocks/none"
},
"model": "refinedstorage:cable_core",
"uvlock": true
},
"variants": {
"inventory": [
{
"model": "refinedstorage:constructor_destructor_item",
"transform": "forge:default-block"
}
],
"connected": {
"true": {
"textures": {
"front": "refinedstorage:blocks/writer_connected",
"glow": "refinedstorage:blocks/writer_connected_glow"
}
},
"false": {
}
},
"direction": {
"north": {
"submodel": "refinedstorage:constructor_destructor_glow"
},
"east": {
"submodel": "refinedstorage:constructor_destructor_glow",
"y": 90
},
"south": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 180
},
"west": {
"submodel": "refinedstorage:constructor_destructor_glow",
"y": 270
},
"up": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 270
},
"down": {
"submodel": "refinedstorage:constructor_destructor_glow",
"x": 90
}
},
"north": {
"true": {
"submodel": "refinedstorage:cable_extension"
},
"false": {
}
},
"east": {
"true": {
"submodel": "refinedstorage:cable_extension",
"y": 90
},
"false": {
}
},
"south": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 180
},
"false": {
}
},
"west": {
"true": {
"submodel": "refinedstorage:cable_extension",
"y": 270
},
"false": {
}
},
"up": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 270
},
"false": {
}
},
"down": {
"true": {
"submodel": "refinedstorage:cable_extension",
"x": 90
},
"false": {
}
}
}
}

View File

@@ -0,0 +1,167 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [
{
"name": "Line1",
"from": [
7.0,
7.0,
2.0
],
"to": [
9.0,
9.0,
6.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
2.0
]
}
}
},
{
"name": "Line2",
"from": [
0.0,
0.0,
0.0
],
"to": [
16.0,
16.0,
2.0
],
"faces": {
"north": {
"texture": "#front",
"uv": [
0.0,
0.0,
16.0,
16.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
16.0,
16.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
16.0,
16.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
16.0,
16.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
16.0,
16.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
16.0,
16.0
]
}
}
},
{
"name": "Line3",
"from": [
0.0,
0.0,
0.0
],
"to": [
16.0,
16.0,
2.0
],
"faces": {
"north": {
"texture": "#glow",
"uv": [
0.0,
0.0,
16.0,
16.0
]
}
}
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View File

@@ -0,0 +1,9 @@
{
"ctm": {
"ctm_version": 1,
"layer": "CUTOUT",
"extra": {
"light": 15
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

View File

@@ -0,0 +1,9 @@
{
"ctm": {
"ctm_version": 1,
"layer": "CUTOUT",
"extra": {
"light": 15
}
}
}