diff --git a/src/main/java/com/starfish_studios/foundation/block/BigDoorBlock.java b/src/main/java/com/starfish_studios/foundation/block/BigDoorBlock.java index 4bdf935c..a7f88772 100644 --- a/src/main/java/com/starfish_studios/foundation/block/BigDoorBlock.java +++ b/src/main/java/com/starfish_studios/foundation/block/BigDoorBlock.java @@ -27,6 +27,7 @@ public class BigDoorBlock extends Block { public static final BooleanProperty POWERED; public static final IntegerProperty X_POS; public static final IntegerProperty Y_POS; + public static final EnumProperty HINGE; public static final VoxelShape SHAPE = Block.box(0.0D, 0.0D, 0.0D, 16.0D, 14.0D, 16.0D); //protected static final VoxelShape SOUTH_AABB; @@ -43,18 +44,34 @@ public VoxelShape getShape(BlockState blockState, BlockGetter blockGetter, Block public BigDoorBlock(Properties properties) { super(properties); - this.registerDefaultState(this.stateDefinition.any().setValue(X_POS,0).setValue(Y_POS, 0).setValue(OPEN, Boolean.FALSE)); + this.registerDefaultState(this.stateDefinition.any() + .setValue(X_POS,0) + .setValue(Y_POS, 0) + .setValue(OPEN, Boolean.FALSE).setValue(HINGE, DoorHingeSide.LEFT)); } public void setPlacedBy(Level level, BlockPos blockPos, BlockState blockState, LivingEntity livingEntity, ItemStack itemStack) { - super.setPlacedBy(level, blockPos, blockState, livingEntity, itemStack); + if (checkForAirColumn(level, blockPos.above(3).relative(blockState.getValue(FACING).getCounterClockWise()))){ + super.setPlacedBy(level, blockPos, blockState, livingEntity, itemStack); + createDoor(level, blockPos, blockState); + } else if (checkForAirColumn(level, blockPos.above(3).relative(blockState.getValue(FACING).getClockWise()))) { + super.setPlacedBy(level, blockPos, blockState, livingEntity, itemStack); + createDoor(level, blockPos.relative(blockState.getValue(FACING).getClockWise()), blockState); + } + else{ + level.setBlock(blockPos, Blocks.AIR.defaultBlockState(),3); + } + } + + + public void createDoor(Level level, BlockPos pos, BlockState blockState){ if (!level.isClientSide){ for (int i = 0; i < 4; i ++){ for (int j = 0; j < 2; j++) { - level.setBlock(blockPos - .above(i) - .relative(blockState.getValue(FACING).getCounterClockWise(), j), - blockState.setValue(X_POS, j).setValue(Y_POS, i) + level.setBlock(pos + .above(i) + .relative(blockState.getValue(FACING).getCounterClockWise(), j), + blockState.setValue(X_POS, j).setValue(Y_POS, i).setValue(HINGE, blockState.getValue(HINGE)) ,3); } } @@ -64,12 +81,43 @@ public void setPlacedBy(Level level, BlockPos blockPos, BlockState blockState, L @Nullable @Override public BlockState getStateForPlacement(BlockPlaceContext blockPlaceContext) { - return super.getStateForPlacement(blockPlaceContext).setValue(FACING, blockPlaceContext.getHorizontalDirection().getOpposite()); + Level level = blockPlaceContext.getLevel(); + BlockPos blockPos = blockPlaceContext.getClickedPos(); + BlockState blockState = super.getStateForPlacement(blockPlaceContext).setValue(FACING, blockPlaceContext.getHorizontalDirection().getOpposite()); + if (checkForAirColumn(level, blockPos.above(3).relative(blockState.getValue(FACING).getCounterClockWise()))){ + return super.getStateForPlacement(blockPlaceContext) + .setValue(FACING, blockPlaceContext.getHorizontalDirection().getOpposite()) + .setValue(HINGE, getHingeSide(blockPlaceContext, blockPos, blockPos.relative(blockState.getValue(FACING).getCounterClockWise()), blockState)); + + } else if (checkForAirColumn(level, blockPos.above(3).relative(blockState.getValue(FACING).getClockWise()))) { + return super.getStateForPlacement(blockPlaceContext) + .setValue(FACING, blockPlaceContext.getHorizontalDirection().getOpposite()) + .setValue(HINGE, getHingeSide(blockPlaceContext, blockPos.relative(blockState.getValue(FACING).getClockWise()), blockPos, blockState)); + } + else{ + return null; + } + } + + public DoorHingeSide getHingeSide(BlockPlaceContext context, BlockPos leftPos, BlockPos rightPos, BlockState state){ + Level level = context.getLevel(); + BlockState leftBlockState = level.getBlockState(leftPos.relative(state.getValue(FACING).getClockWise())); + BlockState rightBlockState = level.getBlockState(rightPos.relative(state.getValue(FACING).getCounterClockWise())); + + if (leftBlockState.is(FoundationBlocks.BIG_DOOR)){ + return leftBlockState.getValue(HINGE).equals(DoorHingeSide.LEFT) ? DoorHingeSide.RIGHT : DoorHingeSide.LEFT; + } + else{ + if (rightBlockState.is(FoundationBlocks.BIG_DOOR)){ + return rightBlockState.getValue(HINGE).equals(DoorHingeSide.LEFT) ? DoorHingeSide.RIGHT : DoorHingeSide.LEFT; + } + } + return DoorHingeSide.LEFT; } @Override protected void createBlockStateDefinition(StateDefinition.Builder builder) { - builder.add(FACING,OPEN,X_POS, Y_POS); + builder.add(new Property[]{X_POS, Y_POS, FACING, OPEN, HINGE, POWERED}); } @Override @@ -78,7 +126,7 @@ public void playerWillDestroy(Level level, BlockPos blockPos, BlockState blockSt boolean open = blockState.getValue(OPEN).booleanValue(); if (!open) { BlockPos startPos = getClosedStartPos(blockPos, level, blockState); - BlockPos innerPos = startPos.relative(blockState.getValue(FACING).getCounterClockWise()); + BlockPos innerPos = blockState.getValue(HINGE).equals(DoorHingeSide.LEFT) ? startPos.relative(blockState.getValue(FACING).getCounterClockWise()) : startPos.relative(blockState.getValue(FACING).getClockWise()); placeAirColumn(level, innerPos); placeAirColumn(level, startPos); } @@ -96,23 +144,41 @@ public InteractionResult use(BlockState blockState, Level level, BlockPos blockP boolean open = blockState.getValue(OPEN).booleanValue(); BlockPos startPos = open ? getOpenStartPos(blockPos, level, blockState) : getClosedStartPos(blockPos, level, blockState); if (!open) { - placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getCounterClockWise())); - placeDoorColumn(blockState, level, startPos, 0, true); - placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getOpposite()), 1, true); - System.out.println("opening"); - return InteractionResult.SUCCESS; - + if (blockState.getValue(HINGE).equals(DoorHingeSide.LEFT)) { + boolean openFlag = checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite())) && checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite()).relative(blockState.getValue(FACING).getCounterClockWise())); + if (!openFlag) return InteractionResult.FAIL; + placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getCounterClockWise())); + placeDoorColumn(blockState, level, startPos, 0, true); + placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getOpposite()), 1, true); + return InteractionResult.SUCCESS; + } + else{ + boolean openFlag = checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite())) && checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite()).relative(blockState.getValue(FACING).getClockWise())); + if (!openFlag) return InteractionResult.FAIL; + placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getClockWise())); + placeDoorColumn(blockState, level, startPos, 0, true); + placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getOpposite()), 1, true); + return InteractionResult.SUCCESS; + } } else{ - placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite())); - placeDoorColumn(blockState, level, startPos, 0, false); - placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getCounterClockWise()), 1, false); - - System.out.println("closing"); - return InteractionResult.SUCCESS; + if (blockState.getValue(HINGE).equals(DoorHingeSide.LEFT)) { + boolean closeFlag = checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getCounterClockWise())) && checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite()).relative(blockState.getValue(FACING).getCounterClockWise())); + if (!closeFlag) return InteractionResult.FAIL; + placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite())); + placeDoorColumn(blockState, level, startPos, 0, false); + placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getCounterClockWise()), 1, false); + return InteractionResult.SUCCESS; + } + else{ + boolean closeFlag = checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getClockWise())) && checkForAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite()).relative(blockState.getValue(FACING).getClockWise())); + if (!closeFlag) return InteractionResult.FAIL; + placeAirColumn(level, startPos.relative(blockState.getValue(FACING).getOpposite())); + placeDoorColumn(blockState, level, startPos, 1, false); + placeDoorColumn(blockState, level, startPos.relative(blockState.getValue(FACING).getClockWise()), 0, false); + return InteractionResult.SUCCESS; + } } - - //return super.use(blockState, level, blockPos, player, interactionHand, blockHitResult); } private void placeDoorColumn(BlockState blockState, Level level, BlockPos pos, int xPos, boolean open){ @@ -121,7 +187,8 @@ private void placeDoorColumn(BlockState blockState, Level level, BlockPos pos, i .setValue(Y_POS, 3-i) .setValue(X_POS, xPos) .setValue(OPEN, open) - .setValue(FACING, blockState.getValue(FACING)), 3); + .setValue(FACING, blockState.getValue(FACING)) + .setValue(HINGE, blockState.getValue(HINGE)), 3); } } @@ -131,6 +198,15 @@ private void placeAirColumn(Level level, BlockPos pos){ } } + private boolean checkForAirColumn(Level level, BlockPos pos){ + for (int i = 0; i < 4; i ++){ + if (!level.getBlockState(pos.below(i)).is(Blocks.AIR)){ + return false; + } + } + return true; + } + private BlockPos getClosedStartPos(BlockPos pos, Level level, BlockState blockState){ BlockPos startPosition = pos; while (level.getBlockState(startPosition).is(FoundationBlocks.BIG_DOOR) && level.getBlockState(startPosition).getValue(X_POS) != 0) { @@ -139,6 +215,7 @@ private BlockPos getClosedStartPos(BlockPos pos, Level level, BlockState blockSt while (level.getBlockState(startPosition).is(FoundationBlocks.BIG_DOOR) && level.getBlockState(startPosition).getValue(Y_POS) != 3) { startPosition = startPosition.above(); } + if (blockState.getValue(HINGE).equals(DoorHingeSide.RIGHT)) startPosition = startPosition.relative(blockState.getValue(FACING).getCounterClockWise()); return startPosition; } @@ -150,6 +227,7 @@ private BlockPos getOpenStartPos(BlockPos pos, Level level, BlockState blockStat while (level.getBlockState(startPosition).is(FoundationBlocks.BIG_DOOR) && level.getBlockState(startPosition).getValue(X_POS) != 0) { startPosition = startPosition.relative(blockState.getValue(FACING)); } + //if (blockState.getValue(HINGE).equals(DoorHingeSide.RIGHT)) startPosition = startPosition.relative(blockState.getValue(FACING).getCounterClockWise()); return startPosition; } @@ -159,6 +237,8 @@ private BlockPos getOpenStartPos(BlockPos pos, Level level, BlockState blockStat X_POS = IntegerProperty.create("x_pos",0,2); POWERED = BlockStateProperties.POWERED; Y_POS = IntegerProperty.create("y_pos",0,4); + HINGE = BlockStateProperties.DOOR_HINGE; + //SOUTH_AABB = Block.box(0.0, 0.0, 0.0, 16.0, 16.0, 3.0); //NORTH_AABB = Block.box(0.0, 0.0, 13.0, 16.0, 16.0, 16.0); //WEST_AABB = Block.box(13.0, 0.0, 0.0, 16.0, 16.0, 16.0); diff --git a/src/main/resources/assets/foundation/blockstates/big_door.json b/src/main/resources/assets/foundation/blockstates/big_door.json index 211c4c08..7dc92bdb 100644 --- a/src/main/resources/assets/foundation/blockstates/big_door.json +++ b/src/main/resources/assets/foundation/blockstates/big_door.json @@ -4,11 +4,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 0 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_0_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_closed", "uvlock": true } }, @@ -16,11 +17,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 1 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_1_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_closed", "uvlock": true } }, @@ -28,11 +30,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 2 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_2_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_closed", "uvlock": true } }, @@ -40,11 +43,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 3 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_3_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_closed", "uvlock": true } }, @@ -52,11 +56,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 0 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_0_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_closed", "uvlock": true } }, @@ -64,11 +69,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 1 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_1_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_closed", "uvlock": true } }, @@ -76,11 +82,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 2 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_2_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_closed", "uvlock": true } }, @@ -88,11 +95,12 @@ "when": { "open": "false", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 3 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_3_closed", + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_closed", "uvlock": true } }, @@ -100,11 +108,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 0 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_0_open", + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_open", "uvlock": true } }, @@ -112,11 +121,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 1 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_1_open", + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_open", "uvlock": true } }, @@ -124,11 +134,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 2 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_2_open", + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_open", "uvlock": true } }, @@ -136,11 +147,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 0, "y_pos" : 3 }, "apply": { - "model": "foundation:block/tall_door/big_door_left_3_open", + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_open", "uvlock": true } }, @@ -148,11 +160,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 0 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_0_open", + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_open", "uvlock": true } }, @@ -160,11 +173,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 1 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_1_open", + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_open", "uvlock": true } }, @@ -172,11 +186,12 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 2 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_2_open", + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_open", "uvlock": true } }, @@ -184,13 +199,1564 @@ "when": { "open": "true", "facing": "north", + "hinge": "left", "x_pos" : 1, "y_pos" : 3 }, "apply": { - "model": "foundation:block/tall_door/big_door_right_3_open", + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_open", "uvlock": true } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_closed", + "uvlock": true + } + }, + { + "when": { + "open": "false", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_closed", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_open", + "uvlock": true + } + }, + { + "when": { + "open": "true", + "facing": "north", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_open", + "uvlock": true + } + } + ,{ + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "false", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_closed", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_open", + "uvlock": true, + "y": 90 + } + }, + { + "when": { + "open": "true", + "facing": "east", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_open", + "uvlock": true, + "y": 90 + } + }, { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "false", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_closed", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_open", + "uvlock": true, + "y": -90 + } + }, + { + "when": { + "open": "true", + "facing": "west", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_open", + "uvlock": true, + "y": -90 + } + }, { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_0_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_1_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_2_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_left_3_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_0_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_1_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_2_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "left", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/left_big_door_right_3_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "false", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_closed", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_0_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_1_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_2_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 0, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_left_3_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 0 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_0_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 1 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_1_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 2 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_2_open", + "uvlock": true, + "y": 180 + } + }, + { + "when": { + "open": "true", + "facing": "south", + "hinge": "right", + "x_pos" : 1, + "y_pos" : 3 + }, + "apply": { + "model": "foundation:block/tall_door/test_door/right_big_door_right_3_open", + "uvlock": true, + "y": 180 + } } ] } diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_0_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_0_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_0_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_0_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_0_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_0_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_0_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_0_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_1_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_1_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_1_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_1_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_1_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_1_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_1_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_1_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_2_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_2_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_2_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_2_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_2_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_2_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_2_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_2_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_3_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_3_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_3_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_3_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_left_3_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_3_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_left_3_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_left_3_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_0_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_0_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_0_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_0_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_0_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_0_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_0_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_0_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_1_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_1_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_1_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_1_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_1_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_1_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_1_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_1_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_2_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_2_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_2_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_2_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_2_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_2_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_2_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_2_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_3_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_3_closed.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_3_closed.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_3_closed.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/big_door_right_3_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_3_open.json similarity index 100% rename from src/main/resources/assets/foundation/models/block/tall_door/big_door_right_3_open.json rename to src/main/resources/assets/foundation/models/block/tall_door/test_door/left_big_door_right_3_open.json diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_closed.json new file mode 100644 index 00000000..1361fede --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [16, 12, 8, 16], "texture": "#0"}, + "east": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "south": {"uv": [8, 12, 16, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_open.json new file mode 100644 index 00000000..eecf1a29 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_0_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "north": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "east": {"uv": [8, 12, 0, 16], "texture": "#0"}, + "west": {"uv": [0, 12, 8, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_closed.json new file mode 100644 index 00000000..766acc36 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [16, 8, 8, 12], "texture": "#0"}, + "east": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "south": {"uv": [8, 8, 16, 12], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_open.json new file mode 100644 index 00000000..d9b73a2f --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_1_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "north": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "east": {"uv": [8, 8, 0, 12], "texture": "#0"}, + "west": {"uv": [0, 8, 8, 12], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_closed.json new file mode 100644 index 00000000..3e382d58 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [16, 4, 8, 8], "texture": "#0"}, + "east": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "south": {"uv": [8, 4, 16, 8], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_open.json new file mode 100644 index 00000000..b3ab9a6c --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_2_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "north": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "east": {"uv": [8, 4, 0, 8], "texture": "#0"}, + "west": {"uv": [0, 4, 8, 8], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_closed.json new file mode 100644 index 00000000..760df43c --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [16, 0, 8, 4], "texture": "#0"}, + "east": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "south": {"uv": [8, 0, 16, 4], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_open.json new file mode 100644 index 00000000..88696517 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_left_3_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "north": {"uv": [0, 0, 2, 4], "texture": "#0"}, + "east": {"uv": [8, 0, 0, 4], "texture": "#0"}, + "west": {"uv": [0, 0, 8, 4], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_closed.json new file mode 100644 index 00000000..59697dbe --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [8, 12, 0, 16], "texture": "#0"}, + "south": {"uv": [0, 12, 8, 16], "texture": "#0"}, + "west": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_open.json new file mode 100644 index 00000000..63c99204 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_0_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "east": {"uv": [16, 12, 8, 16], "texture": "#0"}, + "south": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "west": {"uv": [8, 12, 16, 16], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_closed.json new file mode 100644 index 00000000..f7406440 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [8, 8, 0, 12], "texture": "#0"}, + "south": {"uv": [0, 8, 8, 12], "texture": "#0"}, + "west": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_open.json new file mode 100644 index 00000000..ad73f604 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_1_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "east": {"uv": [16, 8, 8, 12], "texture": "#0"}, + "south": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "west": {"uv": [8, 8, 16, 12], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_closed.json new file mode 100644 index 00000000..592eceb1 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [8, 4, 0, 8], "texture": "#0"}, + "south": {"uv": [0, 4, 8, 8], "texture": "#0"}, + "west": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_open.json new file mode 100644 index 00000000..bfaee1b7 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_2_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "east": {"uv": [16, 4, 8, 8], "texture": "#0"}, + "south": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "west": {"uv": [8, 4, 16, 8], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_closed.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_closed.json new file mode 100644 index 00000000..4083f5cd --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_closed.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 4], + "faces": { + "north": {"uv": [8, 0, 0, 4], "texture": "#0"}, + "south": {"uv": [0, 0, 8, 4], "texture": "#0"}, + "west": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "texture": "#0"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_open.json b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_open.json new file mode 100644 index 00000000..054b9823 --- /dev/null +++ b/src/main/resources/assets/foundation/models/block/tall_door/test_door/right_big_door_right_3_open.json @@ -0,0 +1,19 @@ +{ + "credit": "Made with Blockbench", + "texture_size": [32, 64], + "textures": { + "0": "foundation:block/big_door" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [4, 16, 16], + "faces": { + "east": {"uv": [16, 0, 8, 4], "texture": "#0"}, + "south": {"uv": [0, 0, 0, 0], "texture": "#0"}, + "west": {"uv": [8, 0, 16, 4], "texture": "#0"}, + "down": {"uv": [0, 0, 8, 1], "rotation": 90, "texture": "#0"} + } + } + ] +} \ No newline at end of file