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",
"y": 90
},
"axis=x,shape=halfshade": {
"model": "create:block/andesite_tunnel/halfshade"
"axis=x,shape=closed": {
"model": "create:block/andesite_tunnel/straight"
},
"axis=z,shape=halfshade": {
"model": "create:block/andesite_tunnel/halfshade",
"y": 90
},
"axis=x,shape=fullshade": {
"model": "create:block/andesite_tunnel/fullshade"
},
"axis=z,shape=fullshade": {
"model": "create:block/andesite_tunnel/fullshade",
"axis=z,shape=closed": {
"model": "create:block/andesite_tunnel/straight",
"y": 90
},
"axis=x,shape=t_left": {

View file

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

View file

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

View file

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

View file

@ -1,8 +1,9 @@
{
"parent": "create:block/belt_tunnel/cross",
"textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"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",
"textures": {
"0": "create:block/andesite_tunnel",
"1": "create:block/andesite_tunnel_top",
"2": "create:block/andesite_tunnel",
"3": "create:block/andesite_tunnel_top_window",
"particle": "block/polished_andesite"
}
}

View file

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

View file

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

View file

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

View file

@ -1,8 +1,9 @@
{
"parent": "create:block/belt_tunnel/cross",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"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",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"2": "create:block/brass_tunnel",
"3": "create:block/brass_tunnel_top_window",
"particle": "create:block/brass_block"
}
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -45,7 +45,7 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
}
public enum Shape implements IStringSerializable {
STRAIGHT, WINDOW, HALFSHADE, FULLSHADE, T_LEFT, T_RIGHT, CROSS;
STRAIGHT, WINDOW, CLOSED, T_LEFT, T_RIGHT, CROSS;
@Override
public String getName() {
@ -88,8 +88,7 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
}
public static boolean hasWindow(BlockState state) {
Shape shape = state.get(SHAPE);
return shape == Shape.WINDOW || shape == Shape.HALFSHADE || shape == Shape.FULLSHADE;
return state.get(SHAPE) == Shape.WINDOW || state.get(SHAPE) == Shape.CLOSED;
}
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);
if (state.get(SHAPE) == Shape.STRAIGHT) {
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;
if (valid1 && valid2 && !(funnel1 && funnel2))
boolean canHaveWindow = canHaveWindow(reader, pos, axis);
if (canHaveWindow)
state = state.with(SHAPE, Shape.WINDOW);
}
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) {
BlockState blockState = world.getBlockState(pos.offset(side));
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 =
TileEntityBehaviour.get(world, pos.offset(side), DirectBeltInputBehaviour.TYPE);
return behaviour != null && behaviour.canInsertFromSide(side);
@ -189,23 +194,11 @@ public class BeltTunnelBlock extends Block implements ITE<BeltTunnelTileEntity>,
return ActionResultType.PASS;
// Toggle windows
Shape next = state.get(SHAPE);
switch (state.get(SHAPE)) {
case FULLSHADE:
next = Shape.WINDOW;
break;
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);
Shape shape = state.get(SHAPE);
shape = shape == Shape.CLOSED ? Shape.WINDOW : Shape.CLOSED;
World world = context.getWorld();
if (!world.isRemote)
world.setBlockState(context.getPos(), state.with(SHAPE, shape), 2);
return ActionResultType.SUCCESS;
}

View file

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

View file

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

View file

@ -2,23 +2,21 @@
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel"
"2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
},
"elements": [
{
"name": "LeftWall",
"from": [2, 8, 0],
"from": [2, 10, 0],
"to": [14, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": {
"north": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 6], "texture": "#0"},
"south": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 6], "texture": "#0"},
"north": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"south": {"uv": [0, 13, 6, 16], "texture": "#2"},
"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],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [7.5, 3.5, 8, 8.25], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 0, 16, 2], "rotation": 180, "texture": "#1"}
}
},
@ -50,10 +48,10 @@
"to": [2, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"north": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [14, 14, 16, 16], "rotation": 180, "texture": "#1"}
}
},
@ -63,10 +61,10 @@
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 3.5, 4.5, 8.25], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "rotation": 180, "texture": "#1"}
}
},
@ -76,10 +74,10 @@
"to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"north": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 2, 16], "rotation": 180, "texture": "#1"}
}
},
@ -89,10 +87,10 @@
"to": [1, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}
"north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
}
},
{
@ -101,10 +99,10 @@
"to": [1, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}
"north": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
}
},
{
@ -113,10 +111,10 @@
"to": [16, -3, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 23]},
"faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}
"north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
}
},
{
@ -125,46 +123,46 @@
"to": [16, -3, 1],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"east": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"south": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"},
"west": {"uv": [4, 8, 4.25, 8.5], "texture": "#0"}
"north": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
}
},
{
"name": "FrontTop",
"from": [0, 8, 2],
"from": [0, 10, 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"},
"east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"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",
"from": [2, 8, 14],
"from": [2, 10, 14],
"to": [14, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
"faces": {
"north": {"uv": [0.5, 6, 3.5, 8], "texture": "#0"},
"south": {"uv": [0.5, 4, 3.5, 6], "texture": "#0"},
"north": {"uv": [0, 13, 6, 16], "texture": "#2"},
"south": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"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",
"from": [14, 8, 2],
"from": [14, 10, 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"},
"east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"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",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"particle": "create:block/brass_tunnel"
"4": "create:block/brass_tunnel"
},
"elements": [
{
"name": "F4",
"from": [14.5, -2.5, 11],
"to": [15.5, 8.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
"from": [11, -3, 1],
"to": [14, 10, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 9]},
"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, 1.25, 4.75, 1.5], "rotation": 90, "texture": "#0"},
"down": {"uv": [4, 1, 4.75, 1.25], "rotation": 270, "texture": "#0"}
"north": {"uv": [9.5, 14.5, 16, 16], "rotation": 90, "texture": "#4"},
"east": {"uv": [9.5, 15.5, 16, 16], "rotation": 90, "texture": "#4"},
"south": {"uv": [9.5, 16, 16, 14.5], "rotation": 90, "texture": "#4"},
"west": {"uv": [9.5, 14.5, 16, 15], "rotation": 90, "texture": "#4"},
"up": {"uv": [15.5, 14.5, 16, 16], "rotation": 270, "texture": "#4"},
"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",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel"
"2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
},
"elements": [
{
@ -13,10 +13,10 @@
"to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
}
},
@ -36,10 +36,10 @@
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 8, 9], "texture": "#2"},
"west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
}
},
@ -49,10 +49,10 @@
"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"}
"north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
}
},
{
@ -61,146 +61,146 @@
"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"}
"north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
}
},
{
"name": "FrontTop",
"from": [0, 8, 2],
"from": [0, 10, 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"},
"east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"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",
"from": [14, 8, 2],
"from": [14, 10, 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"},
"east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"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",
"from": [14.5, -2.5, 11],
"to": [15.5, 8.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
"from": [0.5, -2.5, 2],
"to": [1.5, 10.5, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.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"}
"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": "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],
"to": [1.5, 8.5, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 2]},
"to": [1.5, 10.5, 8],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 5]},
"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": "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"}
"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": "F3",
"from": [0.5, -2.5, 8],
"to": [1.5, 8.5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 8]},
"to": [1.5, 10.5, 11],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.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"}
"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": "F4",
"from": [14.5, -2.5, 2],
"to": [15.5, 8.5, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 2]},
"from": [0.5, -2.5, 11],
"to": [1.5, 10.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -5.5, 11]},
"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"}
"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": "F5",
"from": [0.5, -2.5, 2],
"to": [1.5, 8.5, 5],
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 2]},
"from": [14.5, -2.5, 11],
"to": [15.5, 10.5, 14],
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -5.5, 11]},
"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"}
"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": "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",
"parent": "block/block",
"textures": {
"0": "create:block/brass_tunnel",
"1": "create:block/brass_tunnel_top",
"particle": "create:block/brass_tunnel_top"
"2": "create:block/brass_tunnel",
"particle": "create:block/brass_block"
},
"elements": [
{
@ -13,10 +13,10 @@
"to": [16, 16, 2],
"rotation": {"angle": 0, "axis": "y", "origin": [-9, -24, 8]},
"faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"east": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"west": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"west": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#1"}
}
},
@ -36,10 +36,10 @@
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
"faces": {
"north": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"east": {"uv": [0, 4, 0.5, 8.75], "texture": "#0"},
"south": {"uv": [4, 3.5, 8, 8.25], "texture": "#0"},
"west": {"uv": [3.5, 4, 4, 8.75], "texture": "#0"},
"north": {"uv": [0, 0, 8, 9.5], "texture": "#2"},
"east": {"uv": [0, 9.5, 9.5, 10.5], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 8, 9], "texture": "#2"},
"west": {"uv": [0, 10.5, 9.5, 11.5], "rotation": 90, "texture": "#2"},
"up": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#1"}
}
},
@ -49,10 +49,10 @@
"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"}
"north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"},
"south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"}
}
},
{
@ -61,37 +61,74 @@
"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"}
"north": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"east": {"uv": [0, 12.5, 0.5, 13.5], "texture": "#2"},
"south": {"uv": [0, 11.5, 8, 12.5], "texture": "#2"},
"west": {"uv": [7.5, 12.5, 8, 13.5], "texture": "#2"}
}
},
{
"name": "FrontTop",
"from": [0, 8, 2],
"from": [0, 10, 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"},
"east": {"uv": [0, 13, 6, 16], "texture": "#2"},
"west": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"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",
"from": [14, 8, 2],
"from": [14, 10, 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"},
"east": {"uv": [10, 9.5, 16, 12.5], "texture": "#2"},
"west": {"uv": [0, 13, 6, 16], "texture": "#2"},
"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": [
{
"name": "Cover",

View file

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