Importer model

This commit is contained in:
Raoul Van den Berge
2016-07-09 01:05:07 +02:00
parent 867196b121
commit 2c5e543fc7
16 changed files with 1775 additions and 38 deletions

View File

@@ -8,7 +8,7 @@ import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess; import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
import refinedstorage.RefinedStorageBlocks; import refinedstorage.api.network.INetworkMaster;
import refinedstorage.api.network.INetworkNode; import refinedstorage.api.network.INetworkNode;
import refinedstorage.tile.TileCable; import refinedstorage.tile.TileCable;
@@ -22,27 +22,30 @@ public class BlockCable extends BlockNode {
public static final PropertyBool UP = PropertyBool.create("up"); public static final PropertyBool UP = PropertyBool.create("up");
public static final PropertyBool DOWN = PropertyBool.create("down"); public static final PropertyBool DOWN = PropertyBool.create("down");
public BlockCable() { public BlockCable(String name) {
super("cable"); super(name);
setHardness(0.6F); setHardness(0.6F);
} }
public BlockCable() {
this("cable");
}
@Override @Override
public TileEntity createTileEntity(World world, IBlockState state) { public TileEntity createTileEntity(World world, IBlockState state) {
return new TileCable(); return new TileCable();
} }
@Override @Override
protected BlockStateContainer createBlockState() { protected BlockStateContainer.Builder createBlockStateBuilder() {
return createBlockStateBuilder() return super.createBlockStateBuilder()
.add(NORTH) .add(NORTH)
.add(EAST) .add(EAST)
.add(SOUTH) .add(SOUTH)
.add(WEST) .add(WEST)
.add(UP) .add(UP)
.add(DOWN) .add(DOWN);
.build();
} }
@Override @Override
@@ -56,8 +59,10 @@ public class BlockCable extends BlockNode {
.withProperty(DOWN, hasConnectionWith(world, pos.down())); .withProperty(DOWN, hasConnectionWith(world, pos.down()));
} }
private boolean hasConnectionWith(IBlockAccess world, BlockPos pos) { public static boolean hasConnectionWith(IBlockAccess world, BlockPos pos) {
return world.getBlockState(pos).getBlock() == RefinedStorageBlocks.CONTROLLER || world.getTileEntity(pos) instanceof INetworkNode; TileEntity tile = world.getTileEntity(pos);
return tile instanceof INetworkMaster || tile instanceof INetworkNode;
} }
@Override @Override

View File

@@ -2,15 +2,9 @@ package refinedstorage.block;
import net.minecraft.block.Block; import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState; import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World; import net.minecraft.world.World;
import refinedstorage.RefinedStorage;
import refinedstorage.RefinedStorageGui;
import refinedstorage.tile.externalstorage.TileExternalStorage; import refinedstorage.tile.externalstorage.TileExternalStorage;
public class BlockExternalStorage extends BlockNode { public class BlockExternalStorage extends BlockNode {
@@ -23,15 +17,6 @@ public class BlockExternalStorage extends BlockNode {
return new TileExternalStorage(); return new TileExternalStorage();
} }
@Override
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
if (!world.isRemote) {
player.openGui(RefinedStorage.INSTANCE, RefinedStorageGui.STORAGE, world, pos.getX(), pos.getY(), pos.getZ());
}
return true;
}
@Override @Override
public void neighborChanged(IBlockState state, World world, BlockPos pos, Block block) { public void neighborChanged(IBlockState state, World world, BlockPos pos, Block block) {
super.neighborChanged(state, world, pos, block); super.neighborChanged(state, world, pos, block);

View File

@@ -12,7 +12,7 @@ import refinedstorage.RefinedStorage;
import refinedstorage.RefinedStorageGui; import refinedstorage.RefinedStorageGui;
import refinedstorage.tile.TileImporter; import refinedstorage.tile.TileImporter;
public class BlockImporter extends BlockNode { public class BlockImporter extends BlockCable {
public BlockImporter() { public BlockImporter() {
super("importer"); super("importer");
} }

View File

@@ -14,6 +14,7 @@ import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World; import net.minecraft.world.World;
import refinedstorage.RefinedStorage; import refinedstorage.RefinedStorage;
import refinedstorage.RefinedStorageGui; import refinedstorage.RefinedStorageGui;
import refinedstorage.tile.TileNode;
import refinedstorage.tile.TileWirelessTransmitter; import refinedstorage.tile.TileWirelessTransmitter;
public class BlockWirelessTransmitter extends BlockNode { public class BlockWirelessTransmitter extends BlockNode {
@@ -67,7 +68,7 @@ public class BlockWirelessTransmitter extends BlockNode {
BlockPos downPos = pos.offset(EnumFacing.DOWN); BlockPos downPos = pos.offset(EnumFacing.DOWN);
IBlockState down = world.getBlockState(downPos); IBlockState down = world.getBlockState(downPos);
return down.getBlock().canPlaceTorchOnTop(down, world, downPos); return down.getBlock().canPlaceTorchOnTop(down, world, downPos) || (world.getTileEntity(downPos) instanceof TileNode && !(world.getTileEntity(downPos) instanceof TileWirelessTransmitter));
} }
@Override @Override

View File

@@ -1,38 +1,81 @@
{ {
"forge_marker": 1, "forge_marker": 1,
"defaults": { "defaults": {
"model": "orientable",
"textures": { "textures": {
"side": "refinedstorage:blocks/side", "all": "refinedstorage:blocks/cable",
"top": "refinedstorage:blocks/side", "particle": "refinedstorage:blocks/cable",
"front": "refinedstorage:blocks/importer" "line": "refinedstorage:blocks/importer_exporter"
} },
"model": "refinedstorage:cable_core",
"uvlock": true
}, },
"variants": { "variants": {
"inventory": [ "inventory": [
{ {
"y": 0, "model": "refinedstorage:importer",
"transform": "forge:default-block" "transform": "forge:default-block"
} }
], ],
"direction": { "direction": {
"north": { "north": {
"y": 0 "submodel": "refinedstorage:importer_north"
}, },
"east": { "east": {
"y": 90 "submodel": "refinedstorage:importer_east"
}, },
"south": { "south": {
"y": 180 "submodel": "refinedstorage:importer_south"
}, },
"west": { "west": {
"y": 270 "submodel": "refinedstorage:importer_west"
}, },
"up": { "up": {
"x": 270 "submodel": "refinedstorage:importer_up"
}, },
"down": { "down": {
"x": 90 "submodel": "refinedstorage:importer_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": {
} }
} }
} }

View File

@@ -0,0 +1,419 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"elements": [
{
"name": "Line1",
"from": [
6.0,
6.0,
4.0
],
"to": [
10.0,
10.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": [
5.0,
5.0,
2.0
],
"to": [
11.0,
11.0,
4.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
}
}
},
{
"name": "Line3",
"from": [
3.0,
3.0,
0.0
],
"to": [
13.0,
13.0,
2.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.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
]
}
}
}
]
}

View File

@@ -0,0 +1,214 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
},
"elements": [
{
"name": "Line1",
"from": [
6.0,
4.0,
6.0
],
"to": [
10.0,
6.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,
0.0,
3.0
],
"to": [
13.0,
2.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
]
}
}
}
]
}

View File

@@ -0,0 +1,214 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
},
"elements": [
{
"name": "Line1",
"from": [
10.0,
6.0,
6.0
],
"to": [
12.0,
10.0,
10.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.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,
2.0,
6.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
}
}
},
{
"name": "Line3",
"from": [
14.0,
3.0,
3.0
],
"to": [
16.0,
13.0,
13.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
}
}
}
]
}

View File

@@ -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,
4.0
],
"to": [
10.0,
10.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": [
5.0,
5.0,
2.0
],
"to": [
11.0,
11.0,
4.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
}
}
},
{
"name": "Line3",
"from": [
3.0,
3.0,
0.0
],
"to": [
13.0,
13.0,
2.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.0
]
}
}
}
]
}

View File

@@ -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,
10.0
],
"to": [
10.0,
10.0,
12.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": [
5.0,
5.0,
12.0
],
"to": [
11.0,
11.0,
14.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
2.0
]
}
}
},
{
"name": "Line3",
"from": [
3.0,
3.0,
14.0
],
"to": [
13.0,
13.0,
16.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
2.0
]
}
}
}
]
}

View File

@@ -0,0 +1,214 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
},
"elements": [
{
"name": "Line1",
"from": [
6.0,
10.0,
6.0
],
"to": [
10.0,
12.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,
14.0,
3.0
],
"to": [
13.0,
16.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
]
}
}
}
]
}

View File

@@ -0,0 +1,214 @@
{
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
"textures": {
},
"elements": [
{
"name": "Line1",
"from": [
4.0,
6.0,
6.0
],
"to": [
6.0,
10.0,
10.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
4.0,
4.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
4.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.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,
2.0,
6.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
6.0,
6.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
6.0
]
}
}
},
{
"name": "Line3",
"from": [
0.0,
3.0,
3.0
],
"to": [
2.0,
13.0,
13.0
],
"faces": {
"north": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"east": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"south": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"west": {
"texture": "#line",
"uv": [
0.0,
0.0,
10.0,
10.0
]
},
"up": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
},
"down": {
"texture": "#line",
"uv": [
0.0,
0.0,
2.0,
10.0
]
}
}
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 639 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 B