PC swap
- Started work on Belt Tunnels and Crafters
This commit is contained in:
parent
0bf30b2f93
commit
dd40334a61
27 changed files with 1613 additions and 99 deletions
|
@ -30,6 +30,7 @@ import com.simibubi.create.modules.contraptions.receivers.constructs.RotationCha
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.TranslationChassisBlock;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.TranslationChassisBlock;
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.mounted.CartAssemblerBlock;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.mounted.CartAssemblerBlock;
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.mounted.CartAssemblerBlock.MinecartAnchorBlock;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.mounted.CartAssemblerBlock.MinecartAnchorBlock;
|
||||||
|
import com.simibubi.create.modules.contraptions.receivers.crafter.MechanicalCrafterBlock;
|
||||||
import com.simibubi.create.modules.contraptions.redstone.ContactBlock;
|
import com.simibubi.create.modules.contraptions.redstone.ContactBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.ClutchBlock;
|
import com.simibubi.create.modules.contraptions.relays.ClutchBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.CogWheelBlock;
|
import com.simibubi.create.modules.contraptions.relays.CogWheelBlock;
|
||||||
|
@ -40,7 +41,7 @@ import com.simibubi.create.modules.contraptions.relays.GearshiftBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.ShaftBlock;
|
import com.simibubi.create.modules.contraptions.relays.ShaftBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.ShaftHalfBlock;
|
import com.simibubi.create.modules.contraptions.relays.ShaftHalfBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.belt.BeltBlock;
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltBlock;
|
||||||
import com.simibubi.create.modules.contraptions.relays.belt.BeltSupportBlock;
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTunnelBlock;
|
||||||
import com.simibubi.create.modules.curiosities.partialWindows.WindowInABlockBlock;
|
import com.simibubi.create.modules.curiosities.partialWindows.WindowInABlockBlock;
|
||||||
import com.simibubi.create.modules.curiosities.symmetry.block.CrossPlaneSymmetryBlock;
|
import com.simibubi.create.modules.curiosities.symmetry.block.CrossPlaneSymmetryBlock;
|
||||||
import com.simibubi.create.modules.curiosities.symmetry.block.PlaneSymmetryBlock;
|
import com.simibubi.create.modules.curiosities.symmetry.block.PlaneSymmetryBlock;
|
||||||
|
@ -106,7 +107,6 @@ public enum AllBlocks {
|
||||||
GEARSHIFT(new GearshiftBlock()),
|
GEARSHIFT(new GearshiftBlock()),
|
||||||
GEARBOX(new GearboxBlock()),
|
GEARBOX(new GearboxBlock()),
|
||||||
BELT(new BeltBlock()),
|
BELT(new BeltBlock()),
|
||||||
BELT_SUPPORT(new BeltSupportBlock()),
|
|
||||||
BELT_PULLEY(new RenderUtilityAxisBlock()),
|
BELT_PULLEY(new RenderUtilityAxisBlock()),
|
||||||
BELT_ANIMATION(new RenderUtilityBlock()),
|
BELT_ANIMATION(new RenderUtilityBlock()),
|
||||||
MOTOR(new MotorBlock()),
|
MOTOR(new MotorBlock()),
|
||||||
|
@ -124,7 +124,9 @@ public enum AllBlocks {
|
||||||
MECHANICAL_MIXER_POLE(new RenderUtilityBlock()),
|
MECHANICAL_MIXER_POLE(new RenderUtilityBlock()),
|
||||||
MECHANICAL_MIXER_HEAD(new RenderUtilityBlock()),
|
MECHANICAL_MIXER_HEAD(new RenderUtilityBlock()),
|
||||||
BASIN(new BasinBlock()),
|
BASIN(new BasinBlock()),
|
||||||
|
MECHANICAL_CRAFTER(new MechanicalCrafterBlock()),
|
||||||
|
MECHANICAL_CRAFTER_LID(new MechanicalCrafterBlock.Lid()),
|
||||||
|
|
||||||
MECHANICAL_PISTON(new MechanicalPistonBlock(false)),
|
MECHANICAL_PISTON(new MechanicalPistonBlock(false)),
|
||||||
STICKY_MECHANICAL_PISTON(new MechanicalPistonBlock(true)),
|
STICKY_MECHANICAL_PISTON(new MechanicalPistonBlock(true)),
|
||||||
MECHANICAL_PISTON_HEAD(new MechanicalPistonHeadBlock()),
|
MECHANICAL_PISTON_HEAD(new MechanicalPistonHeadBlock()),
|
||||||
|
@ -150,6 +152,8 @@ public enum AllBlocks {
|
||||||
EXTRACTOR(new ExtractorBlock()),
|
EXTRACTOR(new ExtractorBlock()),
|
||||||
LINKED_EXTRACTOR(new LinkedExtractorBlock()),
|
LINKED_EXTRACTOR(new LinkedExtractorBlock()),
|
||||||
BELT_FUNNEL(new BeltFunnelBlock()),
|
BELT_FUNNEL(new BeltFunnelBlock()),
|
||||||
|
BELT_TUNNEL(new BeltTunnelBlock()),
|
||||||
|
BELT_TUNNEL_FLAP(new RenderUtilityBlock()),
|
||||||
ENTITY_DETECTOR(new EntityDetectorBlock()),
|
ENTITY_DETECTOR(new EntityDetectorBlock()),
|
||||||
PULSE_REPEATER(new PulseRepeaterBlock()),
|
PULSE_REPEATER(new PulseRepeaterBlock()),
|
||||||
FLEXPEATER(new FlexpeaterBlock()),
|
FLEXPEATER(new FlexpeaterBlock()),
|
||||||
|
|
|
@ -29,6 +29,7 @@ import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalB
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalBearingTileEntityRenderer;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalBearingTileEntityRenderer;
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalPistonTileEntity;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalPistonTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalPistonTileEntityRenderer;
|
import com.simibubi.create.modules.contraptions.receivers.constructs.MechanicalPistonTileEntityRenderer;
|
||||||
|
import com.simibubi.create.modules.contraptions.receivers.crafter.MechanicalCrafterTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.relays.ClutchTileEntity;
|
import com.simibubi.create.modules.contraptions.relays.ClutchTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.relays.EncasedShaftTileEntity;
|
import com.simibubi.create.modules.contraptions.relays.EncasedShaftTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.relays.EncasedShaftTileEntityRenderer;
|
import com.simibubi.create.modules.contraptions.relays.EncasedShaftTileEntityRenderer;
|
||||||
|
@ -39,6 +40,8 @@ import com.simibubi.create.modules.contraptions.relays.ShaftTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.relays.SplitShaftTileEntityRenderer;
|
import com.simibubi.create.modules.contraptions.relays.SplitShaftTileEntityRenderer;
|
||||||
import com.simibubi.create.modules.contraptions.relays.belt.BeltTileEntity;
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTileEntity;
|
||||||
import com.simibubi.create.modules.contraptions.relays.belt.BeltTileEntityRenderer;
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTileEntityRenderer;
|
||||||
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTunnelTileEntity;
|
||||||
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTunnelTileEntityRenderer;
|
||||||
import com.simibubi.create.modules.curiosities.partialWindows.WindowInABlockTileEntity;
|
import com.simibubi.create.modules.curiosities.partialWindows.WindowInABlockTileEntity;
|
||||||
import com.simibubi.create.modules.logistics.block.LinkedTileEntityRenderer;
|
import com.simibubi.create.modules.logistics.block.LinkedTileEntityRenderer;
|
||||||
import com.simibubi.create.modules.logistics.block.RedstoneBridgeTileEntity;
|
import com.simibubi.create.modules.logistics.block.RedstoneBridgeTileEntity;
|
||||||
|
@ -96,9 +99,13 @@ public enum AllTileEntities {
|
||||||
CLUTCH(ClutchTileEntity::new, AllBlocks.CLUTCH),
|
CLUTCH(ClutchTileEntity::new, AllBlocks.CLUTCH),
|
||||||
GEARSHIFT(GearshiftTileEntity::new, AllBlocks.GEARSHIFT),
|
GEARSHIFT(GearshiftTileEntity::new, AllBlocks.GEARSHIFT),
|
||||||
BELT(BeltTileEntity::new, AllBlocks.BELT),
|
BELT(BeltTileEntity::new, AllBlocks.BELT),
|
||||||
|
BELT_TUNNEL(BeltTunnelTileEntity::new, AllBlocks.BELT_TUNNEL),
|
||||||
MECHANICAL_PISTON(MechanicalPistonTileEntity::new, AllBlocks.MECHANICAL_PISTON, AllBlocks.STICKY_MECHANICAL_PISTON),
|
MECHANICAL_PISTON(MechanicalPistonTileEntity::new, AllBlocks.MECHANICAL_PISTON, AllBlocks.STICKY_MECHANICAL_PISTON),
|
||||||
MECHANICAL_BEARING(MechanicalBearingTileEntity::new, AllBlocks.MECHANICAL_BEARING),
|
MECHANICAL_BEARING(MechanicalBearingTileEntity::new, AllBlocks.MECHANICAL_BEARING),
|
||||||
CHASSIS(ChassisTileEntity::new, AllBlocks.ROTATION_CHASSIS, AllBlocks.TRANSLATION_CHASSIS,
|
CHASSIS(
|
||||||
|
ChassisTileEntity::new,
|
||||||
|
AllBlocks.ROTATION_CHASSIS,
|
||||||
|
AllBlocks.TRANSLATION_CHASSIS,
|
||||||
AllBlocks.TRANSLATION_CHASSIS_SECONDARY),
|
AllBlocks.TRANSLATION_CHASSIS_SECONDARY),
|
||||||
DRILL(DrillTileEntity::new, AllBlocks.DRILL),
|
DRILL(DrillTileEntity::new, AllBlocks.DRILL),
|
||||||
SAW(SawTileEntity::new, AllBlocks.SAW),
|
SAW(SawTileEntity::new, AllBlocks.SAW),
|
||||||
|
@ -109,6 +116,7 @@ public enum AllTileEntities {
|
||||||
MECHANICAL_PRESS(MechanicalPressTileEntity::new, AllBlocks.MECHANICAL_PRESS),
|
MECHANICAL_PRESS(MechanicalPressTileEntity::new, AllBlocks.MECHANICAL_PRESS),
|
||||||
MECHANICAL_MIXER(MechanicalMixerTileEntity::new, AllBlocks.MECHANICAL_MIXER),
|
MECHANICAL_MIXER(MechanicalMixerTileEntity::new, AllBlocks.MECHANICAL_MIXER),
|
||||||
BASIN(BasinTileEntity::new, AllBlocks.BASIN),
|
BASIN(BasinTileEntity::new, AllBlocks.BASIN),
|
||||||
|
MECHANICAL_CRAFTER(MechanicalCrafterTileEntity::new, AllBlocks.MECHANICAL_CRAFTER),
|
||||||
|
|
||||||
// Logistics
|
// Logistics
|
||||||
REDSTONE_BRIDGE(RedstoneBridgeTileEntity::new, AllBlocks.REDSTONE_BRIDGE),
|
REDSTONE_BRIDGE(RedstoneBridgeTileEntity::new, AllBlocks.REDSTONE_BRIDGE),
|
||||||
|
@ -182,6 +190,7 @@ public enum AllTileEntities {
|
||||||
bind(LinkedExtractorTileEntity.class, new LinkedExtractorTileEntityRenderer());
|
bind(LinkedExtractorTileEntity.class, new LinkedExtractorTileEntityRenderer());
|
||||||
bind(ExtractorTileEntity.class, new ExtractorTileEntityRenderer());
|
bind(ExtractorTileEntity.class, new ExtractorTileEntityRenderer());
|
||||||
bind(BeltFunnelTileEntity.class, new BeltFunnelTileEntityRenderer());
|
bind(BeltFunnelTileEntity.class, new BeltFunnelTileEntityRenderer());
|
||||||
|
bind(BeltTunnelTileEntity.class, new BeltTunnelTileEntityRenderer());
|
||||||
bind(EntityDetectorTileEntity.class, new EntityDetectorTileEntityRenderer());
|
bind(EntityDetectorTileEntity.class, new EntityDetectorTileEntityRenderer());
|
||||||
bind(MechanicalPressTileEntity.class, new MechanicalPressTileEntityRenderer());
|
bind(MechanicalPressTileEntity.class, new MechanicalPressTileEntityRenderer());
|
||||||
bind(FlexpeaterTileEntity.class, new FlexpeaterTileEntityRenderer());
|
bind(FlexpeaterTileEntity.class, new FlexpeaterTileEntityRenderer());
|
||||||
|
|
|
@ -436,6 +436,7 @@ public class CreateConfig {
|
||||||
case ENCASED_FAN:
|
case ENCASED_FAN:
|
||||||
case MECHANICAL_MIXER:
|
case MECHANICAL_MIXER:
|
||||||
case MECHANICAL_BEARING:
|
case MECHANICAL_BEARING:
|
||||||
|
case MECHANICAL_CRAFTER:
|
||||||
return 8;
|
return 8;
|
||||||
|
|
||||||
case WATER_WHEEL:
|
case WATER_WHEEL:
|
||||||
|
|
|
@ -0,0 +1,61 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.receivers.crafter;
|
||||||
|
|
||||||
|
import com.simibubi.create.foundation.block.IWithTileEntity;
|
||||||
|
import com.simibubi.create.foundation.block.RenderUtilityBlock;
|
||||||
|
import com.simibubi.create.modules.contraptions.base.DirectionalKineticBlock;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.block.Blocks;
|
||||||
|
import net.minecraft.state.DirectionProperty;
|
||||||
|
import net.minecraft.state.StateContainer.Builder;
|
||||||
|
import net.minecraft.state.properties.BlockStateProperties;
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
import net.minecraft.util.Direction;
|
||||||
|
import net.minecraft.util.Direction.Axis;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.IBlockReader;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
public class MechanicalCrafterBlock extends DirectionalKineticBlock
|
||||||
|
implements IWithTileEntity<MechanicalCrafterTileEntity> {
|
||||||
|
|
||||||
|
public static final DirectionProperty OUTPUT = BlockStateProperties.HORIZONTAL_FACING;
|
||||||
|
|
||||||
|
public MechanicalCrafterBlock() {
|
||||||
|
super(Properties.from(Blocks.GOLD_BLOCK));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void fillStateContainer(Builder<Block, BlockState> builder) {
|
||||||
|
super.fillStateContainer(builder.add(OUTPUT));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TileEntity createTileEntity(BlockState state, IBlockReader world) {
|
||||||
|
return new MechanicalCrafterTileEntity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean hasStaticPart() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean hasCogsTowards(World world, BlockPos pos, BlockState state, Direction face) {
|
||||||
|
return state.get(FACING).getAxis() != face.getAxis();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Axis getRotationAxis(BlockState state) {
|
||||||
|
return state.get(FACING).getAxis();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class Lid extends RenderUtilityBlock {
|
||||||
|
@Override
|
||||||
|
protected void fillStateContainer(Builder<Block, BlockState> builder) {
|
||||||
|
super.fillStateContainer(builder.add(BlockStateProperties.FACING));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.receivers.crafter;
|
||||||
|
|
||||||
|
import com.simibubi.create.AllTileEntities;
|
||||||
|
import com.simibubi.create.modules.contraptions.base.KineticTileEntity;
|
||||||
|
|
||||||
|
public class MechanicalCrafterTileEntity extends KineticTileEntity {
|
||||||
|
|
||||||
|
public MechanicalCrafterTileEntity() {
|
||||||
|
super(AllTileEntities.MECHANICAL_CRAFTER.type);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,35 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.receivers.crafter;
|
||||||
|
|
||||||
|
import com.simibubi.create.AllBlocks;
|
||||||
|
import com.simibubi.create.foundation.utility.TessellatorHelper;
|
||||||
|
import com.simibubi.create.modules.contraptions.base.KineticTileEntityRenderer;
|
||||||
|
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.client.renderer.BufferBuilder;
|
||||||
|
import net.minecraft.client.renderer.Tessellator;
|
||||||
|
import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
|
||||||
|
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
|
||||||
|
import net.minecraft.state.properties.BlockStateProperties;
|
||||||
|
|
||||||
|
public class MechanicalCrafterTileEntityRenderer extends TileEntityRenderer<MechanicalCrafterTileEntity> {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void render(MechanicalCrafterTileEntity tileEntityIn, double x, double y, double z, float partialTicks,
|
||||||
|
int destroyStage) {
|
||||||
|
super.render(tileEntityIn, x, y, z, partialTicks, destroyStage);
|
||||||
|
|
||||||
|
TessellatorHelper.prepareFastRender();
|
||||||
|
TessellatorHelper.begin(DefaultVertexFormats.BLOCK);
|
||||||
|
renderTileEntityFast(tileEntityIn, x, y, z, partialTicks, destroyStage, Tessellator.getInstance().getBuffer());
|
||||||
|
TessellatorHelper.draw();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void renderTileEntityFast(MechanicalCrafterTileEntity te, double x, double y, double z, float partialTicks,
|
||||||
|
int destroyStage, BufferBuilder buffer) {
|
||||||
|
BlockState renderedState = AllBlocks.SHAFTLESS_COGWHEEL.get().getDefaultState().with(BlockStateProperties.AXIS,
|
||||||
|
te.getBlockState().get(BlockStateProperties.FACING).getAxis());
|
||||||
|
KineticTileEntityRenderer.renderRotatingKineticBlock(te, getWorld(), renderedState, x, y, z, buffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -90,7 +90,7 @@ public class BeltBlock extends HorizontalKineticBlock implements IWithoutBlockIt
|
||||||
public boolean isFlammable(BlockState state, IBlockReader world, BlockPos pos, Direction face) {
|
public boolean isFlammable(BlockState state, IBlockReader world, BlockPos pos, Direction face) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onLanded(IBlockReader worldIn, Entity entityIn) {
|
public void onLanded(IBlockReader worldIn, Entity entityIn) {
|
||||||
super.onLanded(worldIn, entityIn);
|
super.onLanded(worldIn, entityIn);
|
||||||
|
@ -150,6 +150,7 @@ public class BeltBlock extends HorizontalKineticBlock implements IWithoutBlockIt
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onBlockAdded(BlockState state, World worldIn, BlockPos pos, BlockState oldState, boolean isMoving) {
|
public void onBlockAdded(BlockState state, World worldIn, BlockPos pos, BlockState oldState, boolean isMoving) {
|
||||||
|
updateNeighbouringTunnel(worldIn, pos, state);
|
||||||
withTileEntityDo(worldIn, pos, te -> {
|
withTileEntityDo(worldIn, pos, te -> {
|
||||||
te.attachmentTracker.findAttachments(te);
|
te.attachmentTracker.findAttachments(te);
|
||||||
});
|
});
|
||||||
|
@ -235,7 +236,7 @@ public class BeltBlock extends HorizontalKineticBlock implements IWithoutBlockIt
|
||||||
if (state.get(CASING)) {
|
if (state.get(CASING)) {
|
||||||
if (world.isRemote)
|
if (world.isRemote)
|
||||||
return ActionResultType.SUCCESS;
|
return ActionResultType.SUCCESS;
|
||||||
world.setBlockState(context.getPos(), state.with(CASING, false), 2);
|
world.setBlockState(context.getPos(), state.with(CASING, false), 3);
|
||||||
if (!player.isCreative())
|
if (!player.isCreative())
|
||||||
player.inventory.placeItemBackInInventory(world, new ItemStack(AllBlocks.LOGISTICAL_CASING.block));
|
player.inventory.placeItemBackInInventory(world, new ItemStack(AllBlocks.LOGISTICAL_CASING.block));
|
||||||
return ActionResultType.SUCCESS;
|
return ActionResultType.SUCCESS;
|
||||||
|
@ -325,7 +326,9 @@ public class BeltBlock extends HorizontalKineticBlock implements IWithoutBlockIt
|
||||||
return;
|
return;
|
||||||
if (state.getBlock() == newState.getBlock())
|
if (state.getBlock() == newState.getBlock())
|
||||||
return;
|
return;
|
||||||
|
updateNeighbouringTunnel(worldIn, pos, state);
|
||||||
|
|
||||||
|
// Destroy chain
|
||||||
boolean endWasDestroyed = state.get(PART) == Part.END;
|
boolean endWasDestroyed = state.get(PART) == Part.END;
|
||||||
TileEntity tileEntity = worldIn.getTileEntity(pos);
|
TileEntity tileEntity = worldIn.getTileEntity(pos);
|
||||||
if (tileEntity == null)
|
if (tileEntity == null)
|
||||||
|
@ -387,6 +390,16 @@ public class BeltBlock extends HorizontalKineticBlock implements IWithoutBlockIt
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void updateNeighbouringTunnel(World world, BlockPos pos, BlockState beltState) {
|
||||||
|
boolean isEnd = beltState.get(PART) != Part.END;
|
||||||
|
if (isEnd && beltState.get(PART) != Part.START)
|
||||||
|
return;
|
||||||
|
int offset = isEnd ? -1 : 1;
|
||||||
|
BlockPos tunnelPos = pos.offset(beltState.get(HORIZONTAL_FACING), offset).up();
|
||||||
|
if (AllBlocks.BELT_TUNNEL.typeOf(world.getBlockState(tunnelPos)))
|
||||||
|
BeltTunnelBlock.updateTunnel(world, tunnelPos);
|
||||||
|
}
|
||||||
|
|
||||||
public enum Slope implements IStringSerializable {
|
public enum Slope implements IStringSerializable {
|
||||||
HORIZONTAL, UPWARD, DOWNWARD, VERTICAL;
|
HORIZONTAL, UPWARD, DOWNWARD, VERTICAL;
|
||||||
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
package com.simibubi.create.modules.contraptions.relays.belt;
|
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.block.BlockState;
|
|
||||||
import net.minecraft.block.Blocks;
|
|
||||||
import net.minecraft.util.math.BlockPos;
|
|
||||||
import net.minecraft.util.math.shapes.ISelectionContext;
|
|
||||||
import net.minecraft.util.math.shapes.VoxelShape;
|
|
||||||
import net.minecraft.util.math.shapes.VoxelShapes;
|
|
||||||
import net.minecraft.world.IBlockReader;
|
|
||||||
|
|
||||||
public class BeltSupportBlock extends Block {
|
|
||||||
|
|
||||||
public static final VoxelShape SHAPE = makeCuboidShape(0, 0, 0, 16, 27, 16);
|
|
||||||
|
|
||||||
public BeltSupportBlock() {
|
|
||||||
super(Properties.from(Blocks.ANDESITE));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) {
|
|
||||||
return SHAPE;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public VoxelShape getRenderShape(BlockState state, IBlockReader worldIn, BlockPos pos) {
|
|
||||||
return VoxelShapes.fullCube();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public VoxelShape getRaytraceShape(BlockState state, IBlockReader worldIn, BlockPos pos) {
|
|
||||||
return getRenderShape(state, worldIn, pos);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -0,0 +1,147 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.relays.belt;
|
||||||
|
|
||||||
|
import com.simibubi.create.AllBlocks;
|
||||||
|
import com.simibubi.create.foundation.utility.Lang;
|
||||||
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltBlock.Slope;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.block.Blocks;
|
||||||
|
import net.minecraft.item.BlockItemUseContext;
|
||||||
|
import net.minecraft.state.EnumProperty;
|
||||||
|
import net.minecraft.state.IProperty;
|
||||||
|
import net.minecraft.state.StateContainer.Builder;
|
||||||
|
import net.minecraft.state.properties.BlockStateProperties;
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
import net.minecraft.util.BlockRenderLayer;
|
||||||
|
import net.minecraft.util.Direction;
|
||||||
|
import net.minecraft.util.Direction.Axis;
|
||||||
|
import net.minecraft.util.Direction.AxisDirection;
|
||||||
|
import net.minecraft.util.IStringSerializable;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.IBlockReader;
|
||||||
|
import net.minecraft.world.IWorld;
|
||||||
|
import net.minecraft.world.IWorldReader;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
public class BeltTunnelBlock extends Block {
|
||||||
|
|
||||||
|
public static final IProperty<Shape> SHAPE = EnumProperty.create("shape", Shape.class);
|
||||||
|
public static final IProperty<Axis> HORIZONTAL_AXIS = BlockStateProperties.HORIZONTAL_AXIS;
|
||||||
|
|
||||||
|
public BeltTunnelBlock() {
|
||||||
|
super(Properties.from(Blocks.GOLD_BLOCK));
|
||||||
|
setDefaultState(getDefaultState().with(SHAPE, Shape.STRAIGHT));
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum Shape implements IStringSerializable {
|
||||||
|
STRAIGHT, WINDOW, T_LEFT, T_RIGHT, CROSS;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getName() {
|
||||||
|
return Lang.asId(name());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean hasTileEntity(BlockState state) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public TileEntity createTileEntity(BlockState state, IBlockReader world) {
|
||||||
|
return new BeltTunnelTileEntity();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isValidPosition(BlockState state, IWorldReader worldIn, BlockPos pos) {
|
||||||
|
BlockState blockState = worldIn.getBlockState(pos.down());
|
||||||
|
if (!AllBlocks.BELT.typeOf(blockState))
|
||||||
|
return false;
|
||||||
|
if (blockState.get(BeltBlock.SLOPE) != Slope.HORIZONTAL)
|
||||||
|
return false;
|
||||||
|
if (!blockState.get(BeltBlock.CASING))
|
||||||
|
return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean canRenderInLayer(BlockState state, BlockRenderLayer layer) {
|
||||||
|
if (state.get(SHAPE) == Shape.WINDOW)
|
||||||
|
return layer == BlockRenderLayer.CUTOUT_MIPPED;
|
||||||
|
return super.canRenderInLayer(state, layer);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BlockState getStateForPlacement(BlockItemUseContext context) {
|
||||||
|
return getTunnelState(context.getWorld(), context.getPos());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public BlockState updatePostPlacement(BlockState state, Direction facing, BlockState facingState, IWorld worldIn,
|
||||||
|
BlockPos currentPos, BlockPos facingPos) {
|
||||||
|
return getTunnelState(worldIn, currentPos);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void updateTunnel(World world, BlockPos pos) {
|
||||||
|
BlockState tunnel = world.getBlockState(pos);
|
||||||
|
BlockState newTunnel = getTunnelState(world, pos);
|
||||||
|
if (tunnel != newTunnel)
|
||||||
|
world.setBlockState(pos, newTunnel, 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static BlockState getTunnelState(IBlockReader reader, BlockPos pos) {
|
||||||
|
BlockState state = AllBlocks.BELT_TUNNEL.get().getDefaultState();
|
||||||
|
|
||||||
|
BlockState belt = reader.getBlockState(pos.down());
|
||||||
|
if (AllBlocks.BELT.typeOf(belt))
|
||||||
|
state = state.with(HORIZONTAL_AXIS, belt.get(BeltBlock.HORIZONTAL_FACING).getAxis());
|
||||||
|
Axis axis = state.get(HORIZONTAL_AXIS);
|
||||||
|
|
||||||
|
// T and Cross
|
||||||
|
Direction left = Direction.getFacingFromAxis(AxisDirection.POSITIVE, axis).rotateY();
|
||||||
|
BlockState leftState = reader.getBlockState(pos.offset(left).down());
|
||||||
|
boolean onLeft = AllBlocks.BELT.typeOf(leftState)
|
||||||
|
&& leftState.get(BeltBlock.HORIZONTAL_FACING).getAxis() != axis;
|
||||||
|
BlockState rightState = reader.getBlockState(pos.offset(left.getOpposite()).down());
|
||||||
|
boolean onRight = AllBlocks.BELT.typeOf(rightState)
|
||||||
|
&& rightState.get(BeltBlock.HORIZONTAL_FACING).getAxis() != axis;
|
||||||
|
|
||||||
|
if (onLeft && onRight)
|
||||||
|
state = state.with(SHAPE, Shape.CROSS);
|
||||||
|
else if (onLeft)
|
||||||
|
state = state.with(SHAPE, Shape.T_LEFT);
|
||||||
|
else if (onRight)
|
||||||
|
state = state.with(SHAPE, Shape.T_RIGHT);
|
||||||
|
|
||||||
|
if (state.get(SHAPE) == Shape.STRAIGHT) {
|
||||||
|
Direction fw = Direction.getFacingFromAxis(AxisDirection.POSITIVE, axis);
|
||||||
|
if (AllBlocks.BELT_TUNNEL.typeOf(reader.getBlockState(pos.offset(fw)))
|
||||||
|
&& AllBlocks.BELT_TUNNEL.typeOf(reader.getBlockState(pos.offset(fw.getOpposite()))))
|
||||||
|
state = state.with(SHAPE, Shape.WINDOW);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void neighborChanged(BlockState state, World worldIn, BlockPos pos, Block blockIn, BlockPos fromPos,
|
||||||
|
boolean isMoving) {
|
||||||
|
if (worldIn.isRemote)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (fromPos.equals(pos.down())) {
|
||||||
|
if (!isValidPosition(state, worldIn, pos)) {
|
||||||
|
worldIn.destroyBlock(pos, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void fillStateContainer(Builder<Block, BlockState> builder) {
|
||||||
|
builder.add(HORIZONTAL_AXIS, SHAPE);
|
||||||
|
super.fillStateContainer(builder);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,30 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.relays.belt;
|
||||||
|
|
||||||
|
import com.simibubi.create.AllBlocks;
|
||||||
|
import com.simibubi.create.AllTileEntities;
|
||||||
|
import com.simibubi.create.foundation.block.SyncedTileEntity;
|
||||||
|
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
|
import net.minecraft.util.Direction;
|
||||||
|
import net.minecraftforge.common.capabilities.Capability;
|
||||||
|
import net.minecraftforge.common.util.LazyOptional;
|
||||||
|
|
||||||
|
public class BeltTunnelTileEntity extends SyncedTileEntity {
|
||||||
|
|
||||||
|
public BeltTunnelTileEntity() {
|
||||||
|
super(AllTileEntities.BELT_TUNNEL.type);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public <T> LazyOptional<T> getCapability(Capability<T> cap, Direction side) {
|
||||||
|
|
||||||
|
if (AllBlocks.BELT.typeOf(world.getBlockState(pos.down()))) {
|
||||||
|
TileEntity teBelow = world.getTileEntity(pos.down());
|
||||||
|
if (teBelow != null)
|
||||||
|
return teBelow.getCapability(cap, Direction.UP);
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.getCapability(cap, side);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,55 @@
|
||||||
|
package com.simibubi.create.modules.contraptions.relays.belt;
|
||||||
|
|
||||||
|
import com.simibubi.create.AllBlocks;
|
||||||
|
import com.simibubi.create.CreateClient;
|
||||||
|
import com.simibubi.create.foundation.utility.SuperByteBuffer;
|
||||||
|
import com.simibubi.create.modules.contraptions.relays.belt.BeltTunnelBlock.Shape;
|
||||||
|
|
||||||
|
import net.minecraft.block.BlockState;
|
||||||
|
import net.minecraft.client.renderer.BufferBuilder;
|
||||||
|
import net.minecraft.state.properties.BlockStateProperties;
|
||||||
|
import net.minecraft.util.Direction;
|
||||||
|
import net.minecraft.util.Direction.Axis;
|
||||||
|
import net.minecraft.util.Direction.AxisDirection;
|
||||||
|
import net.minecraft.util.math.BlockPos;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.client.model.animation.TileEntityRendererFast;
|
||||||
|
|
||||||
|
public class BeltTunnelTileEntityRenderer extends TileEntityRendererFast<BeltTunnelTileEntity> {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void renderTileEntityFast(BeltTunnelTileEntity te, double x, double y, double z, float partialTicks,
|
||||||
|
int destroyStage, BufferBuilder buffer) {
|
||||||
|
BlockState flapState = AllBlocks.BELT_TUNNEL_FLAP.get().getDefaultState();
|
||||||
|
BlockState tunnelState = te.getBlockState();
|
||||||
|
SuperByteBuffer flapBuffer = CreateClient.bufferCache.renderGenericBlockModel(flapState);
|
||||||
|
BlockPos pos = te.getPos();
|
||||||
|
World world = getWorld();
|
||||||
|
|
||||||
|
for (Direction direction : Direction.values()) {
|
||||||
|
// TODO: move flap presence to TE
|
||||||
|
if (direction.getAxis().isVertical())
|
||||||
|
continue;
|
||||||
|
if (AllBlocks.BELT_TUNNEL.typeOf(world.getBlockState(pos.offset(direction))))
|
||||||
|
continue;
|
||||||
|
if (direction.getAxis() != tunnelState.get(BlockStateProperties.HORIZONTAL_AXIS)) {
|
||||||
|
boolean positive = direction.getAxisDirection() == AxisDirection.POSITIVE;
|
||||||
|
Shape shape = tunnelState.get(BeltTunnelBlock.SHAPE);
|
||||||
|
if (shape == Shape.STRAIGHT || shape == Shape.WINDOW)
|
||||||
|
continue;
|
||||||
|
if (positive && shape == Shape.T_LEFT)
|
||||||
|
continue;
|
||||||
|
if (!positive && shape == Shape.T_RIGHT)
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// get flap angle
|
||||||
|
|
||||||
|
flapBuffer.rotateCentered(Axis.Y, (float) (direction.getHorizontalAngle() / 180f * Math.PI));
|
||||||
|
flapBuffer.translate(x, y, z);
|
||||||
|
flapBuffer.light(te.getBlockState().getPackedLightmapCoords(world, pos)).renderInto(buffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"variants": {
|
|
||||||
"": { "model": "create:block/belt_support" }
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"forge_marker": 1,
|
||||||
|
"variants": {
|
||||||
|
"shape": {
|
||||||
|
"straight": { "model": "create:block/belt_tunnel/straight" },
|
||||||
|
"window": { "model": "create:block/belt_tunnel/window" },
|
||||||
|
"t_left": { "model": "create:block/belt_tunnel/t_left" },
|
||||||
|
"t_right": { "model": "create:block/belt_tunnel/t_right" },
|
||||||
|
"cross": { "model": "create:block/belt_tunnel/cross" }
|
||||||
|
},
|
||||||
|
"axis": {
|
||||||
|
"x": { },
|
||||||
|
"z": { "y": 90 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -68,7 +68,6 @@
|
||||||
"block.create.harvester": "Mechanical Harvester",
|
"block.create.harvester": "Mechanical Harvester",
|
||||||
"block.create.saw": "Mechanical Saw",
|
"block.create.saw": "Mechanical Saw",
|
||||||
"block.create.water_wheel": "Water Wheel",
|
"block.create.water_wheel": "Water Wheel",
|
||||||
"block.create.belt_support": "Belt Support",
|
|
||||||
"block.create.mechanical_press": "Mechanical Press",
|
"block.create.mechanical_press": "Mechanical Press",
|
||||||
"block.create.mechanical_mixer": "Mechanical Mixer",
|
"block.create.mechanical_mixer": "Mechanical Mixer",
|
||||||
"block.create.basin": "Basin",
|
"block.create.basin": "Basin",
|
||||||
|
@ -96,9 +95,11 @@
|
||||||
"block.create.logistical_index": "Logistical Index",
|
"block.create.logistical_index": "Logistical Index",
|
||||||
"block.create.logisticians_table": "Logisticians Table",
|
"block.create.logisticians_table": "Logisticians Table",
|
||||||
"block.create.package_funnel": "Package Funnel",
|
"block.create.package_funnel": "Package Funnel",
|
||||||
|
"block.create.belt_tunnel": "Conveyor Tunnel",
|
||||||
|
|
||||||
"block.create.tiled_glass": "Tiled Glass",
|
"block.create.tiled_glass": "Tiled Glass",
|
||||||
"block.create.tiled_glass_pane": "Tiled Glass Pane",
|
"block.create.tiled_glass_pane": "Tiled Glass Pane",
|
||||||
|
"block.create.framed_glass": "Framed Glass",
|
||||||
|
|
||||||
"block.create.window_in_a_block": "Block with Glass Pane",
|
"block.create.window_in_a_block": "Block with Glass Pane",
|
||||||
"block.create.andesite_bricks": "Andesite Bricks",
|
"block.create.andesite_bricks": "Andesite Bricks",
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {"uv": [0, 6, 16, 11], "texture": "#2"},
|
"north": {"uv": [0, 6, 16, 11], "texture": "#2"},
|
||||||
"east": {"uv": [4, 5.9, 10, 11], "texture": "#2"},
|
"east": {"uv": [4, 5.9, 10, 11], "texture": "#2"},
|
||||||
"south": {"uv": [0, 0, 16, 5], "texture": "#missing"},
|
|
||||||
"west": {"uv": [4, 5.9, 10, 11], "texture": "#2"},
|
"west": {"uv": [4, 5.9, 10, 11], "texture": "#2"},
|
||||||
"up": {"uv": [0, 2, 16, 8], "texture": "#2"},
|
"up": {"uv": [0, 2, 16, 8], "texture": "#2"},
|
||||||
"down": {"uv": [4, 0, 10, 16], "rotation": 90, "texture": "#2"}
|
"down": {"uv": [4, 0, 10, 16], "rotation": 90, "texture": "#2"}
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
{
|
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (https://mrcrayfish.com/tools?id=mc)",
|
|
||||||
"parent": "block/block",
|
|
||||||
"textures": {
|
|
||||||
"brass_casing_side": "create:block/brass_casing_side",
|
|
||||||
"brass_casing": "create:block/brass_casing",
|
|
||||||
"belt_support_side": "create:block/brass_casing_side",
|
|
||||||
"particle": "create:block/brass_casing_side"
|
|
||||||
},
|
|
||||||
"elements": [
|
|
||||||
{
|
|
||||||
"name": "Cube",
|
|
||||||
"from": [ 0, 0, 0 ],
|
|
||||||
"to": [ 16, 16, 16 ],
|
|
||||||
"faces": {
|
|
||||||
"north": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 16 ] },
|
|
||||||
"east": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 16 ] },
|
|
||||||
"south": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 16 ] },
|
|
||||||
"west": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 16 ] },
|
|
||||||
"down": { "texture": "#brass_casing", "uv": [ 0, 0, 16, 16 ] }
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Cube",
|
|
||||||
"from": [ -0.03125, 16, -0.03125 ],
|
|
||||||
"to": [ 16.03125, 27, 16.03125 ],
|
|
||||||
"faces": {
|
|
||||||
"north": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 11 ] },
|
|
||||||
"east": { "texture": "#belt_support_side", "uv": [ 0, 0, 16, 11 ] },
|
|
||||||
"south": { "texture": "#brass_casing_side", "uv": [ 0, 0, 16, 11 ] },
|
|
||||||
"west": { "texture": "#belt_support_side", "uv": [ 0, 0, 16, 11 ] },
|
|
||||||
"up": { "texture": "#brass_casing", "uv": [ 0, 0, 16, 16 ] }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "F1",
|
||||||
|
"from": [14.5, -2.5, 2],
|
||||||
|
"to": [15.5, 8.5, 5],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F2",
|
||||||
|
"from": [14.5, -2.5, 5],
|
||||||
|
"to": [15.5, 8.5, 8],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F3",
|
||||||
|
"from": [14.5, -2.5, 8],
|
||||||
|
"to": [15.5, 8.5, 11],
|
||||||
|
"rotation": {"angle": 0, "axis": "x", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Flap",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,187 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"east": {"uv": [16, 0, 10, 1], "texture": "#0"},
|
||||||
|
"west": {"uv": [16, 0, 10, 1], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 15, 7, 9], "rotation": 270, "texture": "#0"},
|
||||||
|
"down": {"uv": [7, 9, 1, 15], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [1, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9.5, 15, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [15, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [15, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [1, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9.5, 15, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [16, 16, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [16, 2.5, 8, 6.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"up": {"uv": [7, 16, 8, 8], "rotation": 270, "texture": "#0"},
|
||||||
|
"down": {"uv": [16, 2.5, 8, 3.5], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [0, 8, 2],
|
||||||
|
"to": [2, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 24]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [15, 2.5, 9, 6.5], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 8, 0, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 6.5, 16, 5.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [14, 8, 2],
|
||||||
|
"to": [16, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 24]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 2.5, 15, 6.5], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [0, 8, 14],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [16, 2.5, 8, 6.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 16, 1, 8], "rotation": 270, "texture": "#0"},
|
||||||
|
"down": {"uv": [16, 5.5, 8, 6.5], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "belttunnel",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"name": "Cover",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,307 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "LeftWall",
|
||||||
|
"from": [2, -3, 0],
|
||||||
|
"to": [14, 14, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [24, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 9, 7, 15], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 9, 7, 15], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightWall",
|
||||||
|
"from": [2, -3, 14],
|
||||||
|
"to": [14, 14, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "LeftRail",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightRail",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 23]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [2, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"west": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"up": {"uv": [7, 8, 8, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 2.5, 16, 3.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [14, 8, 0],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F1",
|
||||||
|
"from": [14.5, -2.5, 2],
|
||||||
|
"to": [15.5, 8.5, 5],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F2",
|
||||||
|
"from": [0.5, -2.5, 2],
|
||||||
|
"to": [1.5, 8.5, 5],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F2",
|
||||||
|
"from": [14.5, -2.5, 5],
|
||||||
|
"to": [15.5, 8.5, 8],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F3",
|
||||||
|
"from": [0.5, -2.5, 5],
|
||||||
|
"to": [1.5, 8.5, 8],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-38.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F3",
|
||||||
|
"from": [14.5, -2.5, 8],
|
||||||
|
"to": [15.5, 8.5, 11],
|
||||||
|
"rotation": {"angle": 0, "axis": "x", "origin": [-24.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F4",
|
||||||
|
"from": [0.5, -2.5, 8],
|
||||||
|
"to": [1.5, 8.5, 11],
|
||||||
|
"rotation": {"angle": 0, "axis": "x", "origin": [-38.5, -7.5, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "F5",
|
||||||
|
"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": [1, 4, 1.5, 9], "texture": "#0"},
|
||||||
|
"east": {"uv": [1, 4, 2.5, 9], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [2, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"west": {"uv": [1, 4, 2.5, 9], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 4, 2.5, 4.5], "rotation": 90, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 4, 2.5, 4.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Flap",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [11, 12, 13, 14, 15, 16, 17, 18]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,153 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "LeftWall",
|
||||||
|
"from": [2, -3, 0],
|
||||||
|
"to": [14, 14, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [24, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 9, 7, 15], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 9, 7, 15], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightWall",
|
||||||
|
"from": [2, -3, 14],
|
||||||
|
"to": [14, 14, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "LeftRail",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightRail",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 23]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [2, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"west": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"up": {"uv": [7, 8, 8, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 2.5, 16, 3.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [14, 8, 0],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 270, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Cover",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,173 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 0, 16, 1], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 9, 7, 15], "texture": "#0"},
|
||||||
|
"down": {"uv": [1, 9, 7, 15], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightWall",
|
||||||
|
"from": [2, -3, 0],
|
||||||
|
"to": [14, 14, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightRail",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 13, 9.5, 14], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [1, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [15, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 15, 9.5, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [14, 8, 0],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"up": {"uv": [7, 8, 8, 16], "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 2.5, 16, 3.5], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [2, 8, 14],
|
||||||
|
"to": [14, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"east": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 2.5, 15, 6.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "rotation": 270, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [2, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [0, 0, 8, 4], "texture": "#0"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "texture": "#0"},
|
||||||
|
"west": {"uv": [8, 2.5, 16, 6.5], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "belttunnel",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"name": "Cover",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,173 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"0": "create:block/belttunnel",
|
||||||
|
"particle": "create:block/belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [16, 0, 10, 1], "texture": "#0"},
|
||||||
|
"south": {"uv": [16, 0, 10, 1], "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 15, 7, 9], "texture": "#0"},
|
||||||
|
"down": {"uv": [7, 9, 1, 15], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightWall",
|
||||||
|
"from": [2, -3, 14],
|
||||||
|
"to": [14, 14, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [16, 7.5, 10, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [16, 7.5, 10, 16], "texture": "#0"},
|
||||||
|
"up": {"uv": [10, 2, 16, 1], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightRail",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [16, 6.5, 8, 7.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [16, 6.5, 8, 7.5], "texture": "#0"},
|
||||||
|
"west": {"uv": [9.5, 13, 9, 14], "texture": "#0"},
|
||||||
|
"up": {"uv": [8, 7.5, 16, 7], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [1, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [15, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"east": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"south": {"uv": [9.5, 15, 9, 16], "texture": "#0"},
|
||||||
|
"west": {"uv": [9.5, 15, 9, 16], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 10.5, 9, 16], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 10.5, 9, 16], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 10.5, 9, 16], "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [14, 8, 0],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"east": {"uv": [16, 2.5, 8, 6.5], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"west": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"up": {"uv": [7, 16, 8, 8], "texture": "#0"},
|
||||||
|
"down": {"uv": [16, 2.5, 8, 3.5], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [2, 8, 0],
|
||||||
|
"to": [14, 16, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [-8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [15, 2.5, 9, 6.5], "texture": "#0"},
|
||||||
|
"east": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"south": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"west": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"up": {"uv": [1, 8, 0, 16], "rotation": 270, "texture": "#0"},
|
||||||
|
"down": {"uv": [8, 6.5, 16, 5.5], "rotation": 180, "texture": "#0"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [2, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 8, 9, 12], "texture": "#0"},
|
||||||
|
"east": {"uv": [8, 0, 0, 4], "texture": "#0"},
|
||||||
|
"south": {"uv": [10, 8, 9, 12], "rotation": 180, "texture": "#0"},
|
||||||
|
"west": {"uv": [16, 2.5, 8, 6.5], "texture": "#0"},
|
||||||
|
"up": {"uv": [0, 16, 1, 8], "texture": "#0"},
|
||||||
|
"down": {"uv": [16, 5.5, 8, 6.5], "rotation": 90, "texture": "#0"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "belttunnel",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"name": "Cover",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,153 @@
|
||||||
|
{
|
||||||
|
"credit": "Made with Blockbench",
|
||||||
|
"parent": "block/block",
|
||||||
|
"textures": {
|
||||||
|
"6": "create:block/windowed_belttunnel",
|
||||||
|
"particle": "create:block/windowed_belttunnel"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"name": "LeftWall",
|
||||||
|
"from": [2, -3, 0],
|
||||||
|
"to": [14, 14, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#6"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#6"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "rotation": 180, "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "TopPiece",
|
||||||
|
"from": [2, 14, 2],
|
||||||
|
"to": [14, 16, 14],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [24, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 0, 16, 1], "texture": "#6"},
|
||||||
|
"south": {"uv": [10, 0, 16, 1], "texture": "#6"},
|
||||||
|
"up": {"uv": [1, 9, 7, 15], "rotation": 180, "texture": "#6"},
|
||||||
|
"down": {"uv": [1, 9, 7, 15], "rotation": 270, "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightWall",
|
||||||
|
"from": [2, -3, 14],
|
||||||
|
"to": [14, 14, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [10, 7.5, 16, 16], "texture": "#6"},
|
||||||
|
"south": {"uv": [10, 7.5, 16, 16], "texture": "#6"},
|
||||||
|
"up": {"uv": [10, 1, 16, 2], "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "LeftRail",
|
||||||
|
"from": [0, -5, 0],
|
||||||
|
"to": [16, -3, 1],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#6"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#6"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "RightRail",
|
||||||
|
"from": [0, -5, 15],
|
||||||
|
"to": [16, -3, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -24, 23]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [8, 6.5, 16, 7.5], "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 13, 9.5, 14], "texture": "#6"},
|
||||||
|
"south": {"uv": [8, 6.5, 16, 7.5], "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 15, 9.5, 16], "texture": "#6"},
|
||||||
|
"up": {"uv": [8, 7, 16, 7.5], "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontRight",
|
||||||
|
"from": [0, -3, 14],
|
||||||
|
"to": [2, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackRight",
|
||||||
|
"from": [14, -3, 14],
|
||||||
|
"to": [16, 8, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackLeft",
|
||||||
|
"from": [14, -3, 0],
|
||||||
|
"to": [16, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontLeft",
|
||||||
|
"from": [0, -3, 0],
|
||||||
|
"to": [2, 8, 2],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"east": {"uv": [9, 10.5, 10, 16], "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 10.5, 10, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"west": {"uv": [9, 10.5, 10, 16], "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "FrontTop",
|
||||||
|
"from": [0, 8, 0],
|
||||||
|
"to": [2, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#6"},
|
||||||
|
"east": {"uv": [0, 0, 8, 4], "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "texture": "#6"},
|
||||||
|
"west": {"uv": [8, 2.5, 16, 6.5], "texture": "#6"},
|
||||||
|
"up": {"uv": [7, 8, 8, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"down": {"uv": [8, 2.5, 16, 3.5], "rotation": 270, "texture": "#6"}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BackTop",
|
||||||
|
"from": [14, 8, 0],
|
||||||
|
"to": [16, 16, 16],
|
||||||
|
"rotation": {"angle": 0, "axis": "y", "origin": [8, -8, 8]},
|
||||||
|
"faces": {
|
||||||
|
"north": {"uv": [9, 8, 10, 12], "texture": "#6"},
|
||||||
|
"east": {"uv": [8, 2.5, 16, 6.5], "texture": "#6"},
|
||||||
|
"south": {"uv": [9, 8, 10, 12], "rotation": 180, "texture": "#6"},
|
||||||
|
"west": {"uv": [0, 0, 8, 4], "texture": "#6"},
|
||||||
|
"up": {"uv": [0, 8, 1, 16], "rotation": 180, "texture": "#6"},
|
||||||
|
"down": {"uv": [8, 5.5, 16, 6.5], "rotation": 270, "texture": "#6"}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Cover",
|
||||||
|
"origin": [8, 8, 8],
|
||||||
|
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -1,15 +0,0 @@
|
||||||
{
|
|
||||||
"parent": "create:block/belt_support",
|
|
||||||
"display": {
|
|
||||||
"gui": {
|
|
||||||
"rotation": [ 30, 225, 0 ],
|
|
||||||
"translation": [ 0, -2.25, 0],
|
|
||||||
"scale":[ 0.45, 0.45, 0.45 ]
|
|
||||||
},
|
|
||||||
"fixed": {
|
|
||||||
"rotation": [ 0, 0, 0 ],
|
|
||||||
"translation": [ 0, -2.75, 0],
|
|
||||||
"scale":[ 0.5, 0.5, 0.5 ]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"parent": "create:block/belt_tunnel/item"
|
||||||
|
}
|
BIN
src/main/resources/assets/create/textures/block/belttunnel.png
Normal file
BIN
src/main/resources/assets/create/textures/block/belttunnel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Loading…
Reference in a new issue