From a802df3ccd973f3afd44f8dc97abbfd6ecdc2442 Mon Sep 17 00:00:00 2001 From: Raoul Van den Berge Date: Sat, 9 Jul 2016 01:48:37 +0200 Subject: [PATCH] Exporter model --- .../java/refinedstorage/block/BlockCable.java | 25 +- .../refinedstorage/block/BlockExporter.java | 4 +- .../refinedstorage/blockstates/exporter.json | 67 ++- .../refinedstorage/models/block/exporter.json | 419 ++++++++++++++++++ .../models/block/exporter_down.json | 214 +++++++++ .../models/block/exporter_east.json | 214 +++++++++ .../models/block/exporter_north.json | 214 +++++++++ .../models/block/exporter_south.json | 214 +++++++++ .../models/block/exporter_up.json | 214 +++++++++ .../models/block/exporter_west.json | 214 +++++++++ 10 files changed, 1777 insertions(+), 22 deletions(-) create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_down.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_east.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_north.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_south.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_up.json create mode 100755 src/main/resources/assets/refinedstorage/models/block/exporter_west.json diff --git a/src/main/java/refinedstorage/block/BlockCable.java b/src/main/java/refinedstorage/block/BlockCable.java index 17a078d93..d54f413fd 100755 --- a/src/main/java/refinedstorage/block/BlockCable.java +++ b/src/main/java/refinedstorage/block/BlockCable.java @@ -10,6 +10,7 @@ import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import refinedstorage.api.network.INetworkMaster; import refinedstorage.api.network.INetworkNode; +import refinedstorage.tile.TileBase; import refinedstorage.tile.TileCable; public class BlockCable extends BlockNode { @@ -51,18 +52,26 @@ public class BlockCable extends BlockNode { @Override public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos) { return super.getActualState(state, world, pos) - .withProperty(NORTH, hasConnectionWith(world, pos.north())) - .withProperty(EAST, hasConnectionWith(world, pos.east())) - .withProperty(SOUTH, hasConnectionWith(world, pos.south())) - .withProperty(WEST, hasConnectionWith(world, pos.west())) - .withProperty(UP, hasConnectionWith(world, pos.up())) - .withProperty(DOWN, hasConnectionWith(world, pos.down())); + .withProperty(NORTH, hasConnectionWith(world, pos, pos.north())) + .withProperty(EAST, hasConnectionWith(world, pos, pos.east())) + .withProperty(SOUTH, hasConnectionWith(world, pos, pos.south())) + .withProperty(WEST, hasConnectionWith(world, pos, pos.west())) + .withProperty(UP, hasConnectionWith(world, pos, pos.up())) + .withProperty(DOWN, hasConnectionWith(world, pos, pos.down())); } - public static boolean hasConnectionWith(IBlockAccess world, BlockPos pos) { + private boolean hasConnectionWith(IBlockAccess world, BlockPos basePos, BlockPos pos) { TileEntity tile = world.getTileEntity(pos); - return tile instanceof INetworkMaster || tile instanceof INetworkNode; + if (tile instanceof INetworkMaster || tile instanceof INetworkNode) { + if (getPlacementType() != null) { + return ((TileBase) world.getTileEntity(basePos)).getFacingTile() != tile; + } + + return true; + } + + return false; } @Override diff --git a/src/main/java/refinedstorage/block/BlockExporter.java b/src/main/java/refinedstorage/block/BlockExporter.java index ca4a03b69..3b54455db 100755 --- a/src/main/java/refinedstorage/block/BlockExporter.java +++ b/src/main/java/refinedstorage/block/BlockExporter.java @@ -12,7 +12,7 @@ import refinedstorage.RefinedStorage; import refinedstorage.RefinedStorageGui; import refinedstorage.tile.TileExporter; -public class BlockExporter extends BlockNode { +public class BlockExporter extends BlockCable { public BlockExporter() { super("exporter"); } @@ -30,7 +30,7 @@ public class BlockExporter extends BlockNode { return true; } - + @Override public EnumPlacementType getPlacementType() { return EnumPlacementType.ANY; diff --git a/src/main/resources/assets/refinedstorage/blockstates/exporter.json b/src/main/resources/assets/refinedstorage/blockstates/exporter.json index 16a999375..9abffeaa3 100755 --- a/src/main/resources/assets/refinedstorage/blockstates/exporter.json +++ b/src/main/resources/assets/refinedstorage/blockstates/exporter.json @@ -1,38 +1,81 @@ { "forge_marker": 1, "defaults": { - "model": "orientable", "textures": { - "side": "refinedstorage:blocks/side", - "top": "refinedstorage:blocks/side", - "front": "refinedstorage:blocks/exporter" - } + "all": "refinedstorage:blocks/cable", + "particle": "refinedstorage:blocks/cable", + "line": "refinedstorage:blocks/importer_exporter" + }, + "model": "refinedstorage:cable_core", + "uvlock": true }, "variants": { "inventory": [ { - "y": 0, + "model": "refinedstorage:exporter", "transform": "forge:default-block" } ], "direction": { "north": { - "y": 0 + "submodel": "refinedstorage:exporter_north" }, "east": { - "y": 90 + "submodel": "refinedstorage:exporter_east" }, "south": { - "y": 180 + "submodel": "refinedstorage:exporter_south" }, "west": { - "y": 270 + "submodel": "refinedstorage:exporter_west" }, "up": { - "x": 270 + "submodel": "refinedstorage:exporter_up" }, "down": { - "x": 90 + "submodel": "refinedstorage:exporter_down" + } + }, + "north": { + "true": { + "submodel": "refinedstorage:cable_north" + }, + "false": { + } + }, + "east": { + "true": { + "submodel": "refinedstorage:cable_east" + }, + "false": { + } + }, + "south": { + "true": { + "submodel": "refinedstorage:cable_south" + }, + "false": { + } + }, + "west": { + "true": { + "submodel": "refinedstorage:cable_west" + }, + "false": { + } + }, + "up": { + "true": { + "submodel": "refinedstorage:cable_up" + }, + "false": { + } + }, + "down": { + "true": { + "submodel": "refinedstorage:cable_down" + }, + "false": { } } } diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter.json b/src/main/resources/assets/refinedstorage/models/block/exporter.json new file mode 100755 index 000000000..59961643f --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter.json @@ -0,0 +1,419 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "elements": [ + { + "name": "Line1", + "from": [ + 6.0, + 6.0, + 0.0 + ], + "to": [ + 10.0, + 10.0, + 2.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 5.0, + 5.0, + 2.0 + ], + "to": [ + 11.0, + 11.0, + 4.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 3.0, + 3.0, + 4.0 + ], + "to": [ + 13.0, + 13.0, + 6.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + }, + { + "name": "Core", + "from": [ + 6.0, + 6.0, + 6.0 + ], + "to": [ + 10.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 + ] + } + } + }, + { + "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 + ] + } + } + }, + { + "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 + ] + } + } + } + ] +} diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_down.json b/src/main/resources/assets/refinedstorage/models/block/exporter_down.json new file mode 100755 index 000000000..05555347b --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_down.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 6.0, + 0.0, + 6.0 + ], + "to": [ + 10.0, + 2.0, + 10.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 5.0, + 2.0, + 5.0 + ], + "to": [ + 11.0, + 4.0, + 11.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 3.0, + 4.0, + 3.0 + ], + "to": [ + 13.0, + 6.0, + 13.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_east.json b/src/main/resources/assets/refinedstorage/models/block/exporter_east.json new file mode 100755 index 000000000..61b89b7bf --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_east.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 14.0, + 6.0, + 6.0 + ], + "to": [ + 16.0, + 10.0, + 10.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 12.0, + 5.0, + 5.0 + ], + "to": [ + 14.0, + 11.0, + 11.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 10.0, + 3.0, + 3.0 + ], + "to": [ + 12.0, + 13.0, + 13.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_north.json b/src/main/resources/assets/refinedstorage/models/block/exporter_north.json new file mode 100755 index 000000000..88ad85d27 --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_north.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 6.0, + 6.0, + 0.0 + ], + "to": [ + 10.0, + 10.0, + 2.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 5.0, + 5.0, + 2.0 + ], + "to": [ + 11.0, + 11.0, + 4.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 3.0, + 3.0, + 4.0 + ], + "to": [ + 13.0, + 13.0, + 6.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_south.json b/src/main/resources/assets/refinedstorage/models/block/exporter_south.json new file mode 100755 index 000000000..6863b4cd4 --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_south.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 6.0, + 6.0, + 14.0 + ], + "to": [ + 10.0, + 10.0, + 16.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 5.0, + 5.0, + 12.0 + ], + "to": [ + 11.0, + 11.0, + 14.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 3.0, + 3.0, + 10.0 + ], + "to": [ + 13.0, + 13.0, + 12.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_up.json b/src/main/resources/assets/refinedstorage/models/block/exporter_up.json new file mode 100755 index 000000000..754316fc9 --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_up.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 6.0, + 14.0, + 6.0 + ], + "to": [ + 10.0, + 16.0, + 10.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 5.0, + 12.0, + 5.0 + ], + "to": [ + 11.0, + 14.0, + 11.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 3.0, + 10.0, + 3.0 + ], + "to": [ + 13.0, + 12.0, + 13.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/refinedstorage/models/block/exporter_west.json b/src/main/resources/assets/refinedstorage/models/block/exporter_west.json new file mode 100755 index 000000000..73c706393 --- /dev/null +++ b/src/main/resources/assets/refinedstorage/models/block/exporter_west.json @@ -0,0 +1,214 @@ +{ + "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", + "textures": { + }, + "elements": [ + { + "name": "Line1", + "from": [ + 0.0, + 6.0, + 6.0 + ], + "to": [ + 2.0, + 10.0, + 10.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 4.0, + 4.0 + ] + } + } + }, + { + "name": "Line2", + "from": [ + 2.0, + 5.0, + 5.0 + ], + "to": [ + 4.0, + 11.0, + 11.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 6.0, + 6.0 + ] + } + } + }, + { + "name": "Line3", + "from": [ + 4.0, + 3.0, + 3.0 + ], + "to": [ + 6.0, + 13.0, + 13.0 + ], + "faces": { + "north": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "east": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "south": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "west": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 2.0 + ] + }, + "up": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + }, + "down": { + "texture": "#line", + "uv": [ + 0.0, + 0.0, + 10.0, + 10.0 + ] + } + } + } + ] +} \ No newline at end of file