Implement the cable. TODO network node.
This commit is contained in:
121
src/main/resources/assets/refinedstorage/blockstates/cable.json
Executable file → Normal file
121
src/main/resources/assets/refinedstorage/blockstates/cable.json
Executable file → Normal file
@@ -1,61 +1,62 @@
|
||||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"textures": {
|
||||
"cable": "refinedstorage:blocks/cable",
|
||||
"particle": "refinedstorage:blocks/cable"
|
||||
},
|
||||
"model": "refinedstorage:cable_core",
|
||||
"uvlock": true,
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"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": {
|
||||
}
|
||||
}
|
||||
}
|
||||
{
|
||||
"multipart": [
|
||||
{
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_core"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"north": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension"
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"east": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension",
|
||||
"y": 90
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"south": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension",
|
||||
"x": 180
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"west": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension",
|
||||
"y": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"up": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension",
|
||||
"x": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
"when": {
|
||||
"down": true
|
||||
},
|
||||
"apply": {
|
||||
"model": "refinedstorage:block/cable_extension",
|
||||
"x": 90
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -178,7 +178,7 @@
|
||||
"sidebutton.refinedstorage:access_type.2": "Extract only",
|
||||
"block.refinedstorage.controller": "Controller",
|
||||
"block.refinedstorage.creative_controller": "Creative Controller",
|
||||
"block.refinedstorage:cable": "Cable",
|
||||
"block.refinedstorage.cable": "Cable",
|
||||
"block.refinedstorage:grid.0": "Grid",
|
||||
"block.refinedstorage:grid.1": "Crafting Grid",
|
||||
"block.refinedstorage:grid.2": "Pattern Grid",
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||
"textures": {
|
||||
"cable": "refinedstorage:block/cable",
|
||||
"particle": "refinedstorage:block/cable"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Core",
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||
"textures": {
|
||||
"cable": "refinedstorage:block/cable",
|
||||
"particle": "refinedstorage:block/cable"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "North",
|
||||
|
||||
233
src/main/resources/assets/refinedstorage/models/item/cable.json
Normal file
233
src/main/resources/assets/refinedstorage/models/item/cable.json
Normal file
@@ -0,0 +1,233 @@
|
||||
{
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"cable": "refinedstorage:block/cable"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"name": "Core",
|
||||
"from": [
|
||||
6,
|
||||
6,
|
||||
6
|
||||
],
|
||||
"to": [
|
||||
10,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"faces": {
|
||||
"north": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"down": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Part1",
|
||||
"from": [
|
||||
10,
|
||||
6,
|
||||
6
|
||||
],
|
||||
"to": [
|
||||
16,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"rotation": {
|
||||
"angle": 0,
|
||||
"axis": "y",
|
||||
"origin": [
|
||||
16,
|
||||
8,
|
||||
9
|
||||
]
|
||||
},
|
||||
"faces": {
|
||||
"north": {
|
||||
"uv": [
|
||||
0,
|
||||
6,
|
||||
6,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
10,
|
||||
6,
|
||||
16,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
10,
|
||||
6,
|
||||
16,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"down": {
|
||||
"uv": [
|
||||
10,
|
||||
6,
|
||||
16,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Part2",
|
||||
"from": [
|
||||
0,
|
||||
6,
|
||||
6
|
||||
],
|
||||
"to": [
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"rotation": {
|
||||
"angle": 0,
|
||||
"axis": "y",
|
||||
"origin": [
|
||||
6,
|
||||
8,
|
||||
9
|
||||
]
|
||||
},
|
||||
"faces": {
|
||||
"north": {
|
||||
"uv": [
|
||||
10,
|
||||
6,
|
||||
16,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"east": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"south": {
|
||||
"uv": [
|
||||
0,
|
||||
6,
|
||||
6,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"west": {
|
||||
"uv": [
|
||||
6,
|
||||
6,
|
||||
10,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"up": {
|
||||
"uv": [
|
||||
0,
|
||||
6,
|
||||
6,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
},
|
||||
"down": {
|
||||
"uv": [
|
||||
0,
|
||||
6,
|
||||
6,
|
||||
10
|
||||
],
|
||||
"texture": "#cable"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type": "minecraft:block",
|
||||
"pools": [
|
||||
{
|
||||
"rolls": 1,
|
||||
"entries": [
|
||||
{
|
||||
"type": "minecraft:item",
|
||||
"name": "refinedstorage:cable"
|
||||
}
|
||||
],
|
||||
"conditions": [
|
||||
{
|
||||
"condition": "minecraft:survives_explosion"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -10,8 +10,7 @@
|
||||
"item": "refinedstorage:quartz_enriched_iron"
|
||||
},
|
||||
"G": {
|
||||
"type": "forge:ore_dict",
|
||||
"ore": "blockGlass"
|
||||
"tag": "forge:glass"
|
||||
},
|
||||
"R": {
|
||||
"item": "minecraft:redstone"
|
||||
Reference in New Issue
Block a user