Code fixes for the texs

This commit is contained in:
Raoul Van den Berge
2016-07-10 16:03:18 +02:00
parent b951c7a36f
commit 9b7c81061b
6 changed files with 30 additions and 2 deletions

View File

@@ -30,4 +30,9 @@ public class BlockCraftingMonitor extends BlockNode {
return true; return true;
} }
@Override
public boolean hasConnectivityState() {
return true;
}
} }

View File

@@ -66,6 +66,11 @@ public class BlockGrid extends BlockNode {
return true; return true;
} }
@Override
public boolean hasConnectivityState() {
return true;
}
@Override @Override
public Item createItem() { public Item createItem() {
return new ItemBlockBase(this, true); return new ItemBlockBase(this, true);

View File

@@ -5,7 +5,7 @@
"textures": { "textures": {
"side": "refinedstorage:blocks/side", "side": "refinedstorage:blocks/side",
"top": "refinedstorage:blocks/side", "top": "refinedstorage:blocks/side",
"front": "refinedstorage:blocks/crafting_monitor" "front": "refinedstorage:blocks/crafting_monitor_disconnected"
} }
}, },
"variants": { "variants": {
@@ -15,6 +15,15 @@
"y": 0 "y": 0
} }
], ],
"connected": {
"true": {
"textures": {
"front": "refinedstorage:blocks/crafting_monitor_connected"
}
},
"false": {
}
},
"direction": { "direction": {
"north": { "north": {
"y": 0 "y": 0

View File

@@ -5,7 +5,7 @@
"textures": { "textures": {
"side": "refinedstorage:blocks/side", "side": "refinedstorage:blocks/side",
"top": "refinedstorage:blocks/side", "top": "refinedstorage:blocks/side",
"front": "refinedstorage:blocks/grid" "front": "refinedstorage:blocks/grid_disconnected"
} }
}, },
"variants": { "variants": {
@@ -15,6 +15,15 @@
"y": 0 "y": 0
} }
], ],
"connected": {
"true": {
"textures": {
"front": "refinedstorage:blocks/grid_connected"
}
},
"false": {
}
},
"direction": { "direction": {
"north": { "north": {
"y": 0 "y": 0