LeastReality's Belt Tunnel Rework

- Replaced belt tunnel assets; adjusted blockstates and animations accordingly
This commit is contained in:
simibubi 2020-07-16 19:13:00 +02:00
parent e686906b22
commit e276302cee
41 changed files with 3072 additions and 3254 deletions

File diff suppressed because it is too large Load diff

View file

@ -14,18 +14,11 @@
"model": "create:block/andesite_tunnel/window", "model": "create:block/andesite_tunnel/window",
"y": 90 "y": 90
}, },
"axis=x,shape=halfshade": { "axis=x,shape=closed": {
"model": "create:block/andesite_tunnel/halfshade" "model": "create:block/andesite_tunnel/straight"
}, },
"axis=z,shape=halfshade": { "axis=z,shape=closed": {
"model": "create:block/andesite_tunnel/halfshade", "model": "create:block/andesite_tunnel/straight",
"y": 90
},
"axis=x,shape=fullshade": {
"model": "create:block/andesite_tunnel/fullshade"
},
"axis=z,shape=fullshade": {
"model": "create:block/andesite_tunnel/fullshade",
"y": 90 "y": 90
}, },
"axis=x,shape=t_left": { "axis=x,shape=t_left": {

View file

@ -14,18 +14,11 @@
"model": "create:block/brass_tunnel/window", "model": "create:block/brass_tunnel/window",
"y": 90 "y": 90
}, },
"axis=x,shape=halfshade": { "axis=x,shape=closed": {
"model": "create:block/brass_tunnel/halfshade" "model": "create:block/brass_tunnel/straight"
}, },
"axis=z,shape=halfshade": { "axis=z,shape=closed": {
"model": "create:block/brass_tunnel/halfshade", "model": "create:block/brass_tunnel/straight",
"y": 90
},
"axis=x,shape=fullshade": {
"model": "create:block/brass_tunnel/fullshade"
},
"axis=z,shape=fullshade": {
"model": "create:block/brass_tunnel/fullshade",
"y": 90 "y": 90
}, },
"axis=x,shape=t_left": { "axis=x,shape=t_left": {

View file

@ -181,10 +181,10 @@
}, },
{ {
"when": { "when": {
"west": "true",
"east": "false",
"north": "false", "north": "false",
"south": "true" "south": "true",
"west": "true",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lu_y" "model": "create:block/fluid_pipe/lu_y"
@ -192,10 +192,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "true",
"north": "false", "north": "false",
"south": "true" "south": "true",
"west": "false",
"east": "true"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ru_y" "model": "create:block/fluid_pipe/ru_y"
@ -203,10 +203,10 @@
}, },
{ {
"when": { "when": {
"west": "true",
"east": "false",
"north": "true", "north": "true",
"south": "false" "south": "false",
"west": "true",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ld_y" "model": "create:block/fluid_pipe/ld_y"
@ -214,10 +214,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "true",
"north": "true", "north": "true",
"south": "false" "south": "false",
"west": "false",
"east": "true"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/rd_y" "model": "create:block/fluid_pipe/rd_y"
@ -225,10 +225,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"north": "true", "north": "true",
"south": "true" "south": "true",
"west": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_y" "model": "create:block/fluid_pipe/ud_y"
@ -236,10 +236,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"north": "false", "north": "false",
"south": "true" "south": "true",
"west": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_y" "model": "create:block/fluid_pipe/ud_y"
@ -247,10 +247,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"north": "true", "north": "true",
"south": "false" "south": "false",
"west": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_y" "model": "create:block/fluid_pipe/ud_y"
@ -258,10 +258,10 @@
}, },
{ {
"when": { "when": {
"north": "false",
"south": "false",
"west": "true", "west": "true",
"east": "true", "east": "true"
"north": "false",
"south": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_y" "model": "create:block/fluid_pipe/lr_y"
@ -269,10 +269,10 @@
}, },
{ {
"when": { "when": {
"north": "false",
"south": "false",
"west": "true", "west": "true",
"east": "false", "east": "false"
"north": "false",
"south": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_y" "model": "create:block/fluid_pipe/lr_y"
@ -280,10 +280,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "true",
"north": "false", "north": "false",
"south": "false" "south": "false",
"west": "false",
"east": "true"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_y" "model": "create:block/fluid_pipe/lr_y"
@ -291,10 +291,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"north": "false", "north": "false",
"south": "false" "south": "false",
"west": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/none_y" "model": "create:block/fluid_pipe/none_y"
@ -302,10 +302,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "true",
"up": "true", "up": "true",
"down": "false" "west": "false",
"down": "false",
"east": "true"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lu_z" "model": "create:block/fluid_pipe/lu_z"
@ -313,10 +313,10 @@
}, },
{ {
"when": { "when": {
"west": "true",
"east": "false",
"up": "true", "up": "true",
"down": "false" "west": "true",
"down": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ru_z" "model": "create:block/fluid_pipe/ru_z"
@ -324,10 +324,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "true",
"up": "false", "up": "false",
"down": "true" "west": "false",
"down": "true",
"east": "true"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ld_z" "model": "create:block/fluid_pipe/ld_z"
@ -335,10 +335,10 @@
}, },
{ {
"when": { "when": {
"west": "true",
"east": "false",
"up": "false", "up": "false",
"down": "true" "west": "true",
"down": "true",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/rd_z" "model": "create:block/fluid_pipe/rd_z"
@ -346,10 +346,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"up": "true", "up": "true",
"down": "true" "west": "false",
"down": "true",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_z" "model": "create:block/fluid_pipe/ud_z"
@ -357,10 +357,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"up": "true", "up": "true",
"down": "false" "west": "false",
"down": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_z" "model": "create:block/fluid_pipe/ud_z"
@ -368,10 +368,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"up": "false", "up": "false",
"down": "true" "west": "false",
"down": "true",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/ud_z" "model": "create:block/fluid_pipe/ud_z"
@ -379,10 +379,10 @@
}, },
{ {
"when": { "when": {
"up": "false",
"west": "true", "west": "true",
"east": "true", "down": "false",
"up": "false", "east": "true"
"down": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_z" "model": "create:block/fluid_pipe/lr_z"
@ -390,10 +390,10 @@
}, },
{ {
"when": { "when": {
"up": "false",
"west": "false", "west": "false",
"east": "true", "down": "false",
"up": "false", "east": "true"
"down": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_z" "model": "create:block/fluid_pipe/lr_z"
@ -401,10 +401,10 @@
}, },
{ {
"when": { "when": {
"up": "false",
"west": "true", "west": "true",
"east": "false", "down": "false",
"up": "false", "east": "false"
"down": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/lr_z" "model": "create:block/fluid_pipe/lr_z"
@ -412,10 +412,10 @@
}, },
{ {
"when": { "when": {
"west": "false",
"east": "false",
"up": "false", "up": "false",
"down": "false" "west": "false",
"down": "false",
"east": "false"
}, },
"apply": { "apply": {
"model": "create:block/fluid_pipe/none_z" "model": "create:block/fluid_pipe/none_z"

View file

@ -29,8 +29,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "true", "axis": "x",
"axis": "x" "sticky_south": "true"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_x_sticky", "model": "create:block/radial_chassis_side_x_sticky",
@ -39,8 +39,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "true", "axis": "y",
"axis": "y" "sticky_south": "true"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_y_sticky" "model": "create:block/radial_chassis_side_y_sticky"
@ -48,8 +48,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "true", "axis": "z",
"axis": "z" "sticky_south": "true"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_x_sticky", "model": "create:block/radial_chassis_side_x_sticky",
@ -59,8 +59,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "false", "axis": "x",
"axis": "x" "sticky_south": "false"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_x", "model": "create:block/radial_chassis_side_x",
@ -69,8 +69,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "false", "axis": "y",
"axis": "y" "sticky_south": "false"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_y" "model": "create:block/radial_chassis_side_y"
@ -78,8 +78,8 @@
}, },
{ {
"when": { "when": {
"sticky_south": "false", "axis": "z",
"axis": "z" "sticky_south": "false"
}, },
"apply": { "apply": {
"model": "create:block/radial_chassis_side_x", "model": "create:block/radial_chassis_side_x",

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/cross", "parent": "create:block/belt_tunnel/cross",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +0,0 @@
{
"parent": "create:block/belt_tunnel/fullshade",
"textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top",
"particle": "block/polished_andesite"
}
}

View file

@ -1,8 +0,0 @@
{
"parent": "create:block/belt_tunnel/halfshade",
"textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top",
"particle": "block/polished_andesite"
}
}

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/straight", "parent": "create:block/belt_tunnel/straight",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/t_left", "parent": "create:block/belt_tunnel/t_left",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/t_right", "parent": "create:block/belt_tunnel/t_right",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/window", "parent": "create:block/belt_tunnel/window",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/cross", "parent": "create:block/belt_tunnel/cross",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -1,8 +0,0 @@
{
"parent": "create:block/belt_tunnel/fullshade",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_block"
}
}

View file

@ -1,8 +0,0 @@
{
"parent": "create:block/belt_tunnel/halfshade",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_block"
}
}

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/straight", "parent": "create:block/belt_tunnel/straight",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/t_left", "parent": "create:block/belt_tunnel/t_left",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/t_right", "parent": "create:block/belt_tunnel/t_right",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -1,8 +1,9 @@
{ {
"parent": "create:block/belt_tunnel/window", "parent": "create:block/belt_tunnel/window",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "create:block/belt_tunnel/item", "parent": "create:block/belt_tunnel/item",
"textures": { "textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top", "1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"particle": "block/polished_andesite" "particle": "block/polished_andesite"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"parent": "create:block/belt_tunnel/item", "parent": "create:block/belt_tunnel/item",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"particle": "create:block/brass_block" "particle": "create:block/brass_block"
} }
} }

View file

@ -45,7 +45,7 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
} }
public enum Shape implements IStringSerializable { public enum Shape implements IStringSerializable {
STRAIGHT, WINDOW, HALFSHADE, FULLSHADE, T_LEFT, T_RIGHT, CROSS; STRAIGHT, WINDOW, CLOSED, T_LEFT, T_RIGHT, CROSS;
@Override @Override
public String getName() { public String getName() {
@ -88,8 +88,7 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
} }
public static boolean hasWindow(BlockState state) { public static boolean hasWindow(BlockState state) {
Shape shape = state.get(SHAPE); return state.get(SHAPE) == Shape.WINDOW || state.get(SHAPE) == Shape.CLOSED;
return shape == Shape.WINDOW || shape == Shape.HALFSHADE || shape == Shape.FULLSHADE;
} }
public static boolean isStraight(BlockState state) { public static boolean isStraight(BlockState state) {
@ -157,27 +156,33 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
state = state.with(SHAPE, Shape.T_RIGHT); state = state.with(SHAPE, Shape.T_RIGHT);
if (state.get(SHAPE) == Shape.STRAIGHT) { if (state.get(SHAPE) == Shape.STRAIGHT) {
Direction fw = Direction.getFacingFromAxis(AxisDirection.POSITIVE, axis); boolean canHaveWindow = canHaveWindow(reader, pos, axis);
BlockState blockState1 = reader.getBlockState(pos.offset(fw)); if (canHaveWindow)
BlockState blockState2 = reader.getBlockState(pos.offset(fw.getOpposite()));
boolean funnel1 = blockState1.getBlock() instanceof BeltFunnelBlock
&& blockState1.get(BeltFunnelBlock.HORIZONTAL_FACING) == fw.getOpposite();
boolean funnel2 = blockState2.getBlock() instanceof BeltFunnelBlock
&& blockState2.get(BeltFunnelBlock.HORIZONTAL_FACING) == fw;
boolean valid1 = blockState1.getBlock() instanceof BeltTunnelBlock || funnel1;
boolean valid2 = blockState2.getBlock() instanceof BeltTunnelBlock || funnel2;
if (valid1 && valid2 && !(funnel1 && funnel2))
state = state.with(SHAPE, Shape.WINDOW); state = state.with(SHAPE, Shape.WINDOW);
} }
return state; return state;
} }
protected boolean canHaveWindow(IBlockReader reader, BlockPos pos, Axis axis) {
Direction fw = Direction.getFacingFromAxis(AxisDirection.POSITIVE, axis);
BlockState blockState1 = reader.getBlockState(pos.offset(fw));
BlockState blockState2 = reader.getBlockState(pos.offset(fw.getOpposite()));
boolean funnel1 = blockState1.getBlock() instanceof BeltFunnelBlock
&& blockState1.get(BeltFunnelBlock.HORIZONTAL_FACING) == fw.getOpposite();
boolean funnel2 = blockState2.getBlock() instanceof BeltFunnelBlock
&& blockState2.get(BeltFunnelBlock.HORIZONTAL_FACING) == fw;
boolean valid1 = blockState1.getBlock() instanceof BeltTunnelBlock || funnel1;
boolean valid2 = blockState2.getBlock() instanceof BeltTunnelBlock || funnel2;
boolean canHaveWindow = valid1 && valid2 && !(funnel1 && funnel2);
return canHaveWindow;
}
private boolean hasValidOutput(IBlockReader world, BlockPos pos, Direction side) { private boolean hasValidOutput(IBlockReader world, BlockPos pos, Direction side) {
BlockState blockState = world.getBlockState(pos.offset(side)); BlockState blockState = world.getBlockState(pos.offset(side));
if (AllBlocks.BELT.has(blockState)) if (AllBlocks.BELT.has(blockState))
return blockState.get(BeltBlock.HORIZONTAL_FACING).getAxis() == side.getAxis(); return blockState.get(BeltBlock.HORIZONTAL_FACING)
.getAxis() == side.getAxis();
DirectBeltInputBehaviour behaviour = DirectBeltInputBehaviour behaviour =
TileEntityBehaviour.get(world, pos.offset(side), DirectBeltInputBehaviour.TYPE); TileEntityBehaviour.get(world, pos.offset(side), DirectBeltInputBehaviour.TYPE);
return behaviour != null && behaviour.canInsertFromSide(side); return behaviour != null && behaviour.canInsertFromSide(side);
@ -189,23 +194,11 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
return ActionResultType.PASS; return ActionResultType.PASS;
// Toggle windows // Toggle windows
Shape next = state.get(SHAPE); Shape shape = state.get(SHAPE);
switch (state.get(SHAPE)) { shape = shape == Shape.CLOSED ? Shape.WINDOW : Shape.CLOSED;
case FULLSHADE: World world = context.getWorld();
next = Shape.WINDOW; if (!world.isRemote)
break; world.setBlockState(context.getPos(), state.with(SHAPE, shape), 2);
case HALFSHADE:
next = Shape.FULLSHADE;
break;
case WINDOW:
next = Shape.HALFSHADE;
break;
default:
break;
}
if (!context.getWorld().isRemote)
context.getWorld()
.setBlockState(context.getPos(), state.with(SHAPE, next), 2);
return ActionResultType.SUCCESS; return ActionResultType.SUCCESS;
} }

View file

@ -4,17 +4,18 @@ import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder; import com.mojang.blaze3d.vertex.IVertexBuilder;
import com.simibubi.create.AllBlockPartials; import com.simibubi.create.AllBlockPartials;
import com.simibubi.create.foundation.tileEntity.renderer.SmartTileEntityRenderer; import com.simibubi.create.foundation.tileEntity.renderer.SmartTileEntityRenderer;
import com.simibubi.create.foundation.utility.AngleHelper;
import com.simibubi.create.foundation.utility.MatrixStacker;
import com.simibubi.create.foundation.utility.SuperByteBuffer; import com.simibubi.create.foundation.utility.SuperByteBuffer;
import com.simibubi.create.foundation.utility.VecHelper;
import net.minecraft.client.renderer.IRenderTypeBuffer; import net.minecraft.client.renderer.IRenderTypeBuffer;
import net.minecraft.client.renderer.RenderType; import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.WorldRenderer;
import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
import net.minecraft.util.Direction; import net.minecraft.util.Direction;
import net.minecraft.util.Direction.Axis; import net.minecraft.util.Direction.Axis;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.MathHelper; import net.minecraft.util.math.MathHelper;
import net.minecraft.world.World; import net.minecraft.util.math.Vec3d;
public class BeltTunnelRenderer extends SmartTileEntityRenderer<BeltTunnelTileEntity> { public class BeltTunnelRenderer extends SmartTileEntityRenderer<BeltTunnelTileEntity> {
@ -27,41 +28,42 @@ public class BeltTunnelRenderer extends SmartTileEntityRenderer<BeltTunnelTileEn
int light, int overlay) { int light, int overlay) {
super.renderSafe(te, partialTicks, ms, buffer, light, overlay); super.renderSafe(te, partialTicks, ms, buffer, light, overlay);
SuperByteBuffer flapBuffer = AllBlockPartials.BELT_TUNNEL_FLAP.renderOn(te.getBlockState()); SuperByteBuffer flapBuffer = AllBlockPartials.BELT_TUNNEL_FLAP.renderOn(te.getBlockState());
BlockPos pos = te.getPos(); IVertexBuilder vb = buffer.getBuffer(RenderType.getSolid());
World world = te.getWorld(); Vec3d pivot = VecHelper.voxelSpace(0, 10, 1f);
MatrixStacker msr = MatrixStacker.of(ms);
for (Direction direction : Direction.values()) { for (Direction direction : Direction.values()) {
if (!te.flaps.containsKey(direction)) if (!te.flaps.containsKey(direction))
continue; continue;
float horizontalAngle = direction.getHorizontalAngle() + 90; float horizontalAngle = AngleHelper.horizontalAngle(direction.getOpposite());
if (direction.getAxis() != Axis.X) float f = te.flaps.get(direction)
horizontalAngle += 180; .get(partialTicks);
ms.push();
msr.centre()
.rotateY(horizontalAngle)
.unCentre();
float flapPivotX = -15 / 16f;
float flapPivotY = -.5f;
float flapPivotZ = 0;
for (int segment = 0; segment <= 3; segment++) { for (int segment = 0; segment <= 3; segment++) {
ms.push();
float f = te.flaps.get(direction)
.get(partialTicks);
if (direction.getAxis() == Axis.X)
f *= -1;
float intensity = segment == 3 ? 1.5f : segment + 1; float intensity = segment == 3 ? 1.5f : segment + 1;
float abs = Math.abs(f); float abs = Math.abs(f);
float flapAngle = MathHelper.sin((float) ((1 - abs) * Math.PI * intensity)) * 30 * -f; float flapAngle = MathHelper.sin((float) ((1 - abs) * Math.PI * intensity)) * 30 * f
flapAngle = (float) (flapAngle / 180 * Math.PI); * (direction.getAxis() == Axis.X ? 1 : -1);
if (f > 0)
flapAngle *= .5f;
IVertexBuilder vb = buffer.getBuffer(RenderType.getSolid()); msr.translate(pivot)
flapBuffer.rotateCentered(Direction.UP, (float) (horizontalAngle / 180f * Math.PI)); .rotateX(flapAngle)
flapBuffer.translate(-flapPivotX, -flapPivotY, -flapPivotZ) .translateBack(pivot);
.rotate(Direction.SOUTH, flapAngle) flapBuffer.light(light)
.translate(flapPivotX, flapPivotY, flapPivotZ);
flapBuffer.translate(0, 0, -segment * 3 / 16f);
flapBuffer.light(WorldRenderer.getLightmapCoordinates(world, te.getBlockState(), pos))
.renderInto(ms, vb); .renderInto(ms, vb);
ms.pop();
ms.translate(-3 / 16f, 0, 0);
} }
ms.pop();
} }
} }

View file

@ -15,7 +15,7 @@ public class BeltTunnelShapes {
private static VoxelShape block = makeCuboidShape(0, -5, 0, 16, 16, 16); private static VoxelShape block = makeCuboidShape(0, -5, 0, 16, 16, 16);
private static VoxelShaper opening = VoxelShaper.forHorizontal(makeCuboidShape(2, -5, 14, 14, 8, 16), private static VoxelShaper opening = VoxelShaper.forHorizontal(makeCuboidShape(2, -5, 14, 14, 10, 16),
Direction.SOUTH); Direction.SOUTH);
private static final VoxelShaper STRAIGHT = VoxelShaper.forHorizontalAxis(VoxelShapes.combineAndSimplify(block, private static final VoxelShaper STRAIGHT = VoxelShaper.forHorizontalAxis(VoxelShapes.combineAndSimplify(block,

View file

@ -9,7 +9,7 @@ public class BrassTunnelFilterSlot extends ValueBoxTransform.Sided {
@Override @Override
protected Vec3d getSouthLocation() { protected Vec3d getSouthLocation() {
return VecHelper.voxelSpace(8, 12, 15.5f); return VecHelper.voxelSpace(8, 13, 15.5f);
} }
} }

View file

@ -10,6 +10,7 @@ import com.simibubi.create.Create;
import com.simibubi.create.content.contraptions.base.CasingBlock; import com.simibubi.create.content.contraptions.base.CasingBlock;
import com.simibubi.create.content.contraptions.components.structureMovement.piston.MechanicalPistonGenerator; import com.simibubi.create.content.contraptions.components.structureMovement.piston.MechanicalPistonGenerator;
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelBlock; import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelBlock;
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelBlock.Shape;
import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelItem; import com.simibubi.create.content.logistics.block.belts.tunnel.BeltTunnelItem;
import com.simibubi.create.content.logistics.block.funnel.FunnelBlock; import com.simibubi.create.content.logistics.block.funnel.FunnelBlock;
import com.simibubi.create.content.logistics.block.funnel.FunnelItem; import com.simibubi.create.content.logistics.block.funnel.FunnelItem;
@ -51,8 +52,8 @@ public class BuilderTransformers {
.simpleItem(); .simpleItem();
} }
public static <B extends FunnelBlock> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> funnel( public static <B extends FunnelBlock> NonNullUnaryOperator<BlockBuilder<B, CreateRegistrate>> funnel(String type,
String type, ResourceLocation particleTexture) { ResourceLocation particleTexture) {
return b -> { return b -> {
return b.blockstate((c, p) -> { return b.blockstate((c, p) -> {
Function<BlockState, ModelFile> model = s -> { Function<BlockState, ModelFile> model = s -> {
@ -86,13 +87,16 @@ public class BuilderTransformers {
.blockstate((c, p) -> p.getVariantBuilder(c.get()) .blockstate((c, p) -> p.getVariantBuilder(c.get())
.forAllStates(state -> { .forAllStates(state -> {
String id = "block/" + type + "_tunnel"; String id = "block/" + type + "_tunnel";
String shapeName = state.get(BeltTunnelBlock.SHAPE) Shape shape = state.get(BeltTunnelBlock.SHAPE);
.getName(); if (shape == BeltTunnelBlock.Shape.CLOSED)
shape = BeltTunnelBlock.Shape.STRAIGHT;
String shapeName = shape.getName();
return ConfiguredModel.builder() return ConfiguredModel.builder()
.modelFile(p.models() .modelFile(p.models()
.withExistingParent(id + "/" + shapeName, p.modLoc("block/belt_tunnel/" + shapeName)) .withExistingParent(id + "/" + shapeName, p.modLoc("block/belt_tunnel/" + shapeName))
.texture("0", p.modLoc(id))
.texture("1", p.modLoc(id + "_top")) .texture("1", p.modLoc(id + "_top"))
.texture("2", p.modLoc(id))
.texture("3", p.modLoc(id + "_top_window"))
.texture("particle", particleTexture)) .texture("particle", particleTexture))
.rotationY(state.get(BeltTunnelBlock.HORIZONTAL_AXIS) == Axis.X ? 0 : 90) .rotationY(state.get(BeltTunnelBlock.HORIZONTAL_AXIS) == Axis.X ? 0 : 90)
.build(); .build();
@ -101,8 +105,8 @@ public class BuilderTransformers {
.model((c, p) -> { .model((c, p) -> {
String id = type + "_tunnel"; String id = type + "_tunnel";
p.withExistingParent("item/" + id, p.modLoc("block/belt_tunnel/item")) p.withExistingParent("item/" + id, p.modLoc("block/belt_tunnel/item"))
.texture("0", p.modLoc("block/" + id))
.texture("1", p.modLoc("block/" + id + "_top")) .texture("1", p.modLoc("block/" + id + "_top"))
.texture("2", p.modLoc("block/" + id))
.texture("particle", particleTexture); .texture("particle", particleTexture);
}) })
.build(); .build();

View file

@ -2,23 +2,21 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel" "2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
"name": "LeftWall", "name": "LeftWall",
"from": [2, 8, 0], "from": [2, 10, 0],
"to": [14, 16, 2], "to": [14, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "north": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 6], "texture": "#0"}, "south": {"uv": [0, 13, 6, 16], "texture": "#2"},
"south": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 6], "texture": "#0"},
"up": {"uv": [2, 14, 14, 16], "rotation": 180, "texture": "#1"}, "up": {"uv": [2, 14, 14, 16], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.75, 4, 3.5, 4.5], "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "texture": "#2"}
} }
}, },
{ {
@ -37,10 +35,10 @@
"to": [2, 16, 16], "to": [2, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [7.5, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [14, 0, 16, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -50,10 +48,10 @@
"to": [2, 16, 2], "to": [2, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [14, 14, 16, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -63,10 +61,10 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 4.5, 8.25], "texture": "#0"}, "north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -76,10 +74,10 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -89,10 +87,10 @@
"to": [1, -3, 16], "to": [1, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -101,10 +99,10 @@
"to": [1, -3, 1], "to": [1, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -113,10 +111,10 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -125,46 +123,46 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "TTop", "name": "TTop",
"from": [2, 8, 14], "from": [2, 10, 14],
"to": [14, 16, 16], "to": [14, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"north": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "north": {"uv": [0, 13, 6, 16], "texture": "#2"},
"south": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "south": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [2, 0, 14, 2], "rotation": 180, "texture": "#1"}, "up": {"uv": [2, 0, 14, 2], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
} }
], ],

View file

@ -1,31 +1,22 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel", "4": "create:block/brass_tunnel"
"particle": "create:block/brass_tunnel"
}, },
"elements": [ "elements": [
{ {
"name": "F4", "name": "F4",
"from": [14.5, -2.5, 11], "from": [11, -3, 1],
"to": [15.5, 8.5, 14], "to": [14, 10, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 9]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#4"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#4"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 16, 16, 14.5], "rotation": 90, "texture": "#4"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#4"},
"up": {"uv": [4, 1.25, 4.75, 1.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 270, "texture": "#4"},
"down": {"uv": [4, 1, 4.75, 1.25], "rotation": 270, "texture": "#0"} "down": {"uv": [9.5, 14.5, 10, 16], "rotation": 270, "texture": "#4"}
} }
} }
],
"groups": [
{
"name": "Flap",
"origin": [8, 8, 8],
"children": [0]
}
] ]
} }

View file

@ -1,102 +0,0 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel"
},
"elements": [
{
"name": "LeftWall",
"from": [0, -3, 0],
"to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": {
"north": {"uv": [12, 8.25, 16, 13], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [12, 8.25, 16, 13], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
}
},
{
"name": "TopPiece",
"from": [2, 14, 2],
"to": [14, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -24, 8]},
"faces": {
"up": {"uv": [12.5, 0.25, 15.5, 3.25], "rotation": 180, "texture": "#0"},
"down": {"uv": [12.5, 0.25, 15.5, 3.25], "rotation": 180, "texture": "#0"}
}
},
{
"name": "RightWall",
"from": [0, -3, 14],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [12, 8.25, 16, 13], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [12, 8.25, 16, 13], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
}
},
{
"name": "LeftRail",
"from": [0, -5, 0],
"to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"}
}
},
{
"name": "RightRail",
"from": [0, -5, 15],
"to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"west": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"}
}
},
{
"name": "FrontTop",
"from": [0, 8, 2],
"to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"}
}
},
{
"name": "BackTop",
"from": [14, 8, 2],
"to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"}
}
}
],
"groups": [
{
"name": "Cover",
"origin": [8, 8, 8],
"children": [0, 1, 2, 3, 4, 5, 6]
}
]
}

View file

@ -1,102 +0,0 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel"
},
"elements": [
{
"name": "LeftWall",
"from": [0, -3, 0],
"to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": {
"north": {"uv": [8, 3.5, 12, 8.25], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [8, 3.5, 12, 8.25], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
}
},
{
"name": "TopPiece",
"from": [2, 14, 2],
"to": [14, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -24, 8]},
"faces": {
"up": {"uv": [8.5, 0.25, 11.5, 3.25], "rotation": 180, "texture": "#0"},
"down": {"uv": [8.5, 0.25, 11.5, 3.25], "rotation": 270, "texture": "#0"}
}
},
{
"name": "RightWall",
"from": [0, -3, 14],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [8, 3.5, 12, 8.25], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [8, 3.5, 12, 8.25], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
}
},
{
"name": "LeftRail",
"from": [0, -5, 0],
"to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"}
}
},
{
"name": "RightRail",
"from": [0, -5, 15],
"to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"},
"west": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"}
}
},
{
"name": "FrontTop",
"from": [0, 8, 2],
"to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"}
}
},
{
"name": "BackTop",
"from": [14, 8, 2],
"to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"}
}
}
],
"groups": [
{
"name": "Cover",
"origin": [8, 8, 8],
"children": [0, 1, 2, 3, 4, 5, 6]
}
]
}

View file

@ -2,9 +2,9 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel" "2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
@ -13,10 +13,10 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -36,10 +36,10 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9], "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -49,10 +49,10 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -61,146 +61,146 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "F1", "name": "F1",
"from": [14.5, -2.5, 11], "from": [0.5, -2.5, 2],
"to": [15.5, 8.5, 14], "to": [1.5, 10.5, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 2]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"} "down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
} }
}, },
{ {
"name": "F2", "name": "F2",
"from": [0.5, -2.5, 11],
"to": [1.5, 8.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 8]},
"faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"}
}
},
{
"name": "F3",
"from": [14.5, -2.5, 5],
"to": [15.5, 8.5, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 2]},
"faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"}
}
},
{
"name": "F4",
"from": [0.5, -2.5, 5], "from": [0.5, -2.5, 5],
"to": [1.5, 8.5, 8], "to": [1.5, 10.5, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 2]}, "rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 5]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"} "down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
}
},
{
"name": "F2",
"from": [14.5, -2.5, 8],
"to": [15.5, 8.5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
"faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"}
} }
}, },
{ {
"name": "F3", "name": "F3",
"from": [0.5, -2.5, 8], "from": [0.5, -2.5, 8],
"to": [1.5, 8.5, 11], "to": [1.5, 10.5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 8]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"} "down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
} }
}, },
{ {
"name": "F4", "name": "F4",
"from": [14.5, -2.5, 2], "from": [0.5, -2.5, 11],
"to": [15.5, 8.5, 5], "to": [1.5, 10.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 2]}, "rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 11]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"} "down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
} }
}, },
{ {
"name": "F5", "name": "F5",
"from": [0.5, -2.5, 2], "from": [14.5, -2.5, 11],
"to": [1.5, 8.5, 5], "to": [15.5, 10.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 2]}, "rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -5.5, 11]},
"faces": { "faces": {
"north": {"uv": [4, 0, 4.25, 2.5], "texture": "#0"}, "north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [4, 0, 4.75, 2.5], "rotation": 180, "texture": "#0"}, "east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [4.5, 0, 4.75, 2.5], "texture": "#0"}, "south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [4, 0, 4.75, 2.5], "texture": "#0"}, "west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [4, 0.25, 4.75, 0.5], "rotation": 90, "texture": "#0"}, "up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [4, 2.25, 4.75, 2.5], "rotation": 270, "texture": "#0"} "down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
}
},
{
"name": "F6",
"from": [14.5, -2.5, 8],
"to": [15.5, 10.5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -5.5, 8]},
"faces": {
"north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
}
},
{
"name": "F7",
"from": [14.5, -2.5, 5],
"to": [15.5, 10.5, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -5.5, 5]},
"faces": {
"north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
}
},
{
"name": "F8",
"from": [14.5, -2.5, 2],
"to": [15.5, 10.5, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -5.5, 2]},
"faces": {
"north": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#2"},
"east": {"uv": [9.5, 14.5, 16, 16], "rotation": 270, "texture": "#2"},
"south": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#2"},
"west": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#2"},
"up": {"uv": [15.5, 14.5, 16, 16], "rotation": 180, "texture": "#2"},
"down": {"uv": [15.5, 14.5, 16, 16], "texture": "#2"}
} }
} }
], ],

View file

@ -2,9 +2,9 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel_top" "2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
@ -13,10 +13,10 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -36,10 +36,10 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9], "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -49,10 +49,10 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -61,37 +61,74 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
} }
], ],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3.25, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"translation": [0, 1, 0],
"scale": [0.5, 0.5, 0.5]
},
"head": {
"rotation": [0, 90, 0]
},
"fixed": {
"rotation": [0, 90, 0],
"translation": [0, 1.5, 0],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [ "groups": [
{ {
"name": "Cover", "name": "Cover",

View file

@ -2,9 +2,9 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel" "2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
@ -13,10 +13,10 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -36,10 +36,10 @@
"to": [2, 16, 16], "to": [2, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [7.5, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [14, 0, 16, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -49,10 +49,10 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 4.5, 8.25], "texture": "#0"}, "north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -62,10 +62,10 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -74,10 +74,10 @@
"to": [1, -3, 16], "to": [1, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -86,46 +86,46 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "TTop", "name": "TTop",
"from": [2, 8, 14], "from": [2, 10, 14],
"to": [14, 16, 16], "to": [14, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"north": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "north": {"uv": [0, 13, 6, 16], "texture": "#2"},
"south": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "south": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [2, 0, 14, 2], "rotation": 180, "texture": "#1"}, "up": {"uv": [2, 0, 14, 2], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
} }
], ],

View file

@ -2,9 +2,9 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel" "2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
@ -13,10 +13,10 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
} }
}, },
@ -36,10 +36,10 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [7.5, 3.5, 8, 8.25], "texture": "#0"}, "south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -49,10 +49,10 @@
"to": [2, 16, 2], "to": [2, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [4, 3.5, 4.5, 8.25], "texture": "#0"}, "south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [14, 14, 16, 16], "rotation": 180, "texture": "#1"}
} }
}, },
@ -62,10 +62,10 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -74,10 +74,10 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -86,46 +86,46 @@
"to": [1, -3, 1], "to": [1, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 90, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 90, "texture": "#2"}
} }
}, },
{ {
"name": "TTop", "name": "TTop",
"from": [2, 8, 0], "from": [2, 10, 0],
"to": [14, 16, 2], "to": [14, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "north": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"south": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "south": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [2, 14, 14, 16], "rotation": 180, "texture": "#1"}, "up": {"uv": [2, 14, 14, 16], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 180, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 180, "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [9, -24, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 90, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 90, "texture": "#2"}
} }
} }
], ],

View file

@ -2,9 +2,9 @@
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block", "parent": "block/block",
"textures": { "textures": {
"0": "create:block/brass_tunnel", "2": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top", "3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_tunnel" "particle": "create:block/brass_block"
}, },
"elements": [ "elements": [
{ {
@ -13,11 +13,11 @@
"to": [16, 16, 2], "to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": { "faces": {
"north": {"uv": [12, 3.5, 16, 8.25], "texture": "#0"}, "north": {"uv": [8, 0, 16, 9.5], "texture": "#2"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [12, 3.5, 16, 8.25], "texture": "#0"}, "south": {"uv": [8, 0, 16, 9.5], "texture": "#2"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#3"}
} }
}, },
{ {
@ -26,8 +26,8 @@
"to": [14, 16, 14], "to": [14, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [7, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [7, -24, 8]},
"faces": { "faces": {
"up": {"uv": [8.5, 0.25, 11.5, 3.25], "rotation": 180, "texture": "#0"}, "up": {"uv": [2, 2, 14, 14], "rotation": 180, "texture": "#3"},
"down": {"uv": [8.5, 0.25, 11.5, 3.25], "rotation": 270, "texture": "#0"} "down": {"uv": [2, 2, 14, 14], "rotation": 270, "texture": "#3"}
} }
}, },
{ {
@ -36,11 +36,11 @@
"to": [16, 16, 16], "to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [12, 3.5, 16, 8.25], "texture": "#0"}, "north": {"uv": [8, 0, 16, 9.5], "texture": "#2"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"}, "east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [12, 3.5, 16, 8.25], "texture": "#0"}, "south": {"uv": [8, 0, 16, 9], "texture": "#2"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"}, "west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"} "up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#3"}
} }
}, },
{ {
@ -49,10 +49,10 @@
"to": [16, -3, 1], "to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.75, 8.25, 8, 8.75], "texture": "#0"}, "east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [4, 7.25, 4.25, 7.75], "texture": "#0"} "west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
} }
}, },
{ {
@ -61,37 +61,74 @@
"to": [16, -3, 16], "to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": { "faces": {
"north": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}, "east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [4, 8.25, 8, 8.75], "texture": "#0"}, "south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [3.75, 7.25, 4, 7.75], "texture": "#0"} "west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
} }
}, },
{ {
"name": "FrontTop", "name": "FrontTop",
"from": [0, 8, 2], "from": [0, 10, 2],
"to": [2, 16, 14], "to": [2, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#3"},
"down": {"uv": [0.5, 5.5, 3.5, 6], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
}, },
{ {
"name": "BackTop", "name": "BackTop",
"from": [14, 8, 2], "from": [14, 10, 2],
"to": [16, 16, 14], "to": [16, 16, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]}, "rotation": {"angle": 0, "axis": "y", "origin": [-8, -8, 8]},
"faces": { "faces": {
"east": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"}, "east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"}, "west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#1"}, "up": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#3"},
"down": {"uv": [0.5, 4, 3.5, 4.5], "rotation": 270, "texture": "#0"} "down": {"uv": [10, 13.5, 16, 14.5], "rotation": 270, "texture": "#2"}
} }
} }
], ],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3.25, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"translation": [0, 1, 0],
"scale": [0.5, 0.5, 0.5]
},
"head": {
"rotation": [0, 90, 0]
},
"fixed": {
"rotation": [0, 90, 0],
"translation": [0, 1.5, 0],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [ "groups": [
{ {
"name": "Cover", "name": "Cover",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 560 B

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 508 B