diff --git a/gradle.properties b/gradle.properties index c093202..1061d37 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,4 +5,4 @@ version_minecraft=1.16.3 version_forge_minecraft=1.16.3-34.1.0 version_fml_mappings=20200723-1.16.1 version_jei=1.16.3:7.3.2.36 -version_engineersdecor=1.1.3 +version_engineersdecor=1.1.4-b1 diff --git a/readme.md b/readme.md index e7d7aad..79f4dd5 100644 --- a/readme.md +++ b/readme.md @@ -11,6 +11,8 @@ Mod sources for Minecraft version 1.16.3. ## Version history + ~ v1.1.4-b1 [A] + - v1.1.3 [R] Release build v1.1.3. - v1.1.3-b3 [A] Metal Sliding Door added (double door wing style). diff --git a/src/main/java/wile/engineersdecor/ModContent.java b/src/main/java/wile/engineersdecor/ModContent.java index d5f3a52..f27e8a0 100644 --- a/src/main/java/wile/engineersdecor/ModContent.java +++ b/src/main/java/wile/engineersdecor/ModContent.java @@ -853,16 +853,31 @@ public class ModContent public static final EdFenceBlock STEEL_MESH_FENCE = (EdFenceBlock)(new EdFenceBlock( DecorBlock.CFG_CUTOUT, - Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 15f).sound(SoundType.METAL).notSolid(), + Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 20f).sound(SoundType.METAL).notSolid(), 1.5, 16, 0.25, 0, 16, 16 )).setRegistryName(new ResourceLocation(MODID, "steel_mesh_fence")); public static final EdDoubleGateBlock STEEL_MESH_FENCE_GATE = (EdDoubleGateBlock)(new EdDoubleGateBlock( DecorBlock.CFG_CUTOUT, - Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 15f).sound(SoundType.METAL).notSolid(), + Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 20f).sound(SoundType.METAL).notSolid(), Auxiliaries.getPixeledAABB(0,0,6.5, 16,16,9.5) )).setRegistryName(new ResourceLocation(MODID, "steel_mesh_fence_gate")); + public static final EdRailingBlock STEEL_RAILING = (EdRailingBlock)(new EdRailingBlock( + DecorBlock.CFG_CUTOUT, + Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(1f, 20f).sound(SoundType.METAL).notSolid(), + Auxiliaries.getPixeledAABB(0,0,0, 0, 0,0), + Auxiliaries.getPixeledAABB(0,0,0, 16,15.9,1) + )).setRegistryName(new ResourceLocation(MODID, "steel_railing")); + + public static final EdCatwalkBlock STEEL_CATWALK = (EdCatwalkBlock)(new EdCatwalkBlock( + DecorBlock.CFG_CUTOUT, + Block.Properties.create(Material.IRON, MaterialColor.IRON).hardnessAndResistance(2f, 20f).sound(SoundType.METAL).notSolid(), + Auxiliaries.getPixeledAABB(0,0,0, 16, 2,16), + Auxiliaries.getPixeledAABB(0,0,0, 16,15.9, 1), + STEEL_RAILING + )).setRegistryName(new ResourceLocation(MODID, "steel_catwalk")); + // ------------------------------------------------------------------------------------------------------------------- public static final EdTestBlock.TestBlock TEST_BLOCK = (EdTestBlock.TestBlock)(new EdTestBlock.TestBlock( @@ -961,6 +976,8 @@ public class ModContent STEEL_FLOOR_GRATING, STEEL_MESH_FENCE, STEEL_MESH_FENCE_GATE, + STEEL_CATWALK, + STEEL_RAILING, TREATED_WOOD_POLE, TREATED_WOOD_POLE_HEAD, TREATED_WOOD_POLE_SUPPORT, diff --git a/src/main/java/wile/engineersdecor/blocks/DecorBlock.java b/src/main/java/wile/engineersdecor/blocks/DecorBlock.java index 3677673..e06fdab 100644 --- a/src/main/java/wile/engineersdecor/blocks/DecorBlock.java +++ b/src/main/java/wile/engineersdecor/blocks/DecorBlock.java @@ -118,4 +118,11 @@ public class DecorBlock public HorizontalWaterLoggable(long config, Block.Properties properties, final Supplier> shape_supplier) { super(config, properties, shape_supplier); } } + + public static class HorizontalFourWayWaterLoggable extends StandardBlocks.HorizontalFourWayWaterLoggable implements IWaterLoggable + { + public HorizontalFourWayWaterLoggable(long config, Block.Properties properties, AxisAlignedBB base_aabb, AxisAlignedBB side_aabb) + { super(config, properties, base_aabb, side_aabb); } + } + } diff --git a/src/main/java/wile/engineersdecor/blocks/EdCatwalkBlock.java b/src/main/java/wile/engineersdecor/blocks/EdCatwalkBlock.java new file mode 100644 index 0000000..1db9aba --- /dev/null +++ b/src/main/java/wile/engineersdecor/blocks/EdCatwalkBlock.java @@ -0,0 +1,128 @@ +/* + * @file EdCatwalkBlock.java + * @author Stefan Wilhelm (wile) + * @copyright (C) 2020 Stefan Wilhelm + * @license MIT (see https://opensource.org/licenses/MIT) + * + * Bottom aligned platforms with railings. + */ +package wile.engineersdecor.blocks; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.fluid.Fluids; +import net.minecraft.item.*; +import net.minecraft.state.BooleanProperty; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.*; +import net.minecraft.util.math.AxisAlignedBB; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.BlockRayTraceResult; +import net.minecraft.util.math.vector.Vector3d; +import net.minecraft.world.IBlockReader; +import net.minecraft.world.World; +import wile.engineersdecor.ModContent; +import wile.engineersdecor.libmc.detail.Inventories; + +import javax.annotation.Nullable; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collections; +import java.util.List; +import java.util.stream.Collectors; + +public class EdCatwalkBlock extends DecorBlock.HorizontalFourWayWaterLoggable implements IDecorBlock +{ + final Block railing_block; + final AxisAlignedBB base_aabb; + + public EdCatwalkBlock(long config, Block.Properties properties, final AxisAlignedBB base_aabb, final AxisAlignedBB railing_aabb, final Block railing_block) + { super(config, properties, base_aabb, railing_aabb); this.railing_block = railing_block; this.base_aabb=base_aabb; } + + @Override + public boolean propagatesSkylightDown(BlockState state, IBlockReader reader, BlockPos pos) + { return true; } + + @Override + @Nullable + public BlockState getStateForPlacement(BlockItemUseContext context) + { return super.getStateForPlacement(context).with(NORTH, false).with(EAST, false).with(SOUTH, false).with(WEST, false); } + + public static boolean place_consume(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, int shrink) + { + if(!world.setBlockState(pos, state, 1|2)) return false; + world.playSound(player, pos, SoundEvents.BLOCK_METAL_PLACE, SoundCategory.BLOCKS, 1f, 1f); + if(!player.isCreative()) { + ItemStack stack = player.getHeldItem(hand); + if(shrink >= 0) { + stack.shrink(shrink); + } else if(stack.getCount() < stack.getMaxStackSize()) { + stack.grow(Math.abs(shrink)); + } else { + Inventories.give(player, new ItemStack(stack.getItem(), Math.abs(shrink))); + } + Inventories.setItemInPlayerHand(player, hand, stack); + } + return true; + } + + @Override + public ActionResultType onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) + { + final Item item = player.getHeldItem(hand).getItem(); + if((!(item instanceof BlockItem))) return ActionResultType.PASS; + final Block block = ((BlockItem)item).getBlock(); + if(block == this) { + if(hit.getFace().getAxis().isHorizontal()) return ActionResultType.PASS; // place new block on the clicked side. + BlockPos adjacent_pos = pos.offset(player.getHorizontalFacing()); + BlockState adjacent_state = world.getBlockState(adjacent_pos); + if(adjacent_state.isReplaceable(new DirectionalPlaceContext(world, adjacent_pos, hit.getFace().getOpposite(), player.getHeldItem(hand), hit.getFace()))) { + BlockState place_state = getDefaultState(); + place_state = place_state.with(WATERLOGGED,adjacent_state.getFluidState().getFluid()==Fluids.WATER); + place_consume(place_state, world, adjacent_pos, player, hand, 1); + } + return world.isRemote() ? ActionResultType.SUCCESS : ActionResultType.CONSUME; + } + if(block == railing_block) { + Direction face = hit.getFace(); + final Vector3d rhv = hit.getHitVec().subtract(Vector3d.copyCentered(hit.getPos())); + if(face.getAxis().isHorizontal()) { + // Side or railing clicked + if(rhv.mul(Vector3d.copy(face.getDirectionVec())).scale(2).lengthSquared() < 0.99) face = face.getOpposite(); // click on railing, not the outer side. + } else if(player.getDistanceSq(Vector3d.copyCentered(pos)) < 3) { + // near accurate placement + face = Direction.getFacingFromVector(rhv.x, 0, rhv.z); + } else { + // far automatic placement + face = Direction.getFacingFromVector(player.getLookVec().x, 0, player.getLookVec().z); + List free_sides = Arrays.stream(Direction.values()).filter(d->d.getAxis().isHorizontal() && (world.getBlockState(pos.offset(d)).getBlock()!=this)).collect(Collectors.toList()); + if(free_sides.isEmpty()) return world.isRemote() ? ActionResultType.SUCCESS : ActionResultType.CONSUME; + if(!free_sides.contains(face)) face = free_sides.get(0); + } + BooleanProperty railing = getDirectionProperty(face); + boolean add = (!state.get(railing)); + place_consume(state.with(railing, add), world, pos, player, hand, add ? 1 : -1); + return world.isRemote() ? ActionResultType.SUCCESS : ActionResultType.CONSUME; + } + return ActionResultType.PASS; + } + + // -- IDecorBlock + + @Override + public boolean hasDynamicDropList() + { return true; } + + @Override + public List dropList(BlockState state, World world, @Nullable TileEntity te, boolean explosion) + { + if(world.isRemote()) return Collections.singletonList(ItemStack.EMPTY); + List drops = new ArrayList<>(); + drops.add(new ItemStack(state.getBlock().asItem())); + int n = (state.get(NORTH)?1:0)+(state.get(EAST)?1:0)+(state.get(SOUTH)?1:0)+(state.get(WEST)?1:0); + if(n > 0) drops.add(new ItemStack(ModContent.STEEL_RAILING, n)); + return drops; + } + +} diff --git a/src/main/java/wile/engineersdecor/blocks/EdRailingBlock.java b/src/main/java/wile/engineersdecor/blocks/EdRailingBlock.java new file mode 100644 index 0000000..adde346 --- /dev/null +++ b/src/main/java/wile/engineersdecor/blocks/EdRailingBlock.java @@ -0,0 +1,94 @@ +/* + * @file EdCatwalkBlock.java + * @author Stefan Wilhelm (wile) + * @copyright (C) 2020 Stefan Wilhelm + * @license MIT (see https://opensource.org/licenses/MIT) + * + * Bottom aligned platforms with railings. + */ +package wile.engineersdecor.blocks; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.entity.player.PlayerEntity; +import net.minecraft.fluid.Fluids; +import net.minecraft.item.*; +import net.minecraft.state.BooleanProperty; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.*; +import net.minecraft.util.math.AxisAlignedBB; +import net.minecraft.util.math.BlockPos; +import net.minecraft.util.math.BlockRayTraceResult; +import net.minecraft.util.math.vector.Vector3d; +import net.minecraft.world.IBlockReader; +import net.minecraft.world.World; + +import javax.annotation.Nullable; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +public class EdRailingBlock extends DecorBlock.HorizontalFourWayWaterLoggable implements IDecorBlock +{ + public EdRailingBlock(long config, Block.Properties properties, final AxisAlignedBB base_aabb, final AxisAlignedBB railing_aabb) + { super(config, properties, base_aabb, railing_aabb); } + + @Override + public boolean propagatesSkylightDown(BlockState state, IBlockReader reader, BlockPos pos) + { return true; } + + @Override + @SuppressWarnings("deprecation") + public boolean isReplaceable(BlockState state, BlockItemUseContext useContext) + { return (useContext.getItem().getItem() == asItem()) ? true : super.isReplaceable(state, useContext); } + + @Override + @Nullable + public BlockState getStateForPlacement(BlockItemUseContext context) + { + if(context.getFace() != Direction.UP) return null; + BlockState state = context.getWorld().getBlockState(context.getPos()); + if(state.getBlock() != this) state = super.getStateForPlacement(context); + final Vector3d rhv = context.getHitVec().subtract(Vector3d.copyCentered(context.getPos())); + BooleanProperty side = getDirectionProperty(Direction.getFacingFromVector(rhv.x, 0, rhv.z)); + return state.with(side, true); + } + + @Override + public ActionResultType onBlockActivated(BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockRayTraceResult hit) + { + if(player.getHeldItem(hand).getItem() != asItem()) return ActionResultType.PASS; + Direction face = hit.getFace(); + if(!face.getAxis().isHorizontal()) return world.isRemote() ? ActionResultType.SUCCESS : ActionResultType.CONSUME; + final Vector3d rhv = hit.getHitVec().subtract(Vector3d.copyCentered(hit.getPos())); + if(rhv.mul(Vector3d.copy(face.getDirectionVec())).scale(2).lengthSquared() < 0.99) face = face.getOpposite(); // click on railing, not the outer side. + BooleanProperty railing = getDirectionProperty(face); + boolean add = (!state.get(railing)); + state = state.with(railing, add); + if((!state.get(NORTH)) && (!state.get(EAST)) && (!state.get(SOUTH)) && (!state.get(WEST))) { + state = (world.getFluidState(pos).getFluid() == Fluids.WATER) ? Blocks.WATER.getDefaultState() : (Blocks.AIR.getDefaultState()); + EdCatwalkBlock.place_consume(state, world, pos, player, hand, add ? 1 : -1); + } else { + EdCatwalkBlock.place_consume(state, world, pos, player, hand, add ? 1 : -1); + } + return world.isRemote() ? ActionResultType.SUCCESS : ActionResultType.CONSUME; + } + + // -- IDecorBlock + + @Override + public boolean hasDynamicDropList() + { return true; } + + @Override + public List dropList(BlockState state, World world, @Nullable TileEntity te, boolean explosion) + { + if(world.isRemote()) return Collections.singletonList(ItemStack.EMPTY); + List drops = new ArrayList<>(); + int n = (state.get(NORTH)?1:0)+(state.get(EAST)?1:0)+(state.get(SOUTH)?1:0)+(state.get(WEST)?1:0); + drops.add(new ItemStack(state.getBlock().asItem(), Math.max(n, 1))); + return drops; + } + +} diff --git a/src/main/java/wile/engineersdecor/libmc/blocks/StandardBlocks.java b/src/main/java/wile/engineersdecor/libmc/blocks/StandardBlocks.java index 89dcd99..df4a54c 100644 --- a/src/main/java/wile/engineersdecor/libmc/blocks/StandardBlocks.java +++ b/src/main/java/wile/engineersdecor/libmc/blocks/StandardBlocks.java @@ -432,4 +432,74 @@ public class StandardBlocks { super.fillStateContainer(builder); builder.add(WATERLOGGED); } } + static public class HorizontalFourWayWaterLoggable extends WaterLoggable implements IStandardBlock + { + public static final BooleanProperty NORTH = SixWayBlock.NORTH; + public static final BooleanProperty EAST = SixWayBlock.EAST; + public static final BooleanProperty SOUTH = SixWayBlock.SOUTH; + public static final BooleanProperty WEST = SixWayBlock.WEST; + protected final Map shapes; + protected final Map collision_shapes; + + public HorizontalFourWayWaterLoggable(long config, Block.Properties properties, AxisAlignedBB base_aabb, final AxisAlignedBB side_aabb) + { + super(config, properties, base_aabb); + Map build_shapes = new HashMap<>(); + Map build_collision_shapes = new HashMap<>(); + for(BlockState state:getStateContainer().getValidStates()) { + { + VoxelShape shape = ((base_aabb.getXSize()==0) || (base_aabb.getYSize()==0) || (base_aabb.getZSize()==0)) ? VoxelShapes.empty() : VoxelShapes.create(base_aabb); + if(state.get(NORTH)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.NORTH, true)), IBooleanFunction.OR); + if(state.get(EAST)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.EAST, true)), IBooleanFunction.OR); + if(state.get(SOUTH)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.SOUTH, true)), IBooleanFunction.OR); + if(state.get(WEST)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.WEST, true)), IBooleanFunction.OR); + if(shape.isEmpty()) shape = VoxelShapes.fullCube(); + build_shapes.put(state.with(WATERLOGGED, false), shape); + build_shapes.put(state.with(WATERLOGGED, true), shape); + } + { + // how the hack to extend a shape, these are the above with y+4px. + VoxelShape shape = ((base_aabb.getXSize()==0) || (base_aabb.getYSize()==0) || (base_aabb.getZSize()==0)) ? VoxelShapes.empty() : VoxelShapes.create(base_aabb); + if(state.get(NORTH)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.NORTH, true).expand(0, 2, 0)), IBooleanFunction.OR); + if(state.get(EAST)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.EAST, true).expand(0, 2, 0)), IBooleanFunction.OR); + if(state.get(SOUTH)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.SOUTH, true).expand(0, 2, 0)), IBooleanFunction.OR); + if(state.get(WEST)) shape = VoxelShapes.combine(shape,VoxelShapes.create(Auxiliaries.getRotatedAABB(side_aabb, Direction.WEST, true).expand(0, 2, 0)), IBooleanFunction.OR); + if(shape.isEmpty()) shape = VoxelShapes.fullCube(); + build_collision_shapes.put(state.with(WATERLOGGED, false), shape); + build_collision_shapes.put(state.with(WATERLOGGED, true), shape); + } + } + shapes = build_shapes; + collision_shapes = build_collision_shapes; + setDefaultState(getStateContainer().getBaseState().with(NORTH, false).with(EAST, false).with(SOUTH, false).with(WEST, false).with(WATERLOGGED, false)); + } + + @Override + protected void fillStateContainer(StateContainer.Builder builder) + { super.fillStateContainer(builder); builder.add(NORTH,EAST,SOUTH,WEST); } + + @Override + @Nullable + public BlockState getStateForPlacement(BlockItemUseContext context) + { return super.getStateForPlacement(context).with(NORTH, false).with(EAST, false).with(SOUTH, false).with(WEST, false); } + + @Override + public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) + { return shapes.getOrDefault(state, VoxelShapes.fullCube()); } + + @Override + public VoxelShape getCollisionShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) + { return collision_shapes.getOrDefault(state, VoxelShapes.fullCube()); } + + public static BooleanProperty getDirectionProperty(Direction face) + { + switch(face) { + case EAST : return HorizontalFourWayWaterLoggable.EAST; + case SOUTH: return HorizontalFourWayWaterLoggable.SOUTH; + case WEST : return HorizontalFourWayWaterLoggable.WEST; + default : return HorizontalFourWayWaterLoggable.NORTH; + } + } + } + } diff --git a/src/main/java/wile/engineersdecor/libmc/detail/Inventories.java b/src/main/java/wile/engineersdecor/libmc/detail/Inventories.java index 373f2ee..a092ce3 100644 --- a/src/main/java/wile/engineersdecor/libmc/detail/Inventories.java +++ b/src/main/java/wile/engineersdecor/libmc/detail/Inventories.java @@ -16,6 +16,7 @@ import net.minecraft.item.ItemStack; import net.minecraft.nbt.CompoundNBT; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; +import net.minecraft.util.Hand; import net.minecraft.util.NonNullList; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.MathHelper; @@ -388,6 +389,19 @@ public class Inventories //-------------------------------------------------------------------------------------------------------------------- + public static void give(PlayerEntity entity, ItemStack stack) + { ItemHandlerHelper.giveItemToPlayer(entity, stack); } + + public static void setItemInPlayerHand(PlayerEntity player, Hand hand, ItemStack stack) { + if(hand == Hand.MAIN_HAND) { + player.inventory.mainInventory.set(player.inventory.currentItem, stack); + } else { + player.inventory.offHandInventory.set(0, stack); + } + } + + //-------------------------------------------------------------------------------------------------------------------- + public static NonNullList readNbtStacks(CompoundNBT nbt, String key, int size) { NonNullList stacks = NonNullList.withSize(size, ItemStack.EMPTY); diff --git a/src/main/resources/assets/engineersdecor/blockstates/steel_catwalk.json b/src/main/resources/assets/engineersdecor/blockstates/steel_catwalk.json new file mode 100644 index 0000000..1d63b68 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/blockstates/steel_catwalk.json @@ -0,0 +1,36 @@ +{ + "variants": { + "east=false,north=false,south=false,waterlogged=false,west=false": { "model": "engineersdecor:block/furniture/steel_catwalk_model", "y": 0 }, + "east=false,north=false,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 270 }, + "east=false,north=false,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_model", "y": 0 }, + "east=false,north=false,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 270 }, + "east=false,north=false,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 180 }, + "east=false,north=true,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 0 }, + "east=false,north=true,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 270 }, + "east=false,north=true,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 0 }, + "east=false,north=true,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 270 }, + "east=false,north=true,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ns_model", "y": 0 }, + "east=false,north=true,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 180 }, + "east=false,north=true,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ns_model", "y": 0 }, + "east=false,north=true,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 180 }, + "east=true,north=false,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 90 }, + "east=true,north=false,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ns_model", "y": 270 }, + "east=true,north=false,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_n_model", "y": 90 }, + "east=true,north=false,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_ns_model", "y": 270 }, + "east=true,north=false,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 90 }, + "east=true,north=true,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 0 }, + "east=true,north=true,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 270 }, + "east=true,north=true,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_ne_model", "y": 0 }, + "east=true,north=true,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 270 }, + "east=true,north=true,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nesw_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_catwalk_nes_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_catwalk_nesw_model", "y": 0 } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/blockstates/steel_railing.json b/src/main/resources/assets/engineersdecor/blockstates/steel_railing.json new file mode 100644 index 0000000..96afc48 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/blockstates/steel_railing.json @@ -0,0 +1,36 @@ +{ + "variants": { + "east=false,north=false,south=false,waterlogged=false,west=false": { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 0 }, + "east=false,north=false,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 270 }, + "east=false,north=false,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 0 }, + "east=false,north=false,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 270 }, + "east=false,north=false,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 180 }, + "east=false,north=false,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 180 }, + "east=false,north=true,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 0 }, + "east=false,north=true,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 270 }, + "east=false,north=true,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 0 }, + "east=false,north=true,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 270 }, + "east=false,north=true,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ns_model", "y": 0 }, + "east=false,north=true,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 180 }, + "east=false,north=true,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ns_model", "y": 0 }, + "east=false,north=true,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 180 }, + "east=true,north=false,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 90 }, + "east=true,north=false,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ns_model", "y": 270 }, + "east=true,north=false,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_n_model", "y": 90 }, + "east=true,north=false,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_ns_model", "y": 270 }, + "east=true,north=false,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 90 }, + "east=true,north=false,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 90 }, + "east=true,north=true,south=false,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 0 }, + "east=true,north=true,south=false,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 270 }, + "east=true,north=true,south=false,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_ne_model", "y": 0 }, + "east=true,north=true,south=false,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 270 }, + "east=true,north=true,south=true,waterlogged=false,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=false,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nesw_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=true,west=false" : { "model": "engineersdecor:block/furniture/steel_railing_nes_model", "y": 0 }, + "east=true,north=true,south=true,waterlogged=true,west=true" : { "model": "engineersdecor:block/furniture/steel_railing_nesw_model", "y": 0 } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/lang/en_us.json b/src/main/resources/assets/engineersdecor/lang/en_us.json index 58a4243..66eb27e 100644 --- a/src/main/resources/assets/engineersdecor/lang/en_us.json +++ b/src/main/resources/assets/engineersdecor/lang/en_us.json @@ -286,5 +286,7 @@ "block.engineersdecor.treated_wood_window.help": "Wood framed triple glazed window.\n Well insulating. Does not connect\n to adjacent blocks like glass\n panes.", "block.engineersdecor.treated_wood_windowsill": "Treated Wood Window Sill", "block.engineersdecor.treated_wood_windowsill.help": "Simple window decoration.", + "block.engineersdecor.steel_catwalk": "Steel Catwalk", + "block.engineersdecor.steel_railing": "Steel Railing", "item.engineersdecor.metal_bar": "Metal Bar" } \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_model.json new file mode 100644 index 0000000..6224342 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_model.json @@ -0,0 +1,348 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_n_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_n_model.json new file mode 100644 index 0000000..357dd3f --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_n_model.json @@ -0,0 +1,397 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "frame": "engineersdecor:block/material/steel_texture", + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 2, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ne_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ne_model.json new file mode 100644 index 0000000..5fbf622 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ne_model.json @@ -0,0 +1,433 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "frame": "engineersdecor:block/material/steel_texture", + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [15, 2, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "south": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [15, 2, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nes_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nes_model.json new file mode 100644 index 0000000..b4c4953 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nes_model.json @@ -0,0 +1,464 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "frame": "engineersdecor:block/material/steel_texture", + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 2, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [15, 2, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [15, 2, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nesw_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nesw_model.json new file mode 100644 index 0000000..6fb683c --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_nesw_model.json @@ -0,0 +1,485 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "frame": "engineersdecor:block/material/steel_texture", + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 2, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [15, 2, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [0, 15, 1.5], + "to": [1.5, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-6.5, 8, 2]}, + "faces": { + "east": {"uv": [1.5, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 14.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 1.5, 1.5, 14.5], "texture": "#frame"}, + "down": {"uv": [0, 1.5, 1.5, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [0.25, 14.5, 1], + "to": [1, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.75, 7, 1]}, + "faces": { + "east": {"uv": [1, 1, 15, 1.5], "texture": "#frame"}, + "west": {"uv": [1, 1, 15, 1.5], "texture": "#frame"}, + "down": {"uv": [0.25, 1, 1, 15], "texture": "#frame"} + } + }, + { + "from": [15, 2, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ns_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ns_model.json new file mode 100644 index 0000000..e35a014 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_catwalk_ns_model.json @@ -0,0 +1,443 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "frame": "engineersdecor:block/material/steel_texture", + "particle": "engineersdecor:block/furniture/steel_catwalk_top", + "s": "engineersdecor:block/furniture/steel_catwalk_top" + }, + "elements": [ + { + "from": [0, 2, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 2, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 2, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 2, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 14], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 14], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 0, 0], + "to": [16, 2, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, -0.25]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "up": {"uv": [0, 0, 16, 1], "texture": "#s"}, + "down": {"uv": [0, 15, 16, 16], "texture": "#s"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 0.75]}, + "faces": { + "north": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#s"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#s"} + } + }, + { + "from": [0, 0, 15], + "to": [16, 2, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -6.5, 14.75]}, + "faces": { + "north": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 16, 16], "texture": "#s"}, + "west": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "up": {"uv": [0, 15, 16, 16], "texture": "#s"}, + "down": {"uv": [0, 0, 16, 1], "texture": "#s"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 2, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-7, -6.5, 0.75]}, + "faces": { + "north": {"uv": [15, 14, 16, 16], "texture": "#s"}, + "east": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "south": {"uv": [0, 14, 1, 16], "texture": "#s"}, + "west": {"uv": [1, 14, 15, 16], "texture": "#s"}, + "up": {"uv": [0, 1, 1, 15], "texture": "#s"}, + "down": {"uv": [0, 1, 1, 15], "texture": "#s"} + } + }, + { + "from": [11, 0.75, 1], + "to": [12, 1.9375, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "texture": "#s"} + } + }, + { + "from": [15, 0.75, 5], + "to": [16, 1.9375, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "texture": "#s"} + } + }, + { + "from": [13, 0.75, 2.75], + "to": [14, 1.9375, 13.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "texture": "#s"} + } + }, + { + "from": [17, 0.75, 6], + "to": [18, 1.9375, 8.75], + "rotation": {"angle": 45, "axis": "y", "origin": [9, 1.78125, 8]}, + "faces": { + "north": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "texture": "#s"} + } + }, + { + "from": [7, 0.75, -2], + "to": [8, 1.9375, 18], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "texture": "#s"} + } + }, + { + "from": [9, 0.75, -1.25], + "to": [10, 1.9375, 17.25], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "texture": "#s"} + } + }, + { + "from": [3, 0.75, 2], + "to": [4, 1.9375, 14], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "texture": "#s"} + } + }, + { + "from": [-1, 0.75, 6], + "to": [0, 1.9375, 10], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "texture": "#s"} + } + }, + { + "from": [5, 0.75, 0], + "to": [6, 1.9375, 16], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "texture": "#s"} + } + }, + { + "from": [1, 0.75, 4], + "to": [2, 1.9375, 12], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "east": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "south": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "west": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "texture": "#s"} + } + }, + { + "from": [3.75, 0.625, 14], + "to": [12.25, 1.8125, 15], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 7], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [6, 0.625, 16], + "to": [10, 1.8125, 17], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [3, 1, 4, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [1, 4, 2, 8], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0, 0.625, 10], + "to": [16.25, 1.8125, 11], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "up": {"uv": [4, 1, 5, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [4, 1, 5, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2, 0.625, 12], + "to": [14, 1.8125, 13], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "up": {"uv": [2, 1, 3, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [3, 1, 4, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-1.25, 0.625, 6], + "to": [17.25, 1.8125, 7], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "up": {"uv": [8, 0, 9, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [8, 0, 9, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [-2, 0.625, 8], + "to": [18, 1.8125, 9], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [7, 15.5625, 8, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [8, 15.5625, 9, 15.75], "texture": "#s"}, + "up": {"uv": [7, 0, 8, 16], "rotation": 270, "texture": "#s"}, + "down": {"uv": [7, 0, 8, 16], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [2.75, 0.625, 2], + "to": [13.25, 1.8125, 3], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [14, 1, 15, 13], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 1, 14, 13], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [0.75, 0.625, 4], + "to": [15, 1.8125, 5], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [13, 1, 14, 15], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 15], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [5.75, 0.625, -2], + "to": [8.75, 1.8125, -1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 7]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [12, 15.5625, 13, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [3, 15.5625, 4, 15.75], "texture": "#s"}, + "up": {"uv": [12, 1, 13, 5], "rotation": 270, "texture": "#s"}, + "down": {"uv": [13, 7, 14, 11], "rotation": 90, "texture": "#s"} + } + }, + { + "from": [4.75, 0.625, 0], + "to": [11, 1.8125, 1], + "rotation": {"angle": 45, "axis": "y", "origin": [8, 1.78125, 8]}, + "faces": { + "north": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "east": {"uv": [11, 15.5625, 12, 15.75], "texture": "#s"}, + "south": {"uv": [1, 15.5625, 15, 15.75], "texture": "#s"}, + "west": {"uv": [4, 15.5625, 5, 15.75], "texture": "#s"}, + "up": {"uv": [11, 1, 12, 7], "rotation": 270, "texture": "#s"}, + "down": {"uv": [11, 1, 12, 7], "rotation": 90, "texture": "#s"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [70, -2, 3], + "translation": [0.25, 1, 1.75], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [8, 0, 42], + "translation": [8.5, 0, -5.75], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 3, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [-90, 0, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_n_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_n_model.json new file mode 100644 index 0000000..fe0601a --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_n_model.json @@ -0,0 +1,108 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/material/steel_texture", + "frame": "engineersdecor:block/material/steel_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [14, 0, 0], + "to": [15, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 0]}, + "faces": { + "north": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 0, 0], + "to": [2, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 0]}, + "faces": { + "north": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [63, 0, 0], + "translation": [0.75, -2.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [1, -82, 0], + "translation": [0.5, 0, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [-2.5, 2, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "rotation": [0, -180, 0], + "translation": [0, 0, -4], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ne_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ne_model.json new file mode 100644 index 0000000..4af9496 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ne_model.json @@ -0,0 +1,167 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/material/steel_texture", + "frame": "engineersdecor:block/material/steel_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "north": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "south": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [1, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "up": {"uv": [15, 1, 16, 15], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [14, 0, 0], + "to": [15, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 0]}, + "faces": { + "north": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 14], + "to": [16, 0.5, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 14]}, + "faces": { + "north": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "east": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "west": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "up": {"uv": [15, 14, 16, 15], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 2], "texture": "#frame"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 0.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 1]}, + "faces": { + "east": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "south": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "west": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [15, 1, 16, 2], "texture": "#frame"}, + "down": {"uv": [15, 14, 16, 15], "texture": "#frame"} + } + }, + { + "from": [1, 0, 0], + "to": [2, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 0]}, + "faces": { + "north": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [71, 16, 0], + "translation": [1.25, -1.75, 0], + "scale": [0.3, 0.3, 0.3] + }, + "firstperson_righthand": { + "rotation": [-8, -55, 0], + "translation": [3.25, 0, 0], + "scale": [0.4, 0.4, 0.4] + }, + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [0.25, 0.75, -3], + "scale": [0.6, 0.6, 0.6] + }, + "fixed": { + "translation": [0, 0, 3.5], + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nes_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nes_model.json new file mode 100644 index 0000000..bd16b8b --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nes_model.json @@ -0,0 +1,211 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/material/steel_texture", + "frame": "engineersdecor:block/material/steel_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [15, 0, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [14, 0, 0], + "to": [15, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 0]}, + "faces": { + "north": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [14, 0, 15], + "to": [15, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 15]}, + "faces": { + "north": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 14], + "to": [16, 0.5, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 14]}, + "faces": { + "north": {"uv": [0, 15, 1, 16], "texture": "#frame"}, + "east": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "west": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "up": {"uv": [15, 14, 16, 15], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 2], "texture": "#frame"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 0.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 1]}, + "faces": { + "east": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "south": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "west": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [15, 1, 16, 2], "texture": "#frame"}, + "down": {"uv": [15, 14, 16, 15], "texture": "#frame"} + } + }, + { + "from": [1, 0, 0], + "to": [2, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 0]}, + "faces": { + "north": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [1, 0, 15], + "to": [2, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 15]}, + "faces": { + "north": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + } + ], + "display": { + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [3, -8, -3], + "scale": [0.9, 0.9, 0.9] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nesw_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nesw_model.json new file mode 100644 index 0000000..d7518a2 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_nesw_model.json @@ -0,0 +1,256 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/material/steel_texture", + "frame": "engineersdecor:block/material/steel_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [15, 0, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [23, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [14.5, 15, 1.5], + "to": [16, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 2]}, + "faces": { + "east": {"uv": [0, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [14.5, 1.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [14.5, 0, 16, 14.5], "texture": "#frame"} + } + }, + { + "from": [0, 15, 1.5], + "to": [1.5, 16, 14.5], + "rotation": {"angle": 0, "axis": "y", "origin": [-6.5, 8, 2]}, + "faces": { + "east": {"uv": [1.5, 0, 14.5, 1], "texture": "#frame"}, + "west": {"uv": [1.5, 0, 14.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 1.5, 1.5, 14.5], "texture": "#frame"}, + "down": {"uv": [0, 1.5, 1.5, 14.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [15, 14.5, 1], + "to": [15.75, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, 7, 1]}, + "faces": { + "east": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "west": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 15], "texture": "#frame"} + } + }, + { + "from": [0.25, 14.5, 1], + "to": [1, 15, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-5.75, 7, 1]}, + "faces": { + "east": {"uv": [1, 1, 15, 1.5], "texture": "#frame"}, + "west": {"uv": [1, 1, 15, 1.5], "texture": "#frame"}, + "down": {"uv": [0.25, 1, 1, 15], "texture": "#frame"} + } + }, + { + "from": [14, 0, 0], + "to": [15, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 0]}, + "faces": { + "north": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [14, 0, 15], + "to": [15, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 15]}, + "faces": { + "north": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "west": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "up": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "down": {"uv": [14, 0, 15, 1], "texture": "#frame"} + } + }, + { + "from": [15, 0, 14], + "to": [16, 0.5, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 14]}, + "faces": { + "north": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "east": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "west": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "up": {"uv": [15, 14, 16, 15], "texture": "#frame"}, + "down": {"uv": [15, 1, 16, 2], "texture": "#frame"} + } + }, + { + "from": [0, 0, 14], + "to": [1, 0.5, 15], + "rotation": {"angle": 0, "axis": "y", "origin": [-6, -7, 14]}, + "faces": { + "north": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "east": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "west": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "up": {"uv": [0, 14, 1, 15], "texture": "#frame"}, + "down": {"uv": [0, 1, 1, 2], "texture": "#frame"} + } + }, + { + "from": [15, 0, 1], + "to": [16, 0.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [9, -7, 1]}, + "faces": { + "east": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "south": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "west": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [15, 1, 16, 2], "texture": "#frame"}, + "down": {"uv": [15, 14, 16, 15], "texture": "#frame"} + } + }, + { + "from": [0, 0, 1], + "to": [1, 0.5, 2], + "rotation": {"angle": 0, "axis": "y", "origin": [-6, -7, 1]}, + "faces": { + "east": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "south": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "west": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [0, 1, 1, 2], "texture": "#frame"}, + "down": {"uv": [0, 14, 1, 15], "texture": "#frame"} + } + }, + { + "from": [1, 0, 0], + "to": [2, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 0]}, + "faces": { + "north": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [1, 0, 15], + "to": [2, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 15]}, + "faces": { + "north": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "east": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "south": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "down": {"uv": [1, 0, 2, 1], "texture": "#frame"} + } + }, + { + "from": [15, 0, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + } + ], + "display": { + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [3, -8, -3], + "scale": [0.9, 0.9, 0.9] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ns_model.json b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ns_model.json new file mode 100644 index 0000000..73ad9fa --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/block/furniture/steel_railing_ns_model.json @@ -0,0 +1,166 @@ +{ + "parent": "block/block", + "ambientocclusion": false, + "textures": { + "particle": "engineersdecor:block/material/steel_texture", + "frame": "engineersdecor:block/material/steel_texture" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [1, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [0, 15, 1, 16], "texture": "#frame"} + } + }, + { + "from": [0, 15, 0], + "to": [16, 16, 1.5], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "up": {"uv": [0, 0, 16, 1.5], "texture": "#frame"}, + "down": {"uv": [0, 14.5, 16, 16], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 0.25], + "to": [15, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 0]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [14, 0, 0], + "to": [15, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 0]}, + "faces": { + "north": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "west": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "up": {"uv": [14, 0, 15, 1], "texture": "#frame"}, + "down": {"uv": [14, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [1, 0, 0], + "to": [2, 0.5, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 0]}, + "faces": { + "north": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "east": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "south": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 0, 2, 1], "texture": "#frame"}, + "down": {"uv": [1, 15, 2, 16], "texture": "#frame"} + } + }, + { + "from": [15, 0, 0], + "to": [16, 15, 1], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 0.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "down": {"uv": [15, 15, 16, 16], "texture": "#frame"} + } + }, + { + "from": [0, 0, 15], + "to": [1, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 1, 1], "texture": "#frame"} + } + }, + { + "from": [0, 15, 14.5], + "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15]}, + "faces": { + "north": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "east": {"uv": [0, 0, 1.5, 1], "texture": "#frame"}, + "south": {"uv": [0, 0, 16, 1], "texture": "#frame"}, + "west": {"uv": [14.5, 0, 16, 1], "texture": "#frame"}, + "up": {"uv": [0, 14.5, 16, 16], "texture": "#frame"}, + "down": {"uv": [0, 0, 16, 1.5], "texture": "#frame"} + } + }, + { + "from": [1, 14.5, 15], + "to": [15, 15, 15.75], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 7, 14.75]}, + "faces": { + "north": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "south": {"uv": [1, 2, 15, 3], "texture": "#frame"}, + "down": {"uv": [1, 15, 15, 16], "texture": "#frame"} + } + }, + { + "from": [14, 0, 15], + "to": [15, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, -7, 15]}, + "faces": { + "north": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "south": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "west": {"uv": [15, 15.5, 16, 16], "texture": "#frame"}, + "up": {"uv": [14, 15, 15, 16], "texture": "#frame"}, + "down": {"uv": [14, 0, 15, 1], "texture": "#frame"} + } + }, + { + "from": [1, 0, 15], + "to": [2, 0.5, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [-5, -7, 15]}, + "faces": { + "north": {"uv": [14, 15.5, 15, 16], "texture": "#frame"}, + "east": {"uv": [0, 15.5, 1, 16], "texture": "#frame"}, + "south": {"uv": [1, 15.5, 2, 16], "texture": "#frame"}, + "up": {"uv": [1, 15, 2, 16], "texture": "#frame"}, + "down": {"uv": [1, 0, 2, 1], "texture": "#frame"} + } + }, + { + "from": [15, 0, 15], + "to": [16, 15, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 15.5]}, + "faces": { + "north": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "east": {"uv": [0, 1, 1, 16], "texture": "#frame"}, + "south": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "west": {"uv": [15, 1, 16, 16], "texture": "#frame"}, + "down": {"uv": [15, 0, 16, 1], "texture": "#frame"} + } + } + ], + "display": { + "ground": { + "translation": [0, 1.75, 0], + "scale": [0.2, 0.2, 0.2] + }, + "gui": { + "rotation": [30, 225, 0], + "translation": [3, -8, -3], + "scale": [0.9, 0.9, 0.9] + }, + "fixed": { + "scale": [0.5, 0.5, 0.5] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/item/steel_catwalk.json b/src/main/resources/assets/engineersdecor/models/item/steel_catwalk.json new file mode 100644 index 0000000..a1973cb --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/item/steel_catwalk.json @@ -0,0 +1 @@ +{ "parent": "engineersdecor:block/furniture/steel_catwalk_model" } \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/models/item/steel_railing.json b/src/main/resources/assets/engineersdecor/models/item/steel_railing.json new file mode 100644 index 0000000..a38e1e5 --- /dev/null +++ b/src/main/resources/assets/engineersdecor/models/item/steel_railing.json @@ -0,0 +1 @@ +{ "parent": "engineersdecor:block/furniture/steel_railing_ne_model" } \ No newline at end of file diff --git a/src/main/resources/assets/engineersdecor/textures/block/furniture/steel_catwalk_top.png b/src/main/resources/assets/engineersdecor/textures/block/furniture/steel_catwalk_top.png new file mode 100644 index 0000000..8cd5e7b Binary files /dev/null and b/src/main/resources/assets/engineersdecor/textures/block/furniture/steel_catwalk_top.png differ