commit a6a13003c206041f2807d6166ae30bcd9c6b74a6 Author: chexit Date: Wed Oct 28 19:16:52 2026 +0300 AirDef: drones and air defence for a Horizon fork The mod (airdef-mod/), its generated models and sounds, the fork's patches over upstream Horizon (horizon-patches/, HORIZON_COMMIT), a cross-platform build/install/run script (tools/airdef.py), CI that builds and releases on every push (.gitea/workflows/build.yml) and a setup guide (docs/INSTALL.md). Co-Authored-By: Claude Opus 5.5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..2947087 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,6 @@ +*.bat text eol=crlf +*.sh text eol=lf +*.ogg binary +*.png binary +*.jpg binary +*.hmod binary diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..4b790a3 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,165 @@ +# Сборка на каждый пуш: мод (.hmod, для всех ОС) и игра-форк для Linux; +# для Windows и macOS — если в репозитории заданы переменные BUILD_WINDOWS / BUILD_MACOS = true +# и подключены раннеры с метками windows-latest / macos-latest. +# Пуш в main публикует релиз build-<номер> со всеми собранными архивами. +name: build + +on: + push: + workflow_dispatch: + +env: + CARGO_TERM_COLOR: never + +jobs: + mod: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Rust + run: | + curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --target wasm32-unknown-unknown + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - name: Форк Horizon (исходники) + run: python3 tools/airdef.py fork + - name: Мод + run: python3 tools/airdef.py mod + - name: Архив + run: | + mkdir -p out + cp airdef-mod/target/horizon-mod/airdef.hmod out/airdef.hmod + - uses: actions/upload-artifact@v4 + with: + name: airdef-hmod + path: out/airdef.hmod + + game-linux: + runs-on: ubuntu-latest + needs: mod + steps: + - uses: actions/checkout@v4 + - name: Системные библиотеки + run: | + SUDO=$(command -v sudo || true) + $SUDO apt-get update -qq + $SUDO apt-get install -y -qq build-essential pkg-config libasound2-dev libudev-dev + - name: Rust + run: | + curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - uses: actions/cache@v4 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + horizon/target + key: game-linux-${{ hashFiles('HORIZON_COMMIT', 'horizon-patches/*') }} + restore-keys: game-linux- + - name: Форк Horizon + run: python3 tools/airdef.py fork + - name: Игра + run: python3 tools/airdef.py game + - uses: actions/download-artifact@v4 + with: + name: airdef-hmod + path: out + - name: Архив + run: | + D=airdef-linux-x86_64 + mkdir -p "$D" + cp horizon/target/fast/horizon-client horizon/target/fast/horizon-ctl out/airdef.hmod dist/play.sh "$D/" + cp docs/INSTALL.md "$D/" + tar czf "out/$D.tar.gz" "$D" + - uses: actions/upload-artifact@v4 + with: + name: airdef-linux + path: out/airdef-linux-x86_64.tar.gz + + game-macos: + if: vars.BUILD_MACOS == 'true' + runs-on: macos-latest + needs: mod + steps: + - uses: actions/checkout@v4 + - name: Rust + run: | + command -v cargo || curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal + echo "$HOME/.cargo/bin" >> "$GITHUB_PATH" + - name: Форк Horizon + run: python3 tools/airdef.py fork + - name: Игра + run: python3 tools/airdef.py game + - uses: actions/download-artifact@v4 + with: + name: airdef-hmod + path: out + - name: Архив + run: | + D=airdef-macos-arm64 + mkdir -p "$D" + cp horizon/target/fast/horizon-client horizon/target/fast/horizon-ctl out/airdef.hmod dist/play.sh docs/INSTALL.md "$D/" + tar czf "out/$D.tar.gz" "$D" + - uses: actions/upload-artifact@v4 + with: + name: airdef-macos + path: out/airdef-macos-arm64.tar.gz + + game-windows: + if: vars.BUILD_WINDOWS == 'true' + runs-on: windows-latest + needs: mod + defaults: + run: + shell: pwsh + steps: + - uses: actions/checkout@v4 + - name: Rust + run: | + if (-not (Get-Command cargo -ErrorAction SilentlyContinue)) { + Invoke-WebRequest https://win.rustup.rs/x86_64 -OutFile rustup-init.exe + .\rustup-init.exe -y --profile minimal + } + "$env:USERPROFILE\.cargo\bin" | Out-File -Append -Encoding utf8 $env:GITHUB_PATH + - name: Форк Horizon + run: python tools/airdef.py fork + - name: Игра + run: python tools/airdef.py game + - uses: actions/download-artifact@v4 + with: + name: airdef-hmod + path: out + - name: Архив + run: | + $D = "airdef-windows-x86_64" + New-Item -ItemType Directory -Force $D | Out-Null + Copy-Item horizon\target\fast\horizon-client.exe, horizon\target\fast\horizon-ctl.exe, out\airdef.hmod, dist\play.bat, docs\INSTALL.md $D + Compress-Archive -Path $D -DestinationPath "out\$D.zip" -Force + - uses: actions/upload-artifact@v4 + with: + name: airdef-windows + path: out/airdef-windows-x86_64.zip + + release: + if: github.ref == 'refs/heads/main' && !failure() && !cancelled() + runs-on: ubuntu-latest + needs: [mod, game-linux, game-macos, game-windows] + steps: + - uses: actions/download-artifact@v4 + with: + path: artifacts + - name: Релиз + env: + TOKEN: ${{ secrets.RELEASE_TOKEN || gitea.token }} + API: ${{ github.server_url }}/api/v1/repos/${{ github.repository }} + TAG: build-${{ github.run_number }} + SHA: ${{ github.sha }} + run: | + set -e + BODY=$(printf 'Сборка %s (%s).\n\n- airdef.hmod — мод, для всех ОС;\n- airdef-<ОС>.* — игра-форк Horizon с модом и скриптом запуска.\n\nКак запускать: docs/INSTALL.md.' "$TAG" "$SHA") + DATA=$(BODY="$BODY" python3 -c 'import json,os;print(json.dumps({"tag_name":os.environ["TAG"],"target_commitish":os.environ["SHA"],"name":os.environ["TAG"],"body":os.environ["BODY"]}))') + ID=$(curl -sf -X POST -H "Authorization: token $TOKEN" -H "Content-Type: application/json" "$API/releases" -d "$DATA" | python3 -c 'import json,sys;print(json.load(sys.stdin)["id"])') + find artifacts -type f | while read -r f; do + name=$(basename "$f") + echo "upload $name" + curl -sf -X POST -H "Authorization: token $TOKEN" -F "attachment=@$f" "$API/releases/$ID/assets?name=$name" > /dev/null + done diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6f124f4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +horizon/ +run-home/ +.horizon-cache/ +airdef-mod/target/ +__pycache__/ +/out/ +.DS_Store diff --git a/HORIZON_COMMIT b/HORIZON_COMMIT new file mode 100644 index 0000000..31aff13 --- /dev/null +++ b/HORIZON_COMMIT @@ -0,0 +1 @@ +b6c936f82b08798057161bdfa577e3aac53fb91e diff --git a/README.md b/README.md new file mode 100644 index 0000000..12f23d7 --- /dev/null +++ b/README.md @@ -0,0 +1,165 @@ +# AirDef — дальнобойные дроны и ПВО для Horizon + +Мод для Horizon (Minecraft 26.3 на Rust): Шахед-136, Герань-3, Patriot и Гепард с 3D-моделями, +наведением ракет, слежением башен, падением сбитых дронов и эффектами взрывов. + +Работает на **своём форке Horizon** (`horizon/`, ветка `airdef`): в нём добавлен API отрисовки +3D-моделей, которого нет в основном Horizon. + +![Перехваты](screenshots/intercepts.jpg) + +## Запуск + +Пошаговый гайд для Windows и macOS (готовая сборка из релиза или сборка из исходников): [docs/INSTALL.md](docs/INSTALL.md). + +Коротко, из исходников: + +```bash +python3 tools/airdef.py all # скачать Horizon, наложить патчи форка, собрать игру и мод, установить мод +python3 tools/airdef.py play # запустить (аргументы игры — после: --world "Имя мира") +``` + +Для разработки: `./install.sh` перегенерирует модели (`tools/gen_models.py`, нужен Pillow) и звуки +(`tools/gen_sounds.py`, нужны numpy и ffmpeg), собирает и ставит мод. Сгенерированные файлы лежат в репозитории, +так что для обычной сборки нужен только Rust. + +CI (`.gitea/workflows/build.yml`) на каждый пуш собирает мод и игру для Linux (и для Windows/macOS, если заданы +переменные `BUILD_WINDOWS` / `BUILD_MACOS` и есть раннеры), а пуш в `main` публикует релиз `build-N`. + +## Как играть + +`/airdef give` выдаёт пульты. Все срабатывают на **ПКМ**. + +| Предмет | Что делает | +|---|---| +| Целеуказатель | ставит или снимает цель на блоке под прицелом (до 512 блоков) | +| Пуск: Шахед-136 / Герань-3 / Ланцет-3 / Х-101 / Калибр / Х-22 / Циркон / Искандер-М / Кинжал | запускает дрон или ракету в точку под прицелом | +| Развернуть Patriot / Гепард / Панцирь-С1 / С-400 / С-500 | ставит комплекс на блок под прицелом, носом по взгляду | +| Свернуть ПВО | убирает ближайший комплекс у точки под прицелом | + +**Командный пункт:** клавиша **N** или `/airdef menu`. В нём список комплексов: выбери комплекс и включай или выключай классы целей +(дроны, реактивные дроны, крылатые, сверхзвуковые, баллистика), есть сброс по умолчанию. Там же переключатели огня ПВО, +монитора, эффектов и разрушений. + +**Монитор комплекса:** клавиша **K** листает комплексы по очереди, после последнего монитор скрывается. Слева вверху показано: +- состояние комплекса (поиск, сопровождение, доворот, захват, пуск, огонь, перезарядка, огонь запрещён); +- его РЛС: цели, по которым он работает, красным, остальные серым, текущая цель жёлтым; +- тепловизионная камера с 3D-моделью цели и рамкой захвата, дальность, высота, скорость и пеленг. + +Клавиши N и K можно переназначить в «Настройки → Моды». + +Команды: +- `/airdef wave <тип> [кол-во] [дальность]` — налёт на ближайшую цель. Типы: `shahed`, `geran3`, `lancet`, `gerbera`, `kh101`, `kalibr`, `kh22`, `zircon`, `iskander`, `kinzhal` и `mix` (комбинированный удар: «Герберы», шахеды, Герани-3, Х-101, «Калибры» и «Искандер»); +- `/airdef roles` — показать, по каким классам целей работает каждый комплекс; `/airdef roles <классы|default>` — задать (классы через запятую: `drone`, `jet`, `cruise`, `supersonic`, `ballistic` или `all`), например `/airdef roles s400 cruise,ballistic`; +- `/airdef hold on|off` — запретить или разрешить ПВО огонь, удобно для съёмки ударов; +- `/airdef damage on|off` — разрушать ли ландшафт взрывами (через TNT, нужны читы); +- `/airdef shader on|off` — шейдерные эффекты; +- `/airdef clear` — убрать дроны и ракеты; +- `/airdef targets clear` — снять все цели; +- `/airdef stats` — сводка. + +Интерфейс: +- **сверху справа — сводка:** тревога, цели по типам, ближайшая угроза (дальность, высота, скорость), перехватчики в воздухе, по каждому комплексу боезапас или перезарядка, его текущая цель и число сбитых, итоговый счёт; +- **снизу справа — радар на 500 м** со сканирующим лучом. Отметки гаснут после прохода луча. Красное — цели (с хвостом по курсу), жёлтое — ракеты, синее — ПВО с кругами дальности, крест — цели удара. + +Комплексы ПВО и цели сохраняются между сессиями. + +## Техника + +| Дрон / ракета | Поведение | +|---|---| +| Шахед-136 | 43 км/ч в игре, 45 м над целью, 18 м над рельефом, крен в поворотах, пикирует, винт крутится | +| Герань-3 | реактивный, 115 км/ч, факел из сопла | +| Ланцет-3 | Х-образные крылья, низко (25 м), манёвренный, его труднее сбить | +| Гербера | ложная цель из пенопласта, без боевой части: отвлекает ракеты ПВО | +| Х-101 | крылатая ракета, 170 км/ч, огибает рельеф на 12 м, мощная боевая часть | +| Калибр | крылатая ракета, 150 км/ч, огибает рельеф на 15 м | +| Х-22 | сверхзвуковая, 290 км/ч, идёт на 140 м и круто пикирует издалека | +| Циркон | гиперзвуковая, 400 км/ч, её трудно сбить | +| Искандер-М | баллистическая: стартует за 1 км, дуга с апогеем ~250 м, на конечном участке доворачивает на цель | +| Кинжал | аэробаллистическая, 540 км/ч, стартует за 1,5 км; реально сбивает только С-500 | + +| ПВО | Вооружение | Дальность | +|---|---|---| +| Patriot | 4 × PAC-3, пусковая разворачивается на цель | 10–300 | +| Гепард | 2 × 35 мм, башня и стволы со слежением и упреждением, 160 очередей | 90 (слежение с 130) | +| Панцирь-С1 | 12 × 57Э6 и 2 × 30 мм; модуль поворачивается, пакеты и стволы поднимаются | ракеты 25–150, пушки 60 | +| С-400 | 4 × 48Н6, вертикальный холодный старт, РЛС обзора на прицепе | 30–480 | +| С-500 | 4 × 77Н6, холодный старт, самые быстрые ракеты | 40–700 | + +**Согласование огня.** Комплексы делят цели между собой: на обычную цель идёт одна ракета, на баллистическую две, +пушки расходятся по разным целям. Первыми бьют по самым опасным (быстрым и тяжёлым) целям, при этом ложные +«Герберы» выглядят для них как настоящие. Шанс поражения падает, если цель быстрее перехватчика. + +**Роли по умолчанию** (в сводке в квадратных скобках: Д — дроны, Г — реактивные, К — крылатые, С — сверхзвуковые, +Б — баллистика): Гепард ДГК, Панцирь ДГКС, Patriot ГКСБ, С-400 ГКСБ, С-500 СБ. Сбитый дрон падает с остатком скорости, и его боевая часть +может сдетонировать на земле. + +## Звук + +Все звуки синтезированы (`tools/gen_sounds.py`: шум, тоны, фильтры и эхо на numpy, кодирует ffmpeg), сэмплов нет. +У каждого объекта свой звук и своя дальность слышимости (`attenuation_distance` в `sounds.json`): +- **двигатели:** двухтактный мопед шахеда (220 м), турбина Герани-3, электромотор Ланцета, тяжёлый рёв крылатых ракет (320 м), + ракетный рёв Х-22, Циркона и перехватчиков, нарастающий визг падающей баллистики и её ударная волна (700–900 м); +- **пуски:** хлопок и рвущийся рёв Patriot, свистящий старт Панциря, глухой газовый выброс и затем огромный рёв С-400, + у С-500 ещё ниже и дольше (до 1 км); +- **пушки:** тяжёлые 35-мм очереди Гепарда и частые 30-мм Панциря; +- **взрывы:** хлопок, суббас, рокот и треск обломков с длинным эхом, у разных калибров по-разному (до 900 м). + +## Эффекты + +Мод передаёт движку шейдер пост-обработки (`airdef-mod/shaders/effects.wgsl`): +- **объёмный огненный шар:** шум, «прошитый» лучом камеры, с переходом раскалённое ядро → пламя → чёрный дым, который поднимается и рассеивается; +- **вспышка** с ореолом и засветкой всего кадра; +- **ударная волна**, искажающая картинку за собой; +- **тепловое марево** над огнём; +- **свечение** факелов ракет, дульных вспышек, красных трассеров и маркеров цели; +- **освещение от огня:** взрывы, факелы и трассеры подсвечивают землю и технику, ночью намного сильнее. + +У Гепарда и Панциря каждый снаряд — летящий красный трассер. + +Всё размещено в мире и скрывается за тем, что стоит перед ним (по глубине сцены). Выключить: `/airdef shader off`. + +![Удар](screenshots/blast-fireball.jpg) +![Холодный старт С-400](screenshots/s400-cold-launch.jpg) + +## Устройство + +``` +HORIZON_COMMIT коммит апстрима Horizon, на который накладываются патчи +horizon-patches/ изменения форка (git format-patch); tools/airdef.py fork собирает из них horizon/ +horizon/ форк (не в репозитории; ветка airdef). Что в нём меняется: + crates/horizon-mod-sdk/wit/horizon.wit render.set-models, spawn-particles, play-sound, + query-ground / ground + crates/horizon-mods/src/runtime.rs хост этих функций + crates/horizon-client/src/game/mod_models.rs интерполяция и отрисовка моделей, частицы + crates/horizon-client/src/gfx/mod_post.rs пост-проход мода: render.set-post / set-params +airdef-mod/ сам мод: Rust → WebAssembly + src/sim.rs симуляция: дроны, ракеты, ПВО, эффекты (20 тиков/с) + src/lib.rs предметы, команды, сохранение, передача в движок + src/panel.rs сводка, src/radar.rs — радар, src/monitor.rs — монитор комплекса + assets/airdef/sounds звуки (генерирует tools/gen_sounds.py) + shaders/effects.wgsl шейдер взрывов и свечения + assets/, data/ модели, текстуры, предметы (генерирует tools/gen_models.py) +tools/gen_models.py генератор моделей и текстур +legacy/ первая версия: датапак на командах и контент-мод +run-home/ тестовая игровая папка (для проверок через horizon-ctl) +``` + +Как рисуются модели. Мод раз в тик отдаёт список объектов: блок-модель, позиция, кватернион и масштаб. +Движок держит для каждого id две последние позы и в каждом кадре рисует объект между ними: +- позиция интерполируется линейно, поворот — через slerp; +- освещение учитывает поворот модели; +- `glow` даёт полную яркость (пламя, вспышки). + +Модели — обычные блочные JSON-модели, по одной на часть: корпус, винт, башня, стволы. Их генерирует +`tools/gen_models.py`. Координаты элементов должны быть в пределах −16..32, иначе Horizon отбросит модель. + +Рельеф мод узнаёт через `render.query-ground`: присылает колонки, а движок отвечает высотой по карте +высот на следующем тике. + +## Известные ограничения + +- Мод клиентский: дроны и ПВО видит только тот, у кого он стоит. Мультиплеер не поддерживается. +- Окно Horizon на macOS не рисует кадры, пока оно перекрыто другими окнами (это поведение движка). +- Шейдер работает, только если не включён шейдер-пак Horizon (они взаимоисключающие). diff --git a/airdef-mod/.gitignore b/airdef-mod/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/airdef-mod/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/airdef-mod/Cargo.lock b/airdef-mod/Cargo.lock new file mode 100644 index 0000000..d8c630a --- /dev/null +++ b/airdef-mod/Cargo.lock @@ -0,0 +1,338 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "airdef" +version = "0.2.0" +dependencies = [ + "glam", + "horizon-mod-sdk", +] + +[[package]] +name = "anyhow" +version = "1.0.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" + +[[package]] +name = "bitflags" +version = "2.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "foldhash" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" + +[[package]] +name = "glam" +version = "0.30.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19fc433e8437a212d1b6f1e68c7824af3aed907da60afa994e7f542d18d12aa9" + +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" +dependencies = [ + "foldhash", +] + +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + +[[package]] +name = "horizon-mod-sdk" +version = "0.1.0" +dependencies = [ + "wit-bindgen", +] + +[[package]] +name = "id-arena" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" + +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown", + "serde", + "serde_core", +] + +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "leb128fmt" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" + +[[package]] +name = "log" +version = "0.4.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" + +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + +[[package]] +name = "prettyplease" +version = "0.2.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b" +dependencies = [ + "proc-macro2", + "syn 2.0.119", +] + +[[package]] +name = "proc-macro2" +version = "1.0.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.9", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "syn" +version = "2.0.119" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "3.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "unicode-ident" +version = "1.0.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" + +[[package]] +name = "wasm-encoder" +version = "0.254.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebaca0b540bdb15d195ff34fb23074255948708b8916a11a339ba4513dc61906" +dependencies = [ + "leb128fmt", + "wasmparser", +] + +[[package]] +name = "wasm-metadata" +version = "0.254.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5d1880dd9a848aa68f387966256c34ad49abb4607e3cfa35720d2723d0591cd3" +dependencies = [ + "anyhow", + "indexmap", + "wasm-encoder", + "wasmparser", +] + +[[package]] +name = "wasmparser" +version = "0.254.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5ff8685b587722894b6f25958fc608d315b93b8d23647bfb567664e7006d757" +dependencies = [ + "bitflags", + "hashbrown", + "indexmap", + "semver", +] + +[[package]] +name = "wit-bindgen" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a301904d6657d6364c758d869e5389d05d393b16d5b65db60b4f03cbe71bb80d" +dependencies = [ + "wit-bindgen-rust-macro", +] + +[[package]] +name = "wit-bindgen-core" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48521bb96e56cbb9e031ad306c80dc20e89e69e49ada02781ee06f60fbcb545f" +dependencies = [ + "anyhow", + "heck", + "wit-parser", +] + +[[package]] +name = "wit-bindgen-rust" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3df3fe9b9a0066f82fd0c2f07f79d0ffc0f85c53fa5f998516d8722712479042" +dependencies = [ + "anyhow", + "heck", + "indexmap", + "prettyplease", + "syn 2.0.119", + "wasm-metadata", + "wit-bindgen-core", + "wit-component", +] + +[[package]] +name = "wit-bindgen-rust-macro" +version = "0.60.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d689c4bc9d6af067c651cfba444766343c9a4bdef15fad1e2efab95c0c277af0" +dependencies = [ + "anyhow", + "prettyplease", + "proc-macro2", + "quote", + "syn 2.0.119", + "wit-bindgen-core", + "wit-bindgen-rust", +] + +[[package]] +name = "wit-component" +version = "0.254.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c96b3cea6838dbea55173baa56991fcb087896c321b0a770db201e5a0bd3506" +dependencies = [ + "anyhow", + "bitflags", + "indexmap", + "log", + "serde", + "serde_derive", + "serde_json", + "wasm-encoder", + "wasm-metadata", + "wasmparser", + "wit-parser", +] + +[[package]] +name = "wit-parser" +version = "0.254.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22672d61bfb9df46a16b46ce38522293aee1cc4749fc84a3464ce4083b3d5fd6" +dependencies = [ + "anyhow", + "hashbrown", + "id-arena", + "indexmap", + "log", + "semver", + "serde", + "serde_derive", + "serde_json", + "unicode-ident", + "wasmparser", +] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/airdef-mod/Cargo.toml b/airdef-mod/Cargo.toml new file mode 100644 index 0000000..3368bf3 --- /dev/null +++ b/airdef-mod/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "airdef" +version = "0.2.0" +edition = "2024" +publish = false +description = "AirDef: long-range drones and air defence for the AirDef fork of Horizon" + +[lib] +crate-type = ["cdylib", "rlib"] + +[dependencies] +horizon-mod-sdk = { path = "../horizon/crates/horizon-mod-sdk" } +glam = "0.30" + +[profile.release] +opt-level = "s" +lto = true + +[workspace] diff --git a/airdef-mod/assets/airdef/blockstates/debris.json b/airdef-mod/assets/airdef/blockstates/debris.json new file mode 100644 index 0000000..bbb2723 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/debris.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/debris" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/fireball.json b/airdef-mod/assets/airdef/blockstates/fireball.json new file mode 100644 index 0000000..dc4b2ac --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/fireball.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/fireball" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/flame.json b/airdef-mod/assets/airdef/blockstates/flame.json new file mode 100644 index 0000000..0520019 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/flame.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/flame" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/flash.json b/airdef-mod/assets/airdef/blockstates/flash.json new file mode 100644 index 0000000..43e1da7 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/flash.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/flash" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/gepard_dish.json b/airdef-mod/assets/airdef/blockstates/gepard_dish.json new file mode 100644 index 0000000..84517e9 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/gepard_dish.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/gepard_dish" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/gepard_guns.json b/airdef-mod/assets/airdef/blockstates/gepard_guns.json new file mode 100644 index 0000000..b154862 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/gepard_guns.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/gepard_guns" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/gepard_hull.json b/airdef-mod/assets/airdef/blockstates/gepard_hull.json new file mode 100644 index 0000000..c8b4fc3 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/gepard_hull.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/gepard_hull" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/gepard_turret.json b/airdef-mod/assets/airdef/blockstates/gepard_turret.json new file mode 100644 index 0000000..8c622ad --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/gepard_turret.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/gepard_turret" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/geran3.json b/airdef-mod/assets/airdef/blockstates/geran3.json new file mode 100644 index 0000000..7343293 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/geran3.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/geran3" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/geran3_flame.json b/airdef-mod/assets/airdef/blockstates/geran3_flame.json new file mode 100644 index 0000000..8a91999 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/geran3_flame.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/geran3_flame" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/gerbera.json b/airdef-mod/assets/airdef/blockstates/gerbera.json new file mode 100644 index 0000000..bf92921 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/gerbera.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/gerbera" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/iskander.json b/airdef-mod/assets/airdef/blockstates/iskander.json new file mode 100644 index 0000000..82c64c7 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/iskander.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/iskander" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/kalibr.json b/airdef-mod/assets/airdef/blockstates/kalibr.json new file mode 100644 index 0000000..b6c3af3 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/kalibr.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/kalibr" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/kh101.json b/airdef-mod/assets/airdef/blockstates/kh101.json new file mode 100644 index 0000000..bb2cca1 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/kh101.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/kh101" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/kh22.json b/airdef-mod/assets/airdef/blockstates/kh22.json new file mode 100644 index 0000000..38fcf4d --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/kh22.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/kh22" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/kinzhal.json b/airdef-mod/assets/airdef/blockstates/kinzhal.json new file mode 100644 index 0000000..4be0219 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/kinzhal.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/kinzhal" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/lancet.json b/airdef-mod/assets/airdef/blockstates/lancet.json new file mode 100644 index 0000000..528d0f1 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/lancet.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/lancet" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/m48n6.json b/airdef-mod/assets/airdef/blockstates/m48n6.json new file mode 100644 index 0000000..870777c --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/m48n6.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/m48n6" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/m57e6.json b/airdef-mod/assets/airdef/blockstates/m57e6.json new file mode 100644 index 0000000..ac32e77 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/m57e6.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/m57e6" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/m77n6.json b/airdef-mod/assets/airdef/blockstates/m77n6.json new file mode 100644 index 0000000..a79b09e --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/m77n6.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/m77n6" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/pac3.json b/airdef-mod/assets/airdef/blockstates/pac3.json new file mode 100644 index 0000000..49b3511 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/pac3.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/pac3" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/pantsir_dish.json b/airdef-mod/assets/airdef/blockstates/pantsir_dish.json new file mode 100644 index 0000000..112096b --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/pantsir_dish.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/pantsir_dish" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/pantsir_pack.json b/airdef-mod/assets/airdef/blockstates/pantsir_pack.json new file mode 100644 index 0000000..7eb8d0d --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/pantsir_pack.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/pantsir_pack" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/pantsir_truck.json b/airdef-mod/assets/airdef/blockstates/pantsir_truck.json new file mode 100644 index 0000000..a6c945e --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/pantsir_truck.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/pantsir_truck" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/pantsir_turret.json b/airdef-mod/assets/airdef/blockstates/pantsir_turret.json new file mode 100644 index 0000000..7760c03 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/pantsir_turret.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/pantsir_turret" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/patriot_launcher.json b/airdef-mod/assets/airdef/blockstates/patriot_launcher.json new file mode 100644 index 0000000..acb8e38 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/patriot_launcher.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/patriot_launcher" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/patriot_radar.json b/airdef-mod/assets/airdef/blockstates/patriot_radar.json new file mode 100644 index 0000000..4af3bc5 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/patriot_radar.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/patriot_radar" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/patriot_trailer.json b/airdef-mod/assets/airdef/blockstates/patriot_trailer.json new file mode 100644 index 0000000..91cc283 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/patriot_trailer.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/patriot_trailer" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/patriot_truck.json b/airdef-mod/assets/airdef/blockstates/patriot_truck.json new file mode 100644 index 0000000..26d1036 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/patriot_truck.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/patriot_truck" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/radar_panel.json b/airdef-mod/assets/airdef/blockstates/radar_panel.json new file mode 100644 index 0000000..c8b4879 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/radar_panel.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/radar_panel" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/radar_trailer.json b/airdef-mod/assets/airdef/blockstates/radar_trailer.json new file mode 100644 index 0000000..ad59a65 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/radar_trailer.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/radar_trailer" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/s400_chassis.json b/airdef-mod/assets/airdef/blockstates/s400_chassis.json new file mode 100644 index 0000000..9fbdf11 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/s400_chassis.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/s400_chassis" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/s400_tubes.json b/airdef-mod/assets/airdef/blockstates/s400_tubes.json new file mode 100644 index 0000000..ac1ecc2 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/s400_tubes.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/s400_tubes" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/s500_chassis.json b/airdef-mod/assets/airdef/blockstates/s500_chassis.json new file mode 100644 index 0000000..3416f9f --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/s500_chassis.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/s500_chassis" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/s500_tubes.json b/airdef-mod/assets/airdef/blockstates/s500_tubes.json new file mode 100644 index 0000000..9b8702d --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/s500_tubes.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/s500_tubes" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/shahed.json b/airdef-mod/assets/airdef/blockstates/shahed.json new file mode 100644 index 0000000..9ff20db --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/shahed.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/shahed" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/shahed_prop.json b/airdef-mod/assets/airdef/blockstates/shahed_prop.json new file mode 100644 index 0000000..0bbad12 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/shahed_prop.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/shahed_prop" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/target.json b/airdef-mod/assets/airdef/blockstates/target.json new file mode 100644 index 0000000..35546b5 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/target.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/target" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/tracer.json b/airdef-mod/assets/airdef/blockstates/tracer.json new file mode 100644 index 0000000..7ae4711 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/tracer.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/tracer" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/blockstates/zircon.json b/airdef-mod/assets/airdef/blockstates/zircon.json new file mode 100644 index 0000000..3c34e45 --- /dev/null +++ b/airdef-mod/assets/airdef/blockstates/zircon.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "airdef:block/zircon" + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_geran3.json b/airdef-mod/assets/airdef/items/cam_geran3.json new file mode 100644 index 0000000..4c869ba --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_geran3.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_geran3" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_gerbera.json b/airdef-mod/assets/airdef/items/cam_gerbera.json new file mode 100644 index 0000000..220587c --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_gerbera.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_gerbera" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_iskander.json b/airdef-mod/assets/airdef/items/cam_iskander.json new file mode 100644 index 0000000..8e82d61 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_iskander.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_iskander" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_kalibr.json b/airdef-mod/assets/airdef/items/cam_kalibr.json new file mode 100644 index 0000000..25223bd --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_kalibr.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_kalibr" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_kh101.json b/airdef-mod/assets/airdef/items/cam_kh101.json new file mode 100644 index 0000000..b9ba926 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_kh101.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_kh101" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_kh22.json b/airdef-mod/assets/airdef/items/cam_kh22.json new file mode 100644 index 0000000..747f439 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_kh22.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_kh22" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_kinzhal.json b/airdef-mod/assets/airdef/items/cam_kinzhal.json new file mode 100644 index 0000000..9567e77 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_kinzhal.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_kinzhal" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_lancet.json b/airdef-mod/assets/airdef/items/cam_lancet.json new file mode 100644 index 0000000..a3be409 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_lancet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_lancet" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_shahed.json b/airdef-mod/assets/airdef/items/cam_shahed.json new file mode 100644 index 0000000..26153c1 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_shahed.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_shahed" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/cam_zircon.json b/airdef-mod/assets/airdef/items/cam_zircon.json new file mode 100644 index 0000000..08259d2 --- /dev/null +++ b/airdef-mod/assets/airdef/items/cam_zircon.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/cam_zircon" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/deploy_gepard.json b/airdef-mod/assets/airdef/items/deploy_gepard.json new file mode 100644 index 0000000..28cd67d --- /dev/null +++ b/airdef-mod/assets/airdef/items/deploy_gepard.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/deploy_gepard" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/deploy_pantsir.json b/airdef-mod/assets/airdef/items/deploy_pantsir.json new file mode 100644 index 0000000..2763b1c --- /dev/null +++ b/airdef-mod/assets/airdef/items/deploy_pantsir.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/deploy_pantsir" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/deploy_patriot.json b/airdef-mod/assets/airdef/items/deploy_patriot.json new file mode 100644 index 0000000..0be1350 --- /dev/null +++ b/airdef-mod/assets/airdef/items/deploy_patriot.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/deploy_patriot" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/deploy_s400.json b/airdef-mod/assets/airdef/items/deploy_s400.json new file mode 100644 index 0000000..2e90398 --- /dev/null +++ b/airdef-mod/assets/airdef/items/deploy_s400.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/deploy_s400" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/deploy_s500.json b/airdef-mod/assets/airdef/items/deploy_s500.json new file mode 100644 index 0000000..a1a3c9a --- /dev/null +++ b/airdef-mod/assets/airdef/items/deploy_s500.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/deploy_s500" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/designator.json b/airdef-mod/assets/airdef/items/designator.json new file mode 100644 index 0000000..8737fa9 --- /dev/null +++ b/airdef-mod/assets/airdef/items/designator.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/designator" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_geran3.json b/airdef-mod/assets/airdef/items/launch_geran3.json new file mode 100644 index 0000000..9aaef1b --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_geran3.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_geran3" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_iskander.json b/airdef-mod/assets/airdef/items/launch_iskander.json new file mode 100644 index 0000000..c8a7e4b --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_iskander.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_iskander" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_kalibr.json b/airdef-mod/assets/airdef/items/launch_kalibr.json new file mode 100644 index 0000000..4ad834c --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_kalibr.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_kalibr" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_kh101.json b/airdef-mod/assets/airdef/items/launch_kh101.json new file mode 100644 index 0000000..6f2fa68 --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_kh101.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_kh101" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_kh22.json b/airdef-mod/assets/airdef/items/launch_kh22.json new file mode 100644 index 0000000..386860c --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_kh22.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_kh22" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_kinzhal.json b/airdef-mod/assets/airdef/items/launch_kinzhal.json new file mode 100644 index 0000000..7ba928d --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_kinzhal.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_kinzhal" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_lancet.json b/airdef-mod/assets/airdef/items/launch_lancet.json new file mode 100644 index 0000000..026d884 --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_lancet.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_lancet" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_shahed.json b/airdef-mod/assets/airdef/items/launch_shahed.json new file mode 100644 index 0000000..c825bff --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_shahed.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_shahed" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/launch_zircon.json b/airdef-mod/assets/airdef/items/launch_zircon.json new file mode 100644 index 0000000..8cb4fc6 --- /dev/null +++ b/airdef-mod/assets/airdef/items/launch_zircon.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/launch_zircon" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/items/remover.json b/airdef-mod/assets/airdef/items/remover.json new file mode 100644 index 0000000..4fa2854 --- /dev/null +++ b/airdef-mod/assets/airdef/items/remover.json @@ -0,0 +1,6 @@ +{ + "model": { + "type": "minecraft:model", + "model": "airdef:item/remover" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/lang/en_us.json b/airdef-mod/assets/airdef/lang/en_us.json new file mode 100644 index 0000000..86e89b9 --- /dev/null +++ b/airdef-mod/assets/airdef/lang/en_us.json @@ -0,0 +1,68 @@ +{ + "block.airdef.shahed": "Шахед-136", + "block.airdef.shahed_prop": "Винт", + "block.airdef.geran3": "Герань-3", + "block.airdef.geran3_flame": "Факел", + "block.airdef.pac3": "PAC-3 MSE", + "block.airdef.flame": "Факел", + "block.airdef.patriot_launcher": "ПУ M903", + "block.airdef.patriot_truck": "Тягач", + "block.airdef.patriot_trailer": "Полуприцеп", + "block.airdef.patriot_radar": "РЛС AN/MPQ-65", + "block.airdef.gepard_hull": "Корпус Гепарда", + "block.airdef.gepard_turret": "Башня Гепарда", + "block.airdef.gepard_guns": "Пушки Гепарда", + "block.airdef.gepard_dish": "РЛС Гепарда", + "block.airdef.target": "Цель", + "block.airdef.fireball": "Огненный шар", + "block.airdef.flash": "Вспышка", + "block.airdef.debris": "Обломки", + "block.airdef.lancet": "Ланцет-3", + "block.airdef.gerbera": "Гербера", + "block.airdef.kh101": "Х-101", + "block.airdef.pantsir_truck": "Шасси Панциря", + "block.airdef.pantsir_turret": "Модуль Панциря", + "block.airdef.pantsir_pack": "Ракеты и пушки Панциря", + "block.airdef.pantsir_dish": "РЛС Панциря", + "block.airdef.s400_chassis": "Шасси С-400", + "block.airdef.s400_tubes": "ТПК 48Н6", + "block.airdef.s500_chassis": "Шасси С-500", + "block.airdef.s500_tubes": "ТПК 77Н6", + "block.airdef.radar_trailer": "Прицеп РЛС", + "block.airdef.radar_panel": "РЛС обзора", + "block.airdef.m57e6": "57Э6", + "block.airdef.m48n6": "48Н6", + "block.airdef.m77n6": "77Н6", + "block.airdef.kalibr": "Калибр", + "block.airdef.kh22": "Х-22", + "block.airdef.zircon": "Циркон", + "block.airdef.iskander": "Искандер-М", + "block.airdef.kinzhal": "Кинжал", + "block.airdef.tracer": "Трассер", + "item.airdef.designator": "Целеуказатель", + "item.airdef.launch_shahed": "Пуск: Шахед-136", + "item.airdef.launch_geran3": "Пуск: Герань-3", + "item.airdef.deploy_patriot": "Развернуть Patriot", + "item.airdef.deploy_gepard": "Развернуть Гепард", + "item.airdef.deploy_pantsir": "Развернуть Панцирь-С1", + "item.airdef.deploy_s400": "Развернуть С-400", + "item.airdef.deploy_s500": "Развернуть С-500", + "item.airdef.launch_lancet": "Пуск: Ланцет-3", + "item.airdef.launch_kh101": "Пуск: Х-101", + "item.airdef.launch_kalibr": "Пуск: Калибр", + "item.airdef.launch_kh22": "Пуск: Х-22", + "item.airdef.launch_zircon": "Пуск: Циркон", + "item.airdef.launch_iskander": "Пуск: Искандер-М", + "item.airdef.launch_kinzhal": "Пуск: Кинжал", + "item.airdef.remover": "Свернуть ПВО", + "item.airdef.cam_shahed": "Шахед-136", + "item.airdef.cam_geran3": "Герань-3", + "item.airdef.cam_lancet": "Ланцет-3", + "item.airdef.cam_gerbera": "Гербера", + "item.airdef.cam_kh101": "Х-101", + "item.airdef.cam_kalibr": "Калибр", + "item.airdef.cam_kh22": "Х-22", + "item.airdef.cam_zircon": "Циркон", + "item.airdef.cam_iskander": "Искандер-М", + "item.airdef.cam_kinzhal": "Кинжал" +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/lang/ru_ru.json b/airdef-mod/assets/airdef/lang/ru_ru.json new file mode 100644 index 0000000..86e89b9 --- /dev/null +++ b/airdef-mod/assets/airdef/lang/ru_ru.json @@ -0,0 +1,68 @@ +{ + "block.airdef.shahed": "Шахед-136", + "block.airdef.shahed_prop": "Винт", + "block.airdef.geran3": "Герань-3", + "block.airdef.geran3_flame": "Факел", + "block.airdef.pac3": "PAC-3 MSE", + "block.airdef.flame": "Факел", + "block.airdef.patriot_launcher": "ПУ M903", + "block.airdef.patriot_truck": "Тягач", + "block.airdef.patriot_trailer": "Полуприцеп", + "block.airdef.patriot_radar": "РЛС AN/MPQ-65", + "block.airdef.gepard_hull": "Корпус Гепарда", + "block.airdef.gepard_turret": "Башня Гепарда", + "block.airdef.gepard_guns": "Пушки Гепарда", + "block.airdef.gepard_dish": "РЛС Гепарда", + "block.airdef.target": "Цель", + "block.airdef.fireball": "Огненный шар", + "block.airdef.flash": "Вспышка", + "block.airdef.debris": "Обломки", + "block.airdef.lancet": "Ланцет-3", + "block.airdef.gerbera": "Гербера", + "block.airdef.kh101": "Х-101", + "block.airdef.pantsir_truck": "Шасси Панциря", + "block.airdef.pantsir_turret": "Модуль Панциря", + "block.airdef.pantsir_pack": "Ракеты и пушки Панциря", + "block.airdef.pantsir_dish": "РЛС Панциря", + "block.airdef.s400_chassis": "Шасси С-400", + "block.airdef.s400_tubes": "ТПК 48Н6", + "block.airdef.s500_chassis": "Шасси С-500", + "block.airdef.s500_tubes": "ТПК 77Н6", + "block.airdef.radar_trailer": "Прицеп РЛС", + "block.airdef.radar_panel": "РЛС обзора", + "block.airdef.m57e6": "57Э6", + "block.airdef.m48n6": "48Н6", + "block.airdef.m77n6": "77Н6", + "block.airdef.kalibr": "Калибр", + "block.airdef.kh22": "Х-22", + "block.airdef.zircon": "Циркон", + "block.airdef.iskander": "Искандер-М", + "block.airdef.kinzhal": "Кинжал", + "block.airdef.tracer": "Трассер", + "item.airdef.designator": "Целеуказатель", + "item.airdef.launch_shahed": "Пуск: Шахед-136", + "item.airdef.launch_geran3": "Пуск: Герань-3", + "item.airdef.deploy_patriot": "Развернуть Patriot", + "item.airdef.deploy_gepard": "Развернуть Гепард", + "item.airdef.deploy_pantsir": "Развернуть Панцирь-С1", + "item.airdef.deploy_s400": "Развернуть С-400", + "item.airdef.deploy_s500": "Развернуть С-500", + "item.airdef.launch_lancet": "Пуск: Ланцет-3", + "item.airdef.launch_kh101": "Пуск: Х-101", + "item.airdef.launch_kalibr": "Пуск: Калибр", + "item.airdef.launch_kh22": "Пуск: Х-22", + "item.airdef.launch_zircon": "Пуск: Циркон", + "item.airdef.launch_iskander": "Пуск: Искандер-М", + "item.airdef.launch_kinzhal": "Пуск: Кинжал", + "item.airdef.remover": "Свернуть ПВО", + "item.airdef.cam_shahed": "Шахед-136", + "item.airdef.cam_geran3": "Герань-3", + "item.airdef.cam_lancet": "Ланцет-3", + "item.airdef.cam_gerbera": "Гербера", + "item.airdef.cam_kh101": "Х-101", + "item.airdef.cam_kalibr": "Калибр", + "item.airdef.cam_kh22": "Х-22", + "item.airdef.cam_zircon": "Циркон", + "item.airdef.cam_iskander": "Искандер-М", + "item.airdef.cam_kinzhal": "Кинжал" +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/debris.json b/airdef-mod/assets/airdef/models/block/debris.json new file mode 100644 index 0000000..50b4a83 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/debris.json @@ -0,0 +1,146 @@ +{ + "ambientocclusion": false, + "textures": { + "dark_metal": "airdef:block/dark_metal", + "shahed": "airdef:block/shahed", + "particle": "airdef:block/dark_metal" + }, + "elements": [ + { + "from": [ + 5.0, + 6.0, + 3.0 + ], + "to": [ + 11.0, + 9.0, + 13.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 2.0, + 7.0, + 6.0 + ], + "to": [ + 14.0, + 8.0, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 12.0, + 4.0 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 12.0, + 4.0 + ], + "texture": "#shahed" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/fireball.json b/airdef-mod/assets/airdef/models/block/fireball.json new file mode 100644 index 0000000..9b535ea --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/fireball.json @@ -0,0 +1,281 @@ +{ + "ambientocclusion": false, + "textures": { + "fire": "airdef:block/fire", + "particle": "airdef:block/fire" + }, + "elements": [ + { + "from": [ + 2.0, + 2.0, + 2.0 + ], + "to": [ + 14.0, + 14.0, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + }, + "south": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + }, + "up": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + }, + "down": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#fire" + } + } + }, + { + "from": [ + 0.0, + 4.0, + 4.0 + ], + "to": [ + 16.0, + 12.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + } + } + }, + { + "from": [ + 4.0, + 0.0, + 4.0 + ], + "to": [ + 12.0, + 16.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + }, + "south": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + }, + "up": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + }, + "down": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + } + } + }, + { + "from": [ + 4.0, + 4.0, + 0.0 + ], + "to": [ + 12.0, + 12.0, + 16.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + }, + "south": { + "uv": [ + 0, + 0, + 8.0, + 8.0 + ], + "texture": "#fire" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#fire" + }, + "up": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + }, + "down": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#fire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/flame.json b/airdef-mod/assets/airdef/models/block/flame.json new file mode 100644 index 0000000..84a9f67 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/flame.json @@ -0,0 +1,553 @@ +{ + "ambientocclusion": false, + "textures": { + "flame": "airdef:block/flame", + "particle": "airdef:block/flame" + }, + "elements": [ + { + "from": [ + 5.625, + 5.625, + -8.0 + ], + "to": [ + 10.375, + 10.375, + -3.75 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.75, + 4.75 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 4.75, + 4.75 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 4.75 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 4.75 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 4.75, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 4.75, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 5.875, + 5.875, + -3.75 + ], + "to": [ + 10.125, + 10.125, + 0.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.125, + 6.125, + 0.5 + ], + "to": [ + 9.875, + 9.875, + 4.75 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.75, + 3.75 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 3.75, + 3.75 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 3.75 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 3.75 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 3.75, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 3.75, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.375, + 6.375, + 4.75 + ], + "to": [ + 9.625, + 9.625, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.25, + 3.25 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 3.25, + 3.25 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 3.25 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 3.25 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 3.25, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 3.25, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.625, + 6.625, + 9.0 + ], + "to": [ + 9.375, + 9.375, + 13.25 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.75, + 2.75 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 2.75, + 2.75 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 2.75 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 2.75 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 2.75, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 2.75, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.875, + 6.875, + 13.25 + ], + "to": [ + 9.125, + 9.125, + 17.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 2.25 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 2.25 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 2.25, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 2.25, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 7.125, + 7.125, + 17.5 + ], + "to": [ + 8.875, + 8.875, + 21.75 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.75, + 1.75 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 1.75, + 1.75 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 1.75 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 1.75 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 1.75, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 1.75, + 4.25 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 7.375, + 7.375, + 21.75 + ], + "to": [ + 8.625, + 8.625, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.25, + 1.25 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 1.25, + 1.25 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 4.25, + 1.25 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 4.25, + 1.25 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 1.25, + 4.25 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 1.25, + 4.25 + ], + "texture": "#flame" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/flash.json b/airdef-mod/assets/airdef/models/block/flash.json new file mode 100644 index 0000000..0c307fd --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/flash.json @@ -0,0 +1,282 @@ +{ + "ambientocclusion": false, + "textures": { + "white": "airdef:block/white", + "flame": "airdef:block/flame", + "particle": "airdef:block/white" + }, + "elements": [ + { + "from": [ + 7.0, + 7.0, + -4.0 + ], + "to": [ + 9.0, + 9.0, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + } + } + }, + { + "from": [ + -4.0, + 7.0, + 7.0 + ], + "to": [ + 20.0, + 9.0, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#white" + } + } + }, + { + "from": [ + 7.0, + -4.0, + 7.0 + ], + "to": [ + 9.0, + 20.0, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#white" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#white" + } + } + }, + { + "from": [ + 5.0, + 5.0, + 5.0 + ], + "to": [ + 11.0, + 11.0, + 11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#flame" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/gepard_dish.json b/airdef-mod/assets/airdef/models/block/gepard_dish.json new file mode 100644 index 0000000..8118c34 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/gepard_dish.json @@ -0,0 +1,146 @@ +{ + "ambientocclusion": false, + "textures": { + "dish": "airdef:block/dish", + "metal": "airdef:block/metal", + "particle": "airdef:block/dish" + }, + "elements": [ + { + "from": [ + -4.0, + 6.0, + 6.0 + ], + "to": [ + 20.0, + 14.0, + 8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#dish" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#dish" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#dish" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#dish" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dish" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dish" + } + } + }, + { + "from": [ + 7.0, + 0.0, + 6.0 + ], + "to": [ + 9.0, + 8.0, + 8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 8.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/gepard_guns.json b/airdef-mod/assets/airdef/models/block/gepard_guns.json new file mode 100644 index 0000000..995be88 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/gepard_guns.json @@ -0,0 +1,419 @@ +{ + "ambientocclusion": false, + "textures": { + "barrel": "airdef:block/barrel", + "flecktarn": "airdef:block/flecktarn", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/barrel" + }, + "elements": [ + { + "from": [ + -8.0, + 5.0, + -16.0 + ], + "to": [ + -5.5, + 7.5, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + 21.5, + 5.0, + -16.0 + ], + "to": [ + 24.0, + 7.5, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + -9.0, + 3.5, + 2.0 + ], + "to": [ + -4.0, + 9.0, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 12.0 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 12.0 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + 20.0, + 3.5, + 2.0 + ], + "to": [ + 25.0, + 9.0, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 5.5 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 12.0 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 12.0 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + -8.5, + 4.5, + -16.0 + ], + "to": [ + -5.0, + 8.0, + -13.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 3.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 3.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 21.0, + 4.5, + -16.0 + ], + "to": [ + 24.5, + 8.0, + -13.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 3.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 3.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/gepard_hull.json b/airdef-mod/assets/airdef/models/block/gepard_hull.json new file mode 100644 index 0000000..7c5d646 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/gepard_hull.json @@ -0,0 +1,556 @@ +{ + "ambientocclusion": false, + "textures": { + "flecktarn": "airdef:block/flecktarn", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "track": "airdef:block/track", + "particle": "airdef:block/flecktarn" + }, + "elements": [ + { + "from": [ + -10.0, + 4.0, + -12.0 + ], + "to": [ + 26.0, + 17.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 13.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 13.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 13.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 13.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + -10.0, + 4.0, + -16.0 + ], + "to": [ + 26.0, + 12.0, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 8.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 8.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + -8.0, + 17.0, + 18.0 + ], + "to": [ + 24.0, + 18.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -6.0, + 17.0, + -10.0 + ], + "to": [ + 4.0, + 18.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10.0, + 1.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 10.0, + 1.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 10.0, + 6.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 10.0, + 6.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -14.0, + 0.0, + -14.0 + ], + "to": [ + -10.0, + 10.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#track" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#track" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#track" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#track" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#track" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#track" + } + } + }, + { + "from": [ + 26.0, + 0.0, + -14.0 + ], + "to": [ + 30.0, + 10.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#track" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#track" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#track" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#track" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#track" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#track" + } + } + }, + { + "from": [ + -14.5, + 6.0, + -14.0 + ], + "to": [ + -10.0, + 11.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 5.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 5.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + 26.0, + 6.0, + -14.0 + ], + "to": [ + 30.5, + 11.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 5.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 5.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#flecktarn" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/gepard_turret.json b/airdef-mod/assets/airdef/models/block/gepard_turret.json new file mode 100644 index 0000000..818d214 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/gepard_turret.json @@ -0,0 +1,283 @@ +{ + "ambientocclusion": false, + "textures": { + "flecktarn": "airdef:block/flecktarn", + "radar_face": "airdef:block/radar_face", + "metal": "airdef:block/metal", + "particle": "airdef:block/flecktarn" + }, + "elements": [ + { + "from": [ + -4.0, + 0.0, + -6.0 + ], + "to": [ + 20.0, + 12.0, + 16.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + -2.0, + 12.0, + -2.0 + ], + "to": [ + 18.0, + 14.0, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#flecktarn" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#flecktarn" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#flecktarn" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#flecktarn" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#flecktarn" + } + } + }, + { + "from": [ + 3.0, + 4.0, + -10.0 + ], + "to": [ + 13.0, + 12.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10.0, + 8.0 + ], + "texture": "#radar_face" + }, + "south": { + "uv": [ + 0, + 0, + 10.0, + 8.0 + ], + "texture": "#radar_face" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 8.0 + ], + "texture": "#radar_face" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 8.0 + ], + "texture": "#radar_face" + }, + "up": { + "uv": [ + 0, + 0, + 10.0, + 4.0 + ], + "texture": "#radar_face" + }, + "down": { + "uv": [ + 0, + 0, + 10.0, + 4.0 + ], + "texture": "#radar_face" + } + } + }, + { + "from": [ + 7.0, + 14.0, + 10.0 + ], + "to": [ + 9.0, + 18.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/geran3.json b/airdef-mod/assets/airdef/models/block/geran3.json new file mode 100644 index 0000000..22d0981 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/geran3.json @@ -0,0 +1,1168 @@ +{ + "ambientocclusion": false, + "textures": { + "geran": "airdef:block/geran", + "geran_engine": "airdef:block/geran_engine", + "intake": "airdef:block/intake", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/geran" + }, + "elements": [ + { + "from": [ + 6.5, + 6.5, + -16.0 + ], + "to": [ + 9.5, + 9.5, + -13.666666666666666 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 2.333333333333334, + 3.0 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 2.333333333333334, + 3.0 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 2.333333333333334 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 2.333333333333334 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 6.0, + 6.0, + -13.666666666666666 + ], + "to": [ + 10.0, + 10.0, + -11.333333333333332 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 2.333333333333334, + 4.0 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 2.333333333333334, + 4.0 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 2.333333333333334 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 2.333333333333334 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 5.5, + 5.5, + -11.333333333333332 + ], + "to": [ + 10.5, + 10.5, + -9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 2.333333333333332, + 5.0 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 2.333333333333332, + 5.0 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 2.333333333333332 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 2.333333333333332 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 5.0, + 5.0, + -9.0 + ], + "to": [ + 11.0, + 11.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 5.75, + 7.2, + 0.0 + ], + "to": [ + 10.25, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 3.5, + 7.2, + 2.5 + ], + "to": [ + 12.5, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.0, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 9.0, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 9.0, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 9.0, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 1.25, + 7.2, + 5.0 + ], + "to": [ + 14.75, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 13.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 13.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 13.5, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 13.5, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -1.0, + 7.2, + 7.5 + ], + "to": [ + 17.0, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -3.25, + 7.2, + 10.0 + ], + "to": [ + 19.25, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -5.5, + 7.2, + 12.5 + ], + "to": [ + 21.5, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 13.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 13.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 13.5 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 13.5 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -7.75, + 7.2, + 15.0 + ], + "to": [ + 23.75, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 11.0, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 11.0, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 11.0 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 11.0 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -10.0, + 7.2, + 17.5 + ], + "to": [ + 26.0, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 8.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 8.5, + 1.2000000000000002 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 8.5 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 8.5 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + -10.6, + 6.5, + 18.0 + ], + "to": [ + -9.6, + 13.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 6.5 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 6.5 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 8.0 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 8.0 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 25.6, + 6.5, + 18.0 + ], + "to": [ + 26.6, + 13.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#geran" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#geran" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 6.5 + ], + "texture": "#geran" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 6.5 + ], + "texture": "#geran" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 8.0 + ], + "texture": "#geran" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 8.0 + ], + "texture": "#geran" + } + } + }, + { + "from": [ + 4.5, + 11.0, + 6.0 + ], + "to": [ + 11.5, + 16.0, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 5.0 + ], + "texture": "#geran_engine" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 5.0 + ], + "texture": "#geran_engine" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#geran_engine" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#geran_engine" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#geran_engine" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#geran_engine" + } + } + }, + { + "from": [ + 5.0, + 11.5, + 5.0 + ], + "to": [ + 11.0, + 15.5, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#intake" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#intake" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 4.0 + ], + "texture": "#intake" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 4.0 + ], + "texture": "#intake" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#intake" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#intake" + } + } + }, + { + "from": [ + 5.5, + 11.5, + 28.0 + ], + "to": [ + 10.5, + 15.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/geran3_flame.json b/airdef-mod/assets/airdef/models/block/geran3_flame.json new file mode 100644 index 0000000..796b687 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/geran3_flame.json @@ -0,0 +1,349 @@ +{ + "ambientocclusion": false, + "textures": { + "flame": "airdef:block/flame", + "particle": "airdef:block/flame" + }, + "elements": [ + { + "from": [ + 6.15, + 6.15, + 6.0 + ], + "to": [ + 9.85, + 9.85, + 9.6 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.6999999999999993, + 3.6999999999999993 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 3.6999999999999993, + 3.6999999999999993 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 3.5999999999999996, + 3.6999999999999993 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 3.5999999999999996, + 3.6999999999999993 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 3.6999999999999993, + 3.5999999999999996 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 3.6999999999999993, + 3.5999999999999996 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.45, + 6.45, + 9.6 + ], + "to": [ + 9.55, + 9.55, + 13.2 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.1000000000000005, + 3.1000000000000005 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 3.1000000000000005, + 3.1000000000000005 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 3.5999999999999996, + 3.1000000000000005 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 3.5999999999999996, + 3.1000000000000005 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 3.1000000000000005, + 3.5999999999999996 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 3.1000000000000005, + 3.5999999999999996 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 6.75, + 6.75, + 13.2 + ], + "to": [ + 9.25, + 9.25, + 16.8 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 3.6000000000000014, + 2.5 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 3.6000000000000014, + 2.5 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 3.6000000000000014 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 3.6000000000000014 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 7.05, + 7.05, + 16.8 + ], + "to": [ + 8.95, + 8.95, + 20.4 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.8999999999999995, + 1.8999999999999995 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 1.8999999999999995, + 1.8999999999999995 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 3.599999999999998, + 1.8999999999999995 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 3.599999999999998, + 1.8999999999999995 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 1.8999999999999995, + 3.599999999999998 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 1.8999999999999995, + 3.599999999999998 + ], + "texture": "#flame" + } + } + }, + { + "from": [ + 7.35, + 7.35, + 20.4 + ], + "to": [ + 8.65, + 8.65, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.3000000000000007, + 1.3000000000000007 + ], + "texture": "#flame" + }, + "south": { + "uv": [ + 0, + 0, + 1.3000000000000007, + 1.3000000000000007 + ], + "texture": "#flame" + }, + "east": { + "uv": [ + 0, + 0, + 3.6000000000000014, + 1.3000000000000007 + ], + "texture": "#flame" + }, + "west": { + "uv": [ + 0, + 0, + 3.6000000000000014, + 1.3000000000000007 + ], + "texture": "#flame" + }, + "up": { + "uv": [ + 0, + 0, + 1.3000000000000007, + 3.6000000000000014 + ], + "texture": "#flame" + }, + "down": { + "uv": [ + 0, + 0, + 1.3000000000000007, + 3.6000000000000014 + ], + "texture": "#flame" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/gerbera.json b/airdef-mod/assets/airdef/models/block/gerbera.json new file mode 100644 index 0000000..214b766 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/gerbera.json @@ -0,0 +1,962 @@ +{ + "ambientocclusion": false, + "textures": { + "foam": "airdef:block/foam", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/foam" + }, + "elements": [ + { + "from": [ + 6.583333333333333, + 6.583333333333333, + -15.0 + ], + "to": [ + 9.416666666666666, + 9.416666666666666, + -13.333333333333334 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.833333333333333, + 2.833333333333333 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 2.833333333333333, + 2.833333333333333 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.833333333333333 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.833333333333333 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 2.833333333333333, + 1.666666666666666 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 2.833333333333333, + 1.666666666666666 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 6.25, + 6.25, + -13.333333333333334 + ], + "to": [ + 9.75, + 9.75, + -11.666666666666666 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 3.5 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 3.5 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 1.6666666666666679 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 1.6666666666666679 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 5.916666666666666, + 5.916666666666666, + -11.666666666666666 + ], + "to": [ + 10.083333333333334, + 10.083333333333334, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.166666666666668, + 4.166666666666668 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 4.166666666666668, + 4.166666666666668 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 4.166666666666668 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 4.166666666666668 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 4.166666666666668, + 1.666666666666666 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 4.166666666666668, + 1.666666666666666 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 5.8, + 5.8, + -10.0 + ], + "to": [ + 10.2, + 10.2, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.3999999999999995, + 4.3999999999999995 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 4.3999999999999995, + 4.3999999999999995 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.3999999999999995 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.3999999999999995 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 4.3999999999999995, + 16 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 4.3999999999999995, + 16 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 5.571428571428571, + 7.3, + 0.0 + ], + "to": [ + 10.428571428571429, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.857142857142858, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 4.857142857142858, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 4.857142857142858, + 16 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 4.857142857142858, + 16 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 3.1428571428571432, + 7.3, + 2.5714285714285716 + ], + "to": [ + 12.857142857142858, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.714285714285715, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 9.714285714285715, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 9.714285714285715, + 16 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 9.714285714285715, + 16 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 0.7142857142857144, + 7.3, + 5.142857142857143 + ], + "to": [ + 15.285714285714285, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 14.57142857142857, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 14.57142857142857, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 14.57142857142857, + 16 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 14.57142857142857, + 16 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + -1.7142857142857135, + 7.3, + 7.714285714285714 + ], + "to": [ + 17.714285714285715, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 14.285714285714285, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 14.285714285714285, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 14.285714285714285 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 14.285714285714285 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + -4.142857142857142, + 7.3, + 10.285714285714286 + ], + "to": [ + 20.142857142857142, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 11.714285714285714, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 11.714285714285714, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 11.714285714285714 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 11.714285714285714 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + -6.571428571428571, + 7.3, + 12.857142857142858 + ], + "to": [ + 22.57142857142857, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 9.142857142857142, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 9.142857142857142, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 9.142857142857142 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 9.142857142857142 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + -9.0, + 7.3, + 15.428571428571429 + ], + "to": [ + 25.0, + 8.5, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 6.571428571428571, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 6.571428571428571, + 1.2000000000000002 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.571428571428571 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.571428571428571 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + -9.6, + 6.5, + 15.0 + ], + "to": [ + -8.6, + 13.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 6.5 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 6.5 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 24.6, + 6.5, + 15.0 + ], + "to": [ + 25.6, + 13.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#foam" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.5 + ], + "texture": "#foam" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 6.5 + ], + "texture": "#foam" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 6.5 + ], + "texture": "#foam" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#foam" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#foam" + } + } + }, + { + "from": [ + 6.5, + 6.5, + 20.0 + ], + "to": [ + 9.5, + 9.5, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 4.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/iskander.json b/airdef-mod/assets/airdef/models/block/iskander.json new file mode 100644 index 0000000..d58530d --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/iskander.json @@ -0,0 +1,827 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_khaki": "airdef:block/ru_khaki", + "dark_metal": "airdef:block/dark_metal", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/ru_khaki" + }, + "elements": [ + { + "from": [ + 6.975, + 6.975, + -16.0 + ], + "to": [ + 9.025, + 9.025, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0500000000000007, + 2.0500000000000007 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 2.0500000000000007, + 2.0500000000000007 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.0500000000000007 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.0500000000000007 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 2.0500000000000007, + 2.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 2.0500000000000007, + 2.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 6.425, + 6.425, + -14.0 + ], + "to": [ + 9.575, + 9.575, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.1499999999999995, + 3.1499999999999995 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 3.1499999999999995, + 3.1499999999999995 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.1499999999999995 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.1499999999999995 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 3.1499999999999995, + 2.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 3.1499999999999995, + 2.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 5.875, + 5.875, + -12.0 + ], + "to": [ + 10.125, + 10.125, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 4.25, + 4.25 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.25 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.25 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 4.25, + 2.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 4.25, + 2.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 5.325, + 5.325, + -10.0 + ], + "to": [ + 10.675, + 10.675, + -8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.3500000000000005, + 5.3500000000000005 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 5.3500000000000005, + 5.3500000000000005 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 5.3500000000000005 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 5.3500000000000005 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 5.3500000000000005, + 2.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 5.3500000000000005, + 2.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 4.775, + 4.775, + -8.0 + ], + "to": [ + 11.225, + 11.225, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.449999999999999, + 6.449999999999999 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 6.449999999999999, + 6.449999999999999 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 6.449999999999999 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 6.449999999999999 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 6.449999999999999, + 2.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 6.449999999999999, + 2.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 4.5, + 4.5, + -6.0 + ], + "to": [ + 11.5, + 11.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 4.4, + 4.4, + 4.0 + ], + "to": [ + 11.6, + 11.6, + 5.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.199999999999999, + 7.199999999999999 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 7.199999999999999, + 7.199999999999999 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 7.199999999999999 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 7.199999999999999 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 7.199999999999999, + 1.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 7.199999999999999, + 1.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 5.0, + 5.0, + 30.0 + ], + "to": [ + 11.0, + 11.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 1.0, + 7.5, + 24.0 + ], + "to": [ + 4.5, + 8.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 1.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 1.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 6.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 6.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 11.5, + 7.5, + 24.0 + ], + "to": [ + 15.0, + 8.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 1.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 1.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 1.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 6.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 6.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 7.5, + 1.0, + 24.0 + ], + "to": [ + 8.5, + 4.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 7.5, + 11.5, + 24.0 + ], + "to": [ + 8.5, + 15.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 3.5 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#ru_khaki" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/kalibr.json b/airdef-mod/assets/airdef/models/block/kalibr.json new file mode 100644 index 0000000..b483de9 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/kalibr.json @@ -0,0 +1,622 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_grey": "airdef:block/missile_grey", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/missile_grey" + }, + "elements": [ + { + "from": [ + 7.0, + 7.0, + -16.0 + ], + "to": [ + 9.0, + 9.0, + -14.333333333333334 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 1.666666666666666 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 1.666666666666666 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.5, + 6.5, + -14.333333333333334 + ], + "to": [ + 9.5, + 9.5, + -12.666666666666666 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 3.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 3.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 1.6666666666666679 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 1.6666666666666679 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.0, + 6.0, + -12.666666666666666 + ], + "to": [ + 10.0, + 10.0, + -11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 4.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 4.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 1.666666666666666 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 1.666666666666666 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 5.75, + 5.75, + -11.0 + ], + "to": [ + 10.25, + 10.25, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 4.5 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 4.5 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.5 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.5 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 16 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + -6.0, + 7.6, + 6.0 + ], + "to": [ + 22.0, + 8.4, + 11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 7.6, + 10.25, + 25.0 + ], + "to": [ + 8.4, + 14.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 3.75 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 3.75 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 3.75 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 3.75 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.5, + 3.0, + 18.0 + ], + "to": [ + 9.5, + 5.75, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 2.75 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 2.75 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 2.75 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 2.75 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 2.0, + 7.6, + 26.0 + ], + "to": [ + 5.75, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.75, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.75, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.75, + 4.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.75, + 4.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 10.25, + 7.6, + 26.0 + ], + "to": [ + 14.0, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.75, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.75, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 0.8000000000000007 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.75, + 4.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.75, + 4.0 + ], + "texture": "#missile_grey" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/kh101.json b/airdef-mod/assets/airdef/models/block/kh101.json new file mode 100644 index 0000000..cba3536 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/kh101.json @@ -0,0 +1,897 @@ +{ + "ambientocclusion": false, + "textures": { + "kh101": "airdef:block/kh101", + "kh101_belly": "airdef:block/kh101_belly", + "dark_metal": "airdef:block/dark_metal", + "intake": "airdef:block/intake", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/kh101" + }, + "elements": [ + { + "from": [ + 6.75, + 6.34375, + -16.0 + ], + "to": [ + 9.25, + 8.65625, + -14.25 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.3125 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.3125 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 1.75, + 2.3125 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 1.75, + 2.3125 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 1.75 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 1.75 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 6.25, + 6.03125, + -14.25 + ], + "to": [ + 9.75, + 8.96875, + -12.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 2.9375 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 2.9375 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 1.75, + 2.9375 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 1.75, + 2.9375 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 1.75 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 1.75 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 5.75, + 5.71875, + -12.5 + ], + "to": [ + 10.25, + 9.28125, + -10.75 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 3.5625 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 3.5625 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 1.75, + 3.5625 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 1.75, + 3.5625 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 1.75 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 1.75 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 5.25, + 5.40625, + -10.75 + ], + "to": [ + 10.75, + 9.59375, + -9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.5, + 4.1875 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 5.5, + 4.1875 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 1.75, + 4.1875 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 1.75, + 4.1875 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 5.5, + 1.75 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 5.5, + 1.75 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 5.0, + 5.5, + -9.0 + ], + "to": [ + 11.0, + 8.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 2.5 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 2.5 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#kh101_belly" + } + } + }, + { + "from": [ + 6.0, + 8.0, + -6.0 + ], + "to": [ + 10.0, + 10.5, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 2.5 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 2.5 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + -12.0, + 7.1, + 4.0 + ], + "to": [ + 28.0, + 7.7, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 7.6, + 10.5, + 24.0 + ], + "to": [ + 8.4, + 15.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.5 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.5 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 4.5 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 4.5 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 1.0, + 7.2, + 25.0 + ], + "to": [ + 6.0, + 7.8, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 10.0, + 7.2, + 25.0 + ], + "to": [ + 15.0, + 7.8, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 0.5999999999999996 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 6.0, + 2.0, + 15.0 + ], + "to": [ + 10.0, + 5.5, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 13.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 13.0, + 3.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 13.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 13.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 6.5, + 2.5, + 14.0 + ], + "to": [ + 9.5, + 5.0, + 15.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 2.5 + ], + "texture": "#intake" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 2.5 + ], + "texture": "#intake" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 2.5 + ], + "texture": "#intake" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 2.5 + ], + "texture": "#intake" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 1.0 + ], + "texture": "#intake" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 1.0 + ], + "texture": "#intake" + } + } + }, + { + "from": [ + 6.5, + 2.5, + 28.0 + ], + "to": [ + 9.5, + 5.0, + 29.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 2.5 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 2.5 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 1.5, + 2.5 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 1.5, + 2.5 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 1.5 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 1.5 + ], + "texture": "#nozzle" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/kh22.json b/airdef-mod/assets/airdef/models/block/kh22.json new file mode 100644 index 0000000..14f9443 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/kh22.json @@ -0,0 +1,894 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_ru": "airdef:block/missile_ru", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/missile_ru" + }, + "elements": [ + { + "from": [ + 6.96875, + 6.96875, + -16.0 + ], + "to": [ + 9.03125, + 9.03125, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0625, + 2.0625 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 2.0625, + 2.0625 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.0625 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.0625 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 2.0625, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 2.0625, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.40625, + 6.40625, + -14.0 + ], + "to": [ + 9.59375, + 9.59375, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.1875, + 3.1875 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 3.1875, + 3.1875 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.1875 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.1875 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 3.1875, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 3.1875, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 5.84375, + 5.84375, + -12.0 + ], + "to": [ + 10.15625, + 10.15625, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.3125, + 4.3125 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 4.3125, + 4.3125 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.3125 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.3125 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 4.3125, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 4.3125, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 5.28125, + 5.28125, + -10.0 + ], + "to": [ + 10.71875, + 10.71875, + -8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.4375, + 5.4375 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 5.4375, + 5.4375 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 5.4375 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 5.4375 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 5.4375, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 5.4375, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 5.0, + 5.0, + -8.0 + ], + "to": [ + 11.0, + 11.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.5, + 11.0, + 14.0 + ], + "to": [ + 8.5, + 17.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.5, + -1.0, + 18.0 + ], + "to": [ + 8.5, + 5.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 12.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 12.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 5.5, + 5.5, + 30.0 + ], + "to": [ + 10.5, + 10.5, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 5.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 5.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 5.6, + 7.6, + 4.0 + ], + "to": [ + 10.4, + 8.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.800000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 4.800000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 4.800000000000001, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 4.800000000000001, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 3.2, + 7.6, + 7.6 + ], + "to": [ + 12.8, + 8.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.600000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 9.600000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 9.600000000000001, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 9.600000000000001, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 0.7999999999999998, + 7.6, + 11.2 + ], + "to": [ + 15.2, + 8.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 14.399999999999999, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 14.399999999999999, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 14.399999999999999, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 14.399999999999999, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + -1.5999999999999996, + 7.6, + 14.8 + ], + "to": [ + 17.6, + 8.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 13.2, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 13.2, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 13.2 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 13.2 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + -4.0, + 7.6, + 18.4 + ], + "to": [ + 20.0, + 8.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 9.600000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 9.600000000000001, + 0.8000000000000007 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 9.600000000000001 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 9.600000000000001 + ], + "texture": "#missile_ru" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/kinzhal.json b/airdef-mod/assets/airdef/models/block/kinzhal.json new file mode 100644 index 0000000..d10b956 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/kinzhal.json @@ -0,0 +1,759 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_grey": "airdef:block/missile_grey", + "dark_metal": "airdef:block/dark_metal", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/missile_grey" + }, + "elements": [ + { + "from": [ + 6.9375, + 6.9375, + -16.0 + ], + "to": [ + 9.0625, + 9.0625, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.125, + 2.125 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 2.125, + 2.125 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.125 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.125 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 2.125, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 2.125, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.3125, + 6.3125, + -14.0 + ], + "to": [ + 9.6875, + 9.6875, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.375, + 3.375 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.375, + 3.375 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.375 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.375 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.375, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.375, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 5.6875, + 5.6875, + -12.0 + ], + "to": [ + 10.3125, + 10.3125, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.625, + 4.625 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 4.625, + 4.625 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.625 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.625 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 4.625, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 4.625, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 5.0625, + 5.0625, + -10.0 + ], + "to": [ + 10.9375, + 10.9375, + -8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.875, + 5.875 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 5.875, + 5.875 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 5.875 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 5.875 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 5.875, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 5.875, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 4.75, + 4.75, + -8.0 + ], + "to": [ + 11.25, + 11.25, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.5, + 6.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 6.5, + 6.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 6.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 6.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 6.5, + 16 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 6.5, + 16 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 4.6, + 4.6, + -4.0 + ], + "to": [ + 11.4, + 11.4, + -3.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.800000000000001, + 6.800000000000001 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 6.800000000000001, + 6.800000000000001 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 6.800000000000001 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 6.800000000000001 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 6.800000000000001, + 1.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 6.800000000000001, + 1.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 5.5, + 5.5, + 30.0 + ], + "to": [ + 10.5, + 10.5, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 5.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 5.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 0.0, + 7.6, + 22.0 + ], + "to": [ + 4.75, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.75, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.75, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 11.25, + 7.6, + 22.0 + ], + "to": [ + 16.0, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.75, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.75, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 7.6, + 0.0, + 22.0 + ], + "to": [ + 8.4, + 4.75, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.75 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.75 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 7.6, + 11.25, + 22.0 + ], + "to": [ + 8.4, + 16.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.75 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.75 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/lancet.json b/airdef-mod/assets/airdef/models/block/lancet.json new file mode 100644 index 0000000..b6a3f9b --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/lancet.json @@ -0,0 +1,727 @@ +{ + "ambientocclusion": false, + "textures": { + "lancet": "airdef:block/lancet", + "intake": "airdef:block/intake", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/lancet" + }, + "elements": [ + { + "from": [ + 6.875, + 6.875, + -16.0 + ], + "to": [ + 9.125, + 9.125, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.25 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.25 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 2.25, + 2.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 2.25, + 2.0 + ], + "texture": "#lancet" + } + } + }, + { + "from": [ + 6.625, + 6.625, + -14.0 + ], + "to": [ + 9.375, + 9.375, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.75, + 2.75 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 2.75, + 2.75 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.75 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.75 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 2.75, + 2.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 2.75, + 2.0 + ], + "texture": "#lancet" + } + } + }, + { + "from": [ + 6.375, + 6.375, + -12.0 + ], + "to": [ + 9.625, + 9.625, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.25, + 3.25 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 3.25, + 3.25 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.25 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.25 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 3.25, + 2.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 3.25, + 2.0 + ], + "texture": "#lancet" + } + } + }, + { + "from": [ + 6.2, + 6.2, + -10.0 + ], + "to": [ + 9.8, + 9.8, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.6000000000000005, + 3.6000000000000005 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 3.6000000000000005, + 3.6000000000000005 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 3.6000000000000005 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 3.6000000000000005 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 3.6000000000000005, + 16 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 3.6000000000000005, + 16 + ], + "texture": "#lancet" + } + } + }, + { + "from": [ + 6.8, + 4.8, + -9.0 + ], + "to": [ + 9.2, + 6.2, + -5.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 1.4000000000000004 + ], + "texture": "#intake" + }, + "south": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 1.4000000000000004 + ], + "texture": "#intake" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 1.4000000000000004 + ], + "texture": "#intake" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 1.4000000000000004 + ], + "texture": "#intake" + }, + "up": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 4.0 + ], + "texture": "#intake" + }, + "down": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 4.0 + ], + "texture": "#intake" + } + } + }, + { + "from": [ + -5.0, + 7.7, + -5.0 + ], + "to": [ + 21.0, + 8.3, + 1.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + } + }, + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8.0, + 8.0, + -2.0 + ] + } + }, + { + "from": [ + -5.0, + 7.7, + -5.0 + ], + "to": [ + 21.0, + 8.3, + 1.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + } + }, + "rotation": { + "angle": -45, + "axis": "z", + "origin": [ + 8.0, + 8.0, + -2.0 + ] + } + }, + { + "from": [ + -3.0, + 7.7, + 12.0 + ], + "to": [ + 19.0, + 8.3, + 18.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + } + }, + "rotation": { + "angle": 45, + "axis": "z", + "origin": [ + 8.0, + 8.0, + 15.0 + ] + } + }, + { + "from": [ + -3.0, + 7.7, + 12.0 + ], + "to": [ + 19.0, + 8.3, + 18.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#lancet" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#lancet" + } + }, + "rotation": { + "angle": -45, + "axis": "z", + "origin": [ + 8.0, + 8.0, + 15.0 + ] + } + }, + { + "from": [ + 6.8, + 6.8, + 20.0 + ], + "to": [ + 9.2, + 9.2, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 2.3999999999999995 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 2.3999999999999995 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.3999999999999995 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.3999999999999995 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 2.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.3999999999999995, + 2.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/m48n6.json b/airdef-mod/assets/airdef/models/block/m48n6.json new file mode 100644 index 0000000..75b6cca --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/m48n6.json @@ -0,0 +1,622 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_ru": "airdef:block/missile_ru", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/missile_ru" + }, + "elements": [ + { + "from": [ + 7.291666666666667, + 7.291666666666667, + -16.0 + ], + "to": [ + 8.708333333333334, + 8.708333333333334, + -14.333333333333334 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.416666666666667, + 1.416666666666667 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 1.416666666666667, + 1.416666666666667 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 1.416666666666667 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 1.416666666666667 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 1.416666666666667, + 1.666666666666666 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 1.416666666666667, + 1.666666666666666 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.875, + 6.875, + -14.333333333333334 + ], + "to": [ + 9.125, + 9.125, + -12.666666666666666 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 2.25, + 2.25 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 2.25 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 2.25 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 2.25, + 1.6666666666666679 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 2.25, + 1.6666666666666679 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.458333333333333, + 6.458333333333333, + -12.666666666666666 + ], + "to": [ + 9.541666666666666, + 9.541666666666666, + -11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.083333333333333, + 3.083333333333333 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 3.083333333333333, + 3.083333333333333 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 3.083333333333333 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 3.083333333333333 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 3.083333333333333, + 1.666666666666666 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 3.083333333333333, + 1.666666666666666 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.25, + 6.25, + -11.0 + ], + "to": [ + 9.75, + 9.75, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 3.5 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 3.5 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.5, + 6.5, + 28.0 + ], + "to": [ + 9.5, + 9.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 1.5, + 7.7, + 20.0 + ], + "to": [ + 6.25, + 8.3, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.75, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 4.75, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 9.75, + 7.7, + 20.0 + ], + "to": [ + 14.5, + 8.3, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.75, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 4.75, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.6000000000000005 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 4.75, + 8.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.7, + 1.5, + 20.0 + ], + "to": [ + 8.3, + 6.25, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 4.75 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 4.75 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 8.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 8.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.7, + 9.75, + 20.0 + ], + "to": [ + 8.3, + 14.5, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 4.75 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 4.75 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 4.75 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 8.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 8.0 + ], + "texture": "#missile_ru" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/m57e6.json b/airdef-mod/assets/airdef/models/block/m57e6.json new file mode 100644 index 0000000..95ec2c4 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/m57e6.json @@ -0,0 +1,554 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_ru": "airdef:block/missile_ru", + "booster": "airdef:block/booster", + "particle": "airdef:block/missile_ru" + }, + "elements": [ + { + "from": [ + 7.5625, + 7.5625, + -16.0 + ], + "to": [ + 8.4375, + 8.4375, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.875, + 0.875 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 0.875, + 0.875 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 0.875 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 0.875 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 0.875, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 0.875, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.1875, + 7.1875, + -14.0 + ], + "to": [ + 8.8125, + 8.8125, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.625, + 1.625 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 1.625, + 1.625 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 1.625 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 1.625 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 1.625, + 2.0 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 1.625, + 2.0 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 7.0, + 7.0, + -12.0 + ], + "to": [ + 9.0, + 9.0, + 4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile_ru" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile_ru" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#missile_ru" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#missile_ru" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#missile_ru" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#missile_ru" + } + } + }, + { + "from": [ + 6.4, + 6.4, + 4.0 + ], + "to": [ + 9.6, + 9.6, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.1999999999999993, + 3.1999999999999993 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 3.1999999999999993, + 3.1999999999999993 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 3.1999999999999993 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 3.1999999999999993 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 3.1999999999999993, + 16 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 3.1999999999999993, + 16 + ], + "texture": "#booster" + } + } + }, + { + "from": [ + 3.5, + 7.7, + 22.0 + ], + "to": [ + 6.4, + 8.3, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 6.0 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 6.0 + ], + "texture": "#booster" + } + } + }, + { + "from": [ + 9.6, + 7.7, + 22.0 + ], + "to": [ + 12.5, + 8.3, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 6.0 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 2.9000000000000004, + 6.0 + ], + "texture": "#booster" + } + } + }, + { + "from": [ + 7.7, + 3.5, + 22.0 + ], + "to": [ + 8.3, + 6.4, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#booster" + } + } + }, + { + "from": [ + 7.7, + 9.6, + 22.0 + ], + "to": [ + 8.3, + 12.5, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 2.9000000000000004 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#booster" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/m77n6.json b/airdef-mod/assets/airdef/models/block/m77n6.json new file mode 100644 index 0000000..662ae24 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/m77n6.json @@ -0,0 +1,691 @@ +{ + "ambientocclusion": false, + "textures": { + "missile_grey": "airdef:block/missile_grey", + "booster": "airdef:block/booster", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/missile_grey" + }, + "elements": [ + { + "from": [ + 7.25, + 7.25, + -16.0 + ], + "to": [ + 8.75, + 8.75, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 1.5 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 1.5 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.75, + 6.75, + -14.0 + ], + "to": [ + 9.25, + 9.25, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.5 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.5 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.25, + 6.25, + -12.0 + ], + "to": [ + 9.75, + 9.75, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 3.5 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.5 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.5 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 2.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 2.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.0, + 6.0, + -10.0 + ], + "to": [ + 10.0, + 10.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 6.0, + 6.0, + 4.0 + ], + "to": [ + 10.0, + 10.0, + 5.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#booster" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#booster" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 4.0 + ], + "texture": "#booster" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 4.0 + ], + "texture": "#booster" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#booster" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#booster" + } + } + }, + { + "from": [ + 6.5, + 6.5, + 30.0 + ], + "to": [ + 9.5, + 9.5, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 3.0, + 7.7, + 24.0 + ], + "to": [ + 6.0, + 8.3, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 10.0, + 7.7, + 24.0 + ], + "to": [ + 13.0, + 8.3, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.6000000000000005 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 7.7, + 3.0, + 24.0 + ], + "to": [ + 8.3, + 6.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 3.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 3.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#missile_grey" + } + } + }, + { + "from": [ + 7.7, + 10.0, + 24.0 + ], + "to": [ + 8.3, + 13.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 3.0 + ], + "texture": "#missile_grey" + }, + "south": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 3.0 + ], + "texture": "#missile_grey" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#missile_grey" + }, + "up": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#missile_grey" + }, + "down": { + "uv": [ + 0, + 0, + 0.6000000000000005, + 6.0 + ], + "texture": "#missile_grey" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/pac3.json b/airdef-mod/assets/airdef/models/block/pac3.json new file mode 100644 index 0000000..bcb9d36 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/pac3.json @@ -0,0 +1,758 @@ +{ + "ambientocclusion": false, + "textures": { + "missile": "airdef:block/missile", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/missile" + }, + "elements": [ + { + "from": [ + 7.333333333333333, + 7.333333333333333, + -16.0 + ], + "to": [ + 8.666666666666666, + 8.666666666666666, + -14.333333333333334 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.333333333333333, + 1.333333333333333 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 1.333333333333333, + 1.333333333333333 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 1.333333333333333 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 1.333333333333333 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 1.333333333333333, + 1.666666666666666 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 1.333333333333333, + 1.666666666666666 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 7.0, + 7.0, + -14.333333333333334 + ], + "to": [ + 9.0, + 9.0, + -12.666666666666666 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 2.0 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 1.6666666666666679, + 2.0 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 1.6666666666666679 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 1.6666666666666679 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 6.666666666666666, + 6.666666666666666, + -12.666666666666666 + ], + "to": [ + 9.333333333333334, + 9.333333333333334, + -11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.666666666666668, + 2.666666666666668 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 2.666666666666668, + 2.666666666666668 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.666666666666668 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 1.666666666666666, + 2.666666666666668 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 2.666666666666668, + 1.666666666666666 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 2.666666666666668, + 1.666666666666666 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 6.5, + 6.5, + -11.0 + ], + "to": [ + 9.5, + 9.5, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 3.0, + 3.0 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 3.0, + 16 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 3.0, + 16 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 1.5, + 7.6, + 20.0 + ], + "to": [ + 6.5, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 6.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 6.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 9.5, + 7.6, + 20.0 + ], + "to": [ + 14.5, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 0.8000000000000007 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 6.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 6.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 7.6, + 1.5, + 20.0 + ], + "to": [ + 8.4, + 6.5, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 5.0 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 5.0 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 7.6, + 9.5, + 20.0 + ], + "to": [ + 8.4, + 14.5, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 5.0 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 5.0 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 5.0 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 6.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 4.5, + 7.7, + -6.0 + ], + "to": [ + 6.5, + 8.3, + -2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 9.5, + 7.7, + -6.0 + ], + "to": [ + 11.5, + 8.3, + -2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 0.6000000000000005 + ], + "texture": "#missile" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#missile" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#missile" + } + } + }, + { + "from": [ + 7.0, + 7.0, + 26.0 + ], + "to": [ + 9.0, + 9.0, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#nozzle" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/pantsir_dish.json b/airdef-mod/assets/airdef/models/block/pantsir_dish.json new file mode 100644 index 0000000..0fa5c7e --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/pantsir_dish.json @@ -0,0 +1,215 @@ +{ + "ambientocclusion": false, + "textures": { + "radar_face": "airdef:block/radar_face", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "particle": "airdef:block/radar_face" + }, + "elements": [ + { + "from": [ + -6.0, + 2.0, + 7.0 + ], + "to": [ + 22.0, + 16.0, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#radar_face" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#radar_face" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 14.0 + ], + "texture": "#radar_face" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 14.0 + ], + "texture": "#radar_face" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#radar_face" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#radar_face" + } + } + }, + { + "from": [ + -6.5, + 1.5, + 9.0 + ], + "to": [ + 22.5, + 16.5, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 7.0, + -8.0, + 8.0 + ], + "to": [ + 9.0, + 2.0, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 10.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 10.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 10.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 10.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/pantsir_pack.json b/airdef-mod/assets/airdef/models/block/pantsir_pack.json new file mode 100644 index 0000000..86474cd --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/pantsir_pack.json @@ -0,0 +1,556 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_green": "airdef:block/ru_green", + "tubes6": "airdef:block/tubes6", + "barrel": "airdef:block/barrel", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/ru_green" + }, + "elements": [ + { + "from": [ + -11.0, + 2.0, + -16.0 + ], + "to": [ + -3.0, + 12.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 8.0, + 10.0 + ], + "texture": "#tubes6" + }, + "south": { + "uv": [ + 0, + 0, + 8.0, + 10.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + 19.0, + 2.0, + -16.0 + ], + "to": [ + 27.0, + 12.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 8.0, + 10.0 + ], + "texture": "#tubes6" + }, + "south": { + "uv": [ + 0, + 0, + 8.0, + 10.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 8.0, + 16 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -9.5, + 12.5, + -16.0 + ], + "to": [ + -8.0, + 14.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + 24.0, + 12.5, + -16.0 + ], + "to": [ + 25.5, + 14.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + -6.5, + 12.5, + -16.0 + ], + "to": [ + -5.0, + 14.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + 21.0, + 12.5, + -16.0 + ], + "to": [ + 22.5, + 14.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.5 + ], + "texture": "#barrel" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.5 + ], + "texture": "#barrel" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 16 + ], + "texture": "#barrel" + } + } + }, + { + "from": [ + -10.0, + 12.0, + 2.0 + ], + "to": [ + -4.0, + 15.0, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 20.0, + 12.0, + 2.0 + ], + "to": [ + 26.0, + 15.0, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 8.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/pantsir_truck.json b/airdef-mod/assets/airdef/models/block/pantsir_truck.json new file mode 100644 index 0000000..941791c --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/pantsir_truck.json @@ -0,0 +1,964 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_green": "airdef:block/ru_green", + "glass": "airdef:block/glass", + "dark_metal": "airdef:block/dark_metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/ru_green" + }, + "elements": [ + { + "from": [ + -6.0, + 5.0, + -16.0 + ], + "to": [ + 22.0, + 9.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -6.0, + 9.0, + -16.0 + ], + "to": [ + 22.0, + 21.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 12.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 12.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 12.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -5.0, + 13.0, + -16.0 + ], + "to": [ + 21.0, + 20.0, + -15.9 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#glass" + }, + "east": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "west": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 0.25 + ], + "texture": "#glass" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 0.25 + ], + "texture": "#glass" + } + } + }, + { + "from": [ + -5.0, + 9.0, + -5.0 + ], + "to": [ + 21.0, + 18.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 9.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 9.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 11.0, + 9.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 11.0, + 9.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 11.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 11.0 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -4.0, + 9.0, + 8.0 + ], + "to": [ + 20.0, + 12.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -6.5, + 3.0, + 26.0 + ], + "to": [ + 22.5, + 6.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -13.0 + ], + "to": [ + -5.5, + 9.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -13.0 + ], + "to": [ + 25.0, + 9.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -4.0 + ], + "to": [ + -5.5, + 9.0, + 3.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -4.0 + ], + "to": [ + 25.0, + 9.0, + 3.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 16.0 + ], + "to": [ + -5.5, + 9.0, + 23.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 16.0 + ], + "to": [ + 25.0, + 9.0, + 23.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 24.0 + ], + "to": [ + -5.5, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 24.0 + ], + "to": [ + 25.0, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/pantsir_turret.json b/airdef-mod/assets/airdef/models/block/pantsir_turret.json new file mode 100644 index 0000000..3647f60 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/pantsir_turret.json @@ -0,0 +1,283 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_green": "airdef:block/ru_green", + "radar_face": "airdef:block/radar_face", + "metal": "airdef:block/metal", + "particle": "airdef:block/ru_green" + }, + "elements": [ + { + "from": [ + -2.0, + 0.0, + -6.0 + ], + "to": [ + 18.0, + 10.0, + 16.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + 1.0, + 1.0, + -11.0 + ], + "to": [ + 15.0, + 11.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 14.0, + 10.0 + ], + "texture": "#radar_face" + }, + "south": { + "uv": [ + 0, + 0, + 14.0, + 10.0 + ], + "texture": "#radar_face" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 10.0 + ], + "texture": "#radar_face" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 10.0 + ], + "texture": "#radar_face" + }, + "up": { + "uv": [ + 0, + 0, + 14.0, + 5.0 + ], + "texture": "#radar_face" + }, + "down": { + "uv": [ + 0, + 0, + 14.0, + 5.0 + ], + "texture": "#radar_face" + } + } + }, + { + "from": [ + 7.0, + 10.0, + 4.0 + ], + "to": [ + 9.0, + 17.0, + 6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 7.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 7.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 7.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 7.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 0.0, + 10.0, + 8.0 + ], + "to": [ + 16.0, + 12.0, + 16.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 2.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 2.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#ru_green" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/patriot_launcher.json b/airdef-mod/assets/airdef/models/block/patriot_launcher.json new file mode 100644 index 0000000..bee8164 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/patriot_launcher.json @@ -0,0 +1,556 @@ +{ + "ambientocclusion": false, + "textures": { + "canister": "airdef:block/canister", + "canister_front": "airdef:block/canister_front", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "particle": "airdef:block/canister" + }, + "elements": [ + { + "from": [ + -6.0, + 1.0, + -14.0 + ], + "to": [ + 22.0, + 19.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister_front" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#canister" + } + } + }, + { + "from": [ + -6.5, + 9.5, + -14.0 + ], + "to": [ + 22.5, + 10.5, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 7.5, + 1.0, + -14.0 + ], + "to": [ + 8.5, + 19.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -7.0, + 0.0, + 24.0 + ], + "to": [ + 23.0, + 2.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 2.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 2.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -8.0, + 2.0, + -10.0 + ], + "to": [ + -6.0, + 17.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 22.0, + 2.0, + -10.0 + ], + "to": [ + 24.0, + 17.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -8.0, + 2.0, + 20.0 + ], + "to": [ + -6.0, + 17.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 22.0, + 2.0, + 20.0 + ], + "to": [ + 24.0, + 17.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 15.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/patriot_radar.json b/airdef-mod/assets/airdef/models/block/patriot_radar.json new file mode 100644 index 0000000..262252f --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/patriot_radar.json @@ -0,0 +1,420 @@ +{ + "ambientocclusion": false, + "textures": { + "nato_green": "airdef:block/nato_green", + "radar_face": "airdef:block/radar_face", + "metal": "airdef:block/metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/nato_green" + }, + "elements": [ + { + "from": [ + -6.0, + 6.0, + -10.0 + ], + "to": [ + 22.0, + 10.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -4.0, + 10.0, + -6.0 + ], + "to": [ + 20.0, + 26.0, + 8.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 14.0, + 16 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 14.0, + 16 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -5.0, + 12.0, + -7.0 + ], + "to": [ + 21.0, + 30.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#radar_face" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#radar_face" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#radar_face" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#radar_face" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#radar_face" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#radar_face" + } + } + }, + { + "from": [ + -2.0, + 10.0, + 10.0 + ], + "to": [ + 18.0, + 18.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 14.0, + 8.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 14.0, + 8.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 14.0 + ], + "to": [ + -5.5, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 14.0 + ], + "to": [ + 25.0, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/patriot_trailer.json b/airdef-mod/assets/airdef/models/block/patriot_trailer.json new file mode 100644 index 0000000..d92a5bc --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/patriot_trailer.json @@ -0,0 +1,624 @@ +{ + "ambientocclusion": false, + "textures": { + "nato_green": "airdef:block/nato_green", + "metal": "airdef:block/metal", + "dark_metal": "airdef:block/dark_metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/nato_green" + }, + "elements": [ + { + "from": [ + -7.0, + 6.0, + -16.0 + ], + "to": [ + 23.0, + 11.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -1.0, + 11.0, + 14.0 + ], + "to": [ + 17.0, + 16.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -8.0, + 3.0, + -16.0 + ], + "to": [ + 24.0, + 7.0, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -10.0, + 0.0, + 14.0 + ], + "to": [ + -6.5, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 22.5, + 0.0, + 14.0 + ], + "to": [ + 26.0, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -10.0, + 0.0, + 23.0 + ], + "to": [ + -6.5, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 22.5, + 0.0, + 23.0 + ], + "to": [ + 26.0, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -6.0 + ], + "to": [ + -7.0, + 6.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 23.0, + 0.0, + -6.0 + ], + "to": [ + 25.0, + 6.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/patriot_truck.json b/airdef-mod/assets/airdef/models/block/patriot_truck.json new file mode 100644 index 0000000..842c12b --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/patriot_truck.json @@ -0,0 +1,965 @@ +{ + "ambientocclusion": false, + "textures": { + "nato_green": "airdef:block/nato_green", + "glass": "airdef:block/glass", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/nato_green" + }, + "elements": [ + { + "from": [ + -6.0, + 5.0, + -16.0 + ], + "to": [ + 22.0, + 9.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -6.0, + 9.0, + -15.0 + ], + "to": [ + 22.0, + 24.0, + -1.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 14.0, + 15.0 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 14.0, + 15.0 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -5.0, + 16.0, + -16.0 + ], + "to": [ + 21.0, + 23.0, + -15.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#glass" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#glass" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 7.0 + ], + "texture": "#glass" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#glass" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#glass" + } + } + }, + { + "from": [ + -6.2, + 16.0, + -13.0 + ], + "to": [ + -6.0, + 23.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 7.0 + ], + "texture": "#glass" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 7.0 + ], + "texture": "#glass" + }, + "up": { + "uv": [ + 0, + 0, + 0.25, + 9.0 + ], + "texture": "#glass" + }, + "down": { + "uv": [ + 0, + 0, + 0.25, + 9.0 + ], + "texture": "#glass" + } + } + }, + { + "from": [ + 22.0, + 16.0, + -13.0 + ], + "to": [ + 22.2, + 23.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 0.25, + 7.0 + ], + "texture": "#glass" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 7.0 + ], + "texture": "#glass" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 7.0 + ], + "texture": "#glass" + }, + "up": { + "uv": [ + 0, + 0, + 0.25, + 9.0 + ], + "texture": "#glass" + }, + "down": { + "uv": [ + 0, + 0, + 0.25, + 9.0 + ], + "texture": "#glass" + } + } + }, + { + "from": [ + -6.0, + 9.0, + 2.0 + ], + "to": [ + 22.0, + 15.0, + 16.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#nato_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#nato_green" + }, + "east": { + "uv": [ + 0, + 0, + 14.0, + 6.0 + ], + "texture": "#nato_green" + }, + "west": { + "uv": [ + 0, + 0, + 14.0, + 6.0 + ], + "texture": "#nato_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 14.0 + ], + "texture": "#nato_green" + } + } + }, + { + "from": [ + -2.0, + 24.0, + -12.0 + ], + "to": [ + 18.0, + 25.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 2.0, + 9.0, + 20.0 + ], + "to": [ + 14.0, + 13.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 12.0, + 4.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 12.0, + 4.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 4.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 4.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 12.0, + 10.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 12.0, + 10.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -12.0 + ], + "to": [ + -5.5, + 9.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -12.0 + ], + "to": [ + 25.0, + 9.0, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 14.0 + ], + "to": [ + -5.5, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 14.0 + ], + "to": [ + 25.0, + 9.0, + 22.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 23.0 + ], + "to": [ + -5.5, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 23.0 + ], + "to": [ + 25.0, + 9.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 8.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/radar_panel.json b/airdef-mod/assets/airdef/models/block/radar_panel.json new file mode 100644 index 0000000..ad5d00f --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/radar_panel.json @@ -0,0 +1,215 @@ +{ + "ambientocclusion": false, + "textures": { + "radar_big": "airdef:block/radar_big", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "particle": "airdef:block/radar_big" + }, + "elements": [ + { + "from": [ + -10.0, + 0.0, + 7.0 + ], + "to": [ + 26.0, + 26.0, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#radar_big" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#radar_big" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#radar_big" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#radar_big" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#radar_big" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#radar_big" + } + } + }, + { + "from": [ + -10.5, + -0.5, + 9.0 + ], + "to": [ + 26.5, + 26.5, + 10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 6.0, + -6.0, + 8.0 + ], + "to": [ + 10.0, + 0.0, + 12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 4.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 4.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/radar_trailer.json b/airdef-mod/assets/airdef/models/block/radar_trailer.json new file mode 100644 index 0000000..a4ee3f6 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/radar_trailer.json @@ -0,0 +1,487 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_khaki": "airdef:block/ru_khaki", + "dark_metal": "airdef:block/dark_metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/ru_khaki" + }, + "elements": [ + { + "from": [ + -6.0, + 5.0, + -12.0 + ], + "to": [ + 22.0, + 10.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 2.0, + 10.0, + 2.0 + ], + "to": [ + 14.0, + 16.0, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 6.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -5.0, + 10.0, + 16.0 + ], + "to": [ + 21.0, + 18.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 8.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 8.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 8.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -9.0 + ], + "to": [ + -5.5, + 9.0, + -2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -9.0 + ], + "to": [ + 25.0, + 9.0, + -2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 17.0 + ], + "to": [ + -5.5, + 9.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 17.0 + ], + "to": [ + 25.0, + 9.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/s400_chassis.json b/airdef-mod/assets/airdef/models/block/s400_chassis.json new file mode 100644 index 0000000..4db2d1e --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/s400_chassis.json @@ -0,0 +1,1101 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_green": "airdef:block/ru_green", + "glass": "airdef:block/glass", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/ru_green" + }, + "elements": [ + { + "from": [ + -6.0, + 5.0, + -16.0 + ], + "to": [ + 22.0, + 10.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -6.0, + 10.0, + -16.0 + ], + "to": [ + 3.0, + 19.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + 13.0, + 10.0, + -16.0 + ], + "to": [ + 22.0, + 19.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + 3.0, + 10.0, + -16.0 + ], + "to": [ + 13.0, + 15.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 10.0, + 10.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 10.0, + 10.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -5.0, + 10.0, + -6.0 + ], + "to": [ + 21.0, + 13.0, + 4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#ru_green" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#ru_green" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#ru_green" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#ru_green" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_green" + } + } + }, + { + "from": [ + -3.0, + 10.0, + 26.0 + ], + "to": [ + 19.0, + 14.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -8.0, + 0.0, + 28.0 + ], + "to": [ + -6.0, + 6.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 22.0, + 0.0, + 28.0 + ], + "to": [ + 24.0, + 6.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -14.0 + ], + "to": [ + -5.5, + 9.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -14.0 + ], + "to": [ + 25.0, + 9.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -5.0 + ], + "to": [ + -5.5, + 9.0, + 2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -5.0 + ], + "to": [ + 25.0, + 9.0, + 2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 13.0 + ], + "to": [ + -5.5, + 9.0, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 13.0 + ], + "to": [ + 25.0, + 9.0, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 22.0 + ], + "to": [ + -5.5, + 9.0, + 29.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 22.0 + ], + "to": [ + 25.0, + 9.0, + 29.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/s400_tubes.json b/airdef-mod/assets/airdef/models/block/s400_tubes.json new file mode 100644 index 0000000..1ed8ce3 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/s400_tubes.json @@ -0,0 +1,419 @@ +{ + "ambientocclusion": false, + "textures": { + "tube": "airdef:block/tube", + "tube_cap": "airdef:block/tube_cap", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/tube" + }, + "elements": [ + { + "from": [ + 0.5, + 0.0, + -16.0 + ], + "to": [ + 7.5, + 7.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + 0.5, + 8.0, + -16.0 + ], + "to": [ + 7.5, + 15.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + 8.5, + 0.0, + -16.0 + ], + "to": [ + 15.5, + 7.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + 8.5, + 8.0, + -16.0 + ], + "to": [ + 15.5, + 15.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 7.0, + 7.0 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 7.0 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 7.0, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + -0.5, + 0.0, + 26.0 + ], + "to": [ + 16.5, + 15.0, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -0.5, + 0.0, + -2.0 + ], + "to": [ + 16.5, + 15.0, + 0.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 15.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 15.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/s500_chassis.json b/airdef-mod/assets/airdef/models/block/s500_chassis.json new file mode 100644 index 0000000..be4f125 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/s500_chassis.json @@ -0,0 +1,1101 @@ +{ + "ambientocclusion": false, + "textures": { + "ru_khaki": "airdef:block/ru_khaki", + "glass": "airdef:block/glass", + "dark_metal": "airdef:block/dark_metal", + "metal": "airdef:block/metal", + "tire": "airdef:block/tire", + "particle": "airdef:block/ru_khaki" + }, + "elements": [ + { + "from": [ + -6.0, + 5.0, + -16.0 + ], + "to": [ + 22.0, + 10.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + -6.0, + 10.0, + -16.0 + ], + "to": [ + 3.0, + 19.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 13.0, + 10.0, + -16.0 + ], + "to": [ + 22.0, + 19.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#glass" + }, + "south": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 9.0, + 9.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + 3.0, + 10.0, + -16.0 + ], + "to": [ + 13.0, + 15.0, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 10.0, + 10.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 10.0, + 10.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -5.0, + 10.0, + -6.0 + ], + "to": [ + 21.0, + 13.0, + 4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#ru_khaki" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 3.0 + ], + "texture": "#ru_khaki" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#ru_khaki" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 3.0 + ], + "texture": "#ru_khaki" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_khaki" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 10.0 + ], + "texture": "#ru_khaki" + } + } + }, + { + "from": [ + -3.0, + 10.0, + 26.0 + ], + "to": [ + 19.0, + 14.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 6.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -8.0, + 0.0, + 28.0 + ], + "to": [ + -6.0, + 6.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + 22.0, + 0.0, + 28.0 + ], + "to": [ + 24.0, + 6.0, + 31.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 6.0 + ], + "texture": "#metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 6.0 + ], + "texture": "#metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 3.0 + ], + "texture": "#metal" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -14.0 + ], + "to": [ + -5.5, + 9.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -14.0 + ], + "to": [ + 25.0, + 9.0, + -7.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + -5.0 + ], + "to": [ + -5.5, + 9.0, + 2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + -5.0 + ], + "to": [ + 25.0, + 9.0, + 2.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 13.0 + ], + "to": [ + -5.5, + 9.0, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 13.0 + ], + "to": [ + 25.0, + 9.0, + 20.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + -9.0, + 0.0, + 22.0 + ], + "to": [ + -5.5, + 9.0, + 29.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + }, + { + "from": [ + 21.5, + 0.0, + 22.0 + ], + "to": [ + 25.0, + 9.0, + 29.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 9.0 + ], + "texture": "#tire" + }, + "east": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "west": { + "uv": [ + 0, + 0, + 7.0, + 9.0 + ], + "texture": "#tire" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 7.0 + ], + "texture": "#tire" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/s500_tubes.json b/airdef-mod/assets/airdef/models/block/s500_tubes.json new file mode 100644 index 0000000..964fbf5 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/s500_tubes.json @@ -0,0 +1,283 @@ +{ + "ambientocclusion": false, + "textures": { + "tube": "airdef:block/tube", + "tube_cap": "airdef:block/tube_cap", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/tube" + }, + "elements": [ + { + "from": [ + -2.0, + 0.0, + -16.0 + ], + "to": [ + 7.5, + 9.5, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.5, + 9.5 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 9.5, + 9.5 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 9.5, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 9.5, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + 8.5, + 0.0, + -16.0 + ], + "to": [ + 18.0, + 9.5, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.5, + 9.5 + ], + "texture": "#tube_cap" + }, + "south": { + "uv": [ + 0, + 0, + 9.5, + 9.5 + ], + "texture": "#tube_cap" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#tube" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#tube" + }, + "up": { + "uv": [ + 0, + 0, + 9.5, + 16 + ], + "texture": "#tube" + }, + "down": { + "uv": [ + 0, + 0, + 9.5, + 16 + ], + "texture": "#tube" + } + } + }, + { + "from": [ + -3.0, + 0.0, + 26.0 + ], + "to": [ + 19.0, + 9.5, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 9.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 9.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + -3.0, + 0.0, + -2.0 + ], + "to": [ + 19.0, + 9.5, + 0.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 9.5 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 9.5 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 9.5 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 2.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/shahed.json b/airdef-mod/assets/airdef/models/block/shahed.json new file mode 100644 index 0000000..02db835 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/shahed.json @@ -0,0 +1,1303 @@ +{ + "ambientocclusion": false, + "textures": { + "shahed_nose": "airdef:block/shahed_nose", + "shahed": "airdef:block/shahed", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/shahed_nose" + }, + "elements": [ + { + "from": [ + 6.541666666666667, + 6.541666666666667, + -16.0 + ], + "to": [ + 9.458333333333334, + 9.458333333333334, + -14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.916666666666667, + 2.916666666666667 + ], + "texture": "#shahed_nose" + }, + "south": { + "uv": [ + 0, + 0, + 2.916666666666667, + 2.916666666666667 + ], + "texture": "#shahed_nose" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 2.916666666666667 + ], + "texture": "#shahed_nose" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 2.916666666666667 + ], + "texture": "#shahed_nose" + }, + "up": { + "uv": [ + 0, + 0, + 2.916666666666667, + 2.0 + ], + "texture": "#shahed_nose" + }, + "down": { + "uv": [ + 0, + 0, + 2.916666666666667, + 2.0 + ], + "texture": "#shahed_nose" + } + } + }, + { + "from": [ + 6.125, + 6.125, + -14.0 + ], + "to": [ + 9.875, + 9.875, + -12.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.75, + 3.75 + ], + "texture": "#shahed_nose" + }, + "south": { + "uv": [ + 0, + 0, + 3.75, + 3.75 + ], + "texture": "#shahed_nose" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 3.75 + ], + "texture": "#shahed_nose" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 3.75 + ], + "texture": "#shahed_nose" + }, + "up": { + "uv": [ + 0, + 0, + 3.75, + 2.0 + ], + "texture": "#shahed_nose" + }, + "down": { + "uv": [ + 0, + 0, + 3.75, + 2.0 + ], + "texture": "#shahed_nose" + } + } + }, + { + "from": [ + 5.708333333333333, + 5.708333333333333, + -12.0 + ], + "to": [ + 10.291666666666668, + 10.291666666666668, + -10.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.583333333333335, + 4.583333333333335 + ], + "texture": "#shahed_nose" + }, + "south": { + "uv": [ + 0, + 0, + 4.583333333333335, + 4.583333333333335 + ], + "texture": "#shahed_nose" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.583333333333335 + ], + "texture": "#shahed_nose" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.583333333333335 + ], + "texture": "#shahed_nose" + }, + "up": { + "uv": [ + 0, + 0, + 4.583333333333335, + 2.0 + ], + "texture": "#shahed_nose" + }, + "down": { + "uv": [ + 0, + 0, + 4.583333333333335, + 2.0 + ], + "texture": "#shahed_nose" + } + } + }, + { + "from": [ + 5.5, + 5.5, + -10.0 + ], + "to": [ + 10.5, + 10.5, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 5.0 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 5.0 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + 6.0, + 10.5, + -6.0 + ], + "to": [ + 10.0, + 11.5, + 4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 10.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 10.0, + 1.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 10.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 5.666666666666666, + 7.2, + -2.0 + ], + "to": [ + 10.333333333333334, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.666666666666668, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 4.666666666666668, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 4.666666666666668, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 4.666666666666668, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + 3.333333333333333, + 7.2, + 0.5555555555555554 + ], + "to": [ + 12.666666666666668, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 9.333333333333336, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 9.333333333333336, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 9.333333333333336, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 9.333333333333336, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + 1.0, + 7.2, + 3.1111111111111107 + ], + "to": [ + 15.0, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 14.0, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 14.0, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 14.0, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 14.0, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -1.333333333333334, + 7.2, + 5.666666666666667 + ], + "to": [ + 17.333333333333336, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -3.666666666666666, + 7.2, + 8.222222222222221 + ], + "to": [ + 19.666666666666664, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 16 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -6.0, + 7.2, + 10.777777777777779 + ], + "to": [ + 22.0, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 15.222222222222221, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 15.222222222222221, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 15.222222222222221 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 15.222222222222221 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -8.333333333333332, + 7.2, + 13.333333333333334 + ], + "to": [ + 24.333333333333332, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 12.666666666666666, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 12.666666666666666, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 12.666666666666666 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 12.666666666666666 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -10.666666666666668, + 7.2, + 15.88888888888889 + ], + "to": [ + 26.666666666666668, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 10.11111111111111, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 10.11111111111111, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 10.11111111111111 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 10.11111111111111 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -13.0, + 7.2, + 18.444444444444443 + ], + "to": [ + 29.0, + 8.4, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 7.555555555555557, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 7.555555555555557, + 1.2000000000000002 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 7.555555555555557 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 7.555555555555557 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + -13.6, + 6.5, + 17.0 + ], + "to": [ + -12.6, + 14.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 7.5 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 7.5 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 7.5 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 7.5 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 9.0 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 9.0 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + 28.6, + 6.5, + 17.0 + ], + "to": [ + 29.6, + 14.0, + 26.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 7.5 + ], + "texture": "#shahed" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 7.5 + ], + "texture": "#shahed" + }, + "east": { + "uv": [ + 0, + 0, + 9.0, + 7.5 + ], + "texture": "#shahed" + }, + "west": { + "uv": [ + 0, + 0, + 9.0, + 7.5 + ], + "texture": "#shahed" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 9.0 + ], + "texture": "#shahed" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 9.0 + ], + "texture": "#shahed" + } + } + }, + { + "from": [ + 6.0, + 6.0, + 24.0 + ], + "to": [ + 10.0, + 10.0, + 29.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 5.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 5.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 6.5, + 4.0, + 25.0 + ], + "to": [ + 7.5, + 6.0, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 3.0 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 8.5, + 4.0, + 25.0 + ], + "to": [ + 9.5, + 6.0, + 28.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 1.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 3.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 1.0, + 3.0 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 1.0, + 3.0 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/shahed_prop.json b/airdef-mod/assets/airdef/models/block/shahed_prop.json new file mode 100644 index 0000000..c1bef50 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/shahed_prop.json @@ -0,0 +1,214 @@ +{ + "ambientocclusion": false, + "textures": { + "prop": "airdef:block/prop", + "dark_metal": "airdef:block/dark_metal", + "particle": "airdef:block/prop" + }, + "elements": [ + { + "from": [ + 7.6, + -4.0, + 7.5 + ], + "to": [ + 8.4, + 20.0, + 8.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 16 + ], + "texture": "#prop" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 16 + ], + "texture": "#prop" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#prop" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 16 + ], + "texture": "#prop" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 1.0 + ], + "texture": "#prop" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 1.0 + ], + "texture": "#prop" + } + } + }, + { + "from": [ + -4.0, + 7.6, + 7.5 + ], + "to": [ + 20.0, + 8.4, + 8.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#prop" + }, + "south": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#prop" + }, + "east": { + "uv": [ + 0, + 0, + 1.0, + 0.8000000000000007 + ], + "texture": "#prop" + }, + "west": { + "uv": [ + 0, + 0, + 1.0, + 0.8000000000000007 + ], + "texture": "#prop" + }, + "up": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#prop" + }, + "down": { + "uv": [ + 0, + 0, + 16, + 1.0 + ], + "texture": "#prop" + } + } + }, + { + "from": [ + 7.0, + 7.0, + 7.0 + ], + "to": [ + 9.0, + 9.0, + 9.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.5, + 2.0 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.5, + 2.0 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.5 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.5 + ], + "texture": "#dark_metal" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/target.json b/airdef-mod/assets/airdef/models/block/target.json new file mode 100644 index 0000000..84cb6f7 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/target.json @@ -0,0 +1,213 @@ +{ + "ambientocclusion": false, + "textures": { + "target": "airdef:block/target", + "particle": "airdef:block/target" + }, + "elements": [ + { + "from": [ + 7.0, + -8.0, + 7.0 + ], + "to": [ + 9.0, + 24.0, + 9.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#target" + }, + "south": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#target" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#target" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 16 + ], + "texture": "#target" + }, + "up": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#target" + }, + "down": { + "uv": [ + 0, + 0, + 2.0, + 2.0 + ], + "texture": "#target" + } + } + }, + { + "from": [ + 2.0, + 7.5, + 2.0 + ], + "to": [ + 14.0, + 8.5, + 14.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#target" + }, + "south": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#target" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#target" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 1.0 + ], + "texture": "#target" + }, + "up": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#target" + }, + "down": { + "uv": [ + 0, + 0, + 12.0, + 12.0 + ], + "texture": "#target" + } + } + }, + { + "from": [ + 5.0, + 3.0, + 5.0 + ], + "to": [ + 11.0, + 13.0, + 11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#target" + }, + "south": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#target" + }, + "east": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#target" + }, + "west": { + "uv": [ + 0, + 0, + 6.0, + 10.0 + ], + "texture": "#target" + }, + "up": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#target" + }, + "down": { + "uv": [ + 0, + 0, + 6.0, + 6.0 + ], + "texture": "#target" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/tracer.json b/airdef-mod/assets/airdef/models/block/tracer.json new file mode 100644 index 0000000..cc9ce44 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/tracer.json @@ -0,0 +1,146 @@ +{ + "ambientocclusion": false, + "textures": { + "tracer": "airdef:block/tracer", + "tracer_hot": "airdef:block/tracer_hot", + "particle": "airdef:block/tracer" + }, + "elements": [ + { + "from": [ + 7.6, + 7.6, + -16.0 + ], + "to": [ + 8.4, + 8.4, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 0.8000000000000007 + ], + "texture": "#tracer" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 0.8000000000000007 + ], + "texture": "#tracer" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#tracer" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 0.8000000000000007 + ], + "texture": "#tracer" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 16 + ], + "texture": "#tracer" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 16 + ], + "texture": "#tracer" + } + } + }, + { + "from": [ + 7.3, + 7.3, + -16.0 + ], + "to": [ + 8.7, + 8.7, + -4.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.3999999999999995, + 1.3999999999999995 + ], + "texture": "#tracer_hot" + }, + "south": { + "uv": [ + 0, + 0, + 1.3999999999999995, + 1.3999999999999995 + ], + "texture": "#tracer_hot" + }, + "east": { + "uv": [ + 0, + 0, + 12.0, + 1.3999999999999995 + ], + "texture": "#tracer_hot" + }, + "west": { + "uv": [ + 0, + 0, + 12.0, + 1.3999999999999995 + ], + "texture": "#tracer_hot" + }, + "up": { + "uv": [ + 0, + 0, + 1.3999999999999995, + 12.0 + ], + "texture": "#tracer_hot" + }, + "down": { + "uv": [ + 0, + 0, + 1.3999999999999995, + 12.0 + ], + "texture": "#tracer_hot" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/block/zircon.json b/airdef-mod/assets/airdef/models/block/zircon.json new file mode 100644 index 0000000..7fe2b57 --- /dev/null +++ b/airdef-mod/assets/airdef/models/block/zircon.json @@ -0,0 +1,692 @@ +{ + "ambientocclusion": false, + "textures": { + "dark_metal": "airdef:block/dark_metal", + "kh101": "airdef:block/kh101", + "intake": "airdef:block/intake", + "nozzle": "airdef:block/nozzle", + "particle": "airdef:block/dark_metal" + }, + "elements": [ + { + "from": [ + 7.25, + 7.3125, + -16.0 + ], + "to": [ + 8.75, + 8.6875, + -13.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 1.5, + 1.375 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 1.5, + 1.375 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.5, + 1.375 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.5, + 1.375 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 1.5, + 2.5 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 1.5, + 2.5 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 6.75, + 6.9375, + -13.5 + ], + "to": [ + 9.25, + 9.0625, + -11.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 2.5, + 2.125 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 2.5, + 2.125 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.5, + 2.125 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.5, + 2.125 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 2.5, + 2.5 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 6.25, + 6.5625, + -11.0 + ], + "to": [ + 9.75, + 9.4375, + -8.5 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 3.5, + 2.875 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 3.5, + 2.875 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.5, + 2.875 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.5, + 2.875 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 3.5, + 2.5 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 3.5, + 2.5 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 5.75, + 6.1875, + -8.5 + ], + "to": [ + 10.25, + 9.8125, + -6.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 3.625 + ], + "texture": "#dark_metal" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 3.625 + ], + "texture": "#dark_metal" + }, + "east": { + "uv": [ + 0, + 0, + 2.5, + 3.625 + ], + "texture": "#dark_metal" + }, + "west": { + "uv": [ + 0, + 0, + 2.5, + 3.625 + ], + "texture": "#dark_metal" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 2.5 + ], + "texture": "#dark_metal" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 2.5 + ], + "texture": "#dark_metal" + } + } + }, + { + "from": [ + 5.5, + 6.0, + -6.0 + ], + "to": [ + 10.5, + 10.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 4.0 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 16 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 16 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 6.0, + 3.5, + 0.0 + ], + "to": [ + 10.0, + 6.0, + 24.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.0, + 2.5 + ], + "texture": "#intake" + }, + "south": { + "uv": [ + 0, + 0, + 4.0, + 2.5 + ], + "texture": "#intake" + }, + "east": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#intake" + }, + "west": { + "uv": [ + 0, + 0, + 16, + 2.5 + ], + "texture": "#intake" + }, + "up": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#intake" + }, + "down": { + "uv": [ + 0, + 0, + 4.0, + 16 + ], + "texture": "#intake" + } + } + }, + { + "from": [ + 5.5, + 6.0, + 30.0 + ], + "to": [ + 10.5, + 10.0, + 32.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#nozzle" + }, + "south": { + "uv": [ + 0, + 0, + 5.0, + 4.0 + ], + "texture": "#nozzle" + }, + "east": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#nozzle" + }, + "west": { + "uv": [ + 0, + 0, + 2.0, + 4.0 + ], + "texture": "#nozzle" + }, + "up": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + }, + "down": { + "uv": [ + 0, + 0, + 5.0, + 2.0 + ], + "texture": "#nozzle" + } + } + }, + { + "from": [ + 1.0, + 7.6, + 22.0 + ], + "to": [ + 5.5, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 8.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 8.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 10.5, + 7.6, + 22.0 + ], + "to": [ + 15.0, + 8.4, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 4.5, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 4.5, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 0.8000000000000007 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 4.5, + 8.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 4.5, + 8.0 + ], + "texture": "#kh101" + } + } + }, + { + "from": [ + 7.6, + 10.0, + 22.0 + ], + "to": [ + 8.4, + 14.0, + 30.0 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.0 + ], + "texture": "#kh101" + }, + "south": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 4.0 + ], + "texture": "#kh101" + }, + "east": { + "uv": [ + 0, + 0, + 8.0, + 4.0 + ], + "texture": "#kh101" + }, + "west": { + "uv": [ + 0, + 0, + 8.0, + 4.0 + ], + "texture": "#kh101" + }, + "up": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#kh101" + }, + "down": { + "uv": [ + 0, + 0, + 0.8000000000000007, + 8.0 + ], + "texture": "#kh101" + } + } + } + ] +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_geran3.json b/airdef-mod/assets/airdef/models/item/cam_geran3.json new file mode 100644 index 0000000..e1ca3b7 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_geran3.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/geran3", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_gerbera.json b/airdef-mod/assets/airdef/models/item/cam_gerbera.json new file mode 100644 index 0000000..8d470c7 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_gerbera.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/gerbera", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_iskander.json b/airdef-mod/assets/airdef/models/item/cam_iskander.json new file mode 100644 index 0000000..8c0a5c5 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_iskander.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/iskander", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_kalibr.json b/airdef-mod/assets/airdef/models/item/cam_kalibr.json new file mode 100644 index 0000000..8c56b25 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_kalibr.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/kalibr", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_kh101.json b/airdef-mod/assets/airdef/models/item/cam_kh101.json new file mode 100644 index 0000000..8906b54 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_kh101.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/kh101", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_kh22.json b/airdef-mod/assets/airdef/models/item/cam_kh22.json new file mode 100644 index 0000000..c600824 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_kh22.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/kh22", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_kinzhal.json b/airdef-mod/assets/airdef/models/item/cam_kinzhal.json new file mode 100644 index 0000000..bced216 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_kinzhal.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/kinzhal", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_lancet.json b/airdef-mod/assets/airdef/models/item/cam_lancet.json new file mode 100644 index 0000000..8a15a5a --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_lancet.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/lancet", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_shahed.json b/airdef-mod/assets/airdef/models/item/cam_shahed.json new file mode 100644 index 0000000..e1afd5c --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_shahed.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/shahed", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/cam_zircon.json b/airdef-mod/assets/airdef/models/item/cam_zircon.json new file mode 100644 index 0000000..049e38a --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/cam_zircon.json @@ -0,0 +1,22 @@ +{ + "parent": "airdef:block/zircon", + "display": { + "gui": { + "rotation": [ + 20, + 145, + 0 + ], + "translation": [ + 0, + 0, + 0 + ], + "scale": [ + 0.36, + 0.36, + 0.36 + ] + } + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/deploy_gepard.json b/airdef-mod/assets/airdef/models/item/deploy_gepard.json new file mode 100644 index 0000000..e147880 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/deploy_gepard.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/deploy_gepard" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/deploy_pantsir.json b/airdef-mod/assets/airdef/models/item/deploy_pantsir.json new file mode 100644 index 0000000..1eec927 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/deploy_pantsir.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/deploy_pantsir" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/deploy_patriot.json b/airdef-mod/assets/airdef/models/item/deploy_patriot.json new file mode 100644 index 0000000..8917978 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/deploy_patriot.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/deploy_patriot" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/deploy_s400.json b/airdef-mod/assets/airdef/models/item/deploy_s400.json new file mode 100644 index 0000000..3ee4800 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/deploy_s400.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/deploy_s400" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/deploy_s500.json b/airdef-mod/assets/airdef/models/item/deploy_s500.json new file mode 100644 index 0000000..2677a89 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/deploy_s500.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/deploy_s500" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/designator.json b/airdef-mod/assets/airdef/models/item/designator.json new file mode 100644 index 0000000..0da46f9 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/designator.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/designator" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_geran3.json b/airdef-mod/assets/airdef/models/item/launch_geran3.json new file mode 100644 index 0000000..7958f69 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_geran3.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_geran3" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_iskander.json b/airdef-mod/assets/airdef/models/item/launch_iskander.json new file mode 100644 index 0000000..fb58a83 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_iskander.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_iskander" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_kalibr.json b/airdef-mod/assets/airdef/models/item/launch_kalibr.json new file mode 100644 index 0000000..ff894a0 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_kalibr.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_kalibr" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_kh101.json b/airdef-mod/assets/airdef/models/item/launch_kh101.json new file mode 100644 index 0000000..a1aa713 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_kh101.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_kh101" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_kh22.json b/airdef-mod/assets/airdef/models/item/launch_kh22.json new file mode 100644 index 0000000..705bd4c --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_kh22.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_kh22" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_kinzhal.json b/airdef-mod/assets/airdef/models/item/launch_kinzhal.json new file mode 100644 index 0000000..6052923 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_kinzhal.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_kinzhal" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_lancet.json b/airdef-mod/assets/airdef/models/item/launch_lancet.json new file mode 100644 index 0000000..9bd9ee9 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_lancet.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_lancet" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_shahed.json b/airdef-mod/assets/airdef/models/item/launch_shahed.json new file mode 100644 index 0000000..8c45a02 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_shahed.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_shahed" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/launch_zircon.json b/airdef-mod/assets/airdef/models/item/launch_zircon.json new file mode 100644 index 0000000..dc2593c --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/launch_zircon.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/launch_zircon" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/models/item/remover.json b/airdef-mod/assets/airdef/models/item/remover.json new file mode 100644 index 0000000..78bf648 --- /dev/null +++ b/airdef-mod/assets/airdef/models/item/remover.json @@ -0,0 +1,6 @@ +{ + "parent": "minecraft:item/generated", + "textures": { + "layer0": "airdef:item/remover" + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/sounds.json b/airdef-mod/assets/airdef/sounds.json new file mode 100644 index 0000000..7bcfa36 --- /dev/null +++ b/airdef-mod/assets/airdef/sounds.json @@ -0,0 +1,146 @@ +{ + "drone.shahed": { + "sounds": [ + { + "name": "airdef:drone_shahed", + "attenuation_distance": 220 + } + ] + }, + "drone.geran3": { + "sounds": [ + { + "name": "airdef:drone_geran3", + "attenuation_distance": 260 + } + ] + }, + "drone.lancet": { + "sounds": [ + { + "name": "airdef:drone_lancet", + "attenuation_distance": 120 + } + ] + }, + "drone.cruise": { + "sounds": [ + { + "name": "airdef:drone_cruise", + "attenuation_distance": 320 + } + ] + }, + "drone.rocket": { + "sounds": [ + { + "name": "airdef:drone_rocket", + "attenuation_distance": 420 + } + ] + }, + "drone.ballistic": { + "sounds": [ + { + "name": "airdef:drone_ballistic", + "attenuation_distance": 700 + } + ] + }, + "boom.sonic": { + "sounds": [ + { + "name": "airdef:boom_sonic", + "attenuation_distance": 900 + } + ] + }, + "launch.patriot": { + "sounds": [ + { + "name": "airdef:launch_patriot", + "attenuation_distance": 600 + } + ] + }, + "launch.s400_eject": { + "sounds": [ + { + "name": "airdef:launch_s400_eject", + "attenuation_distance": 350 + } + ] + }, + "launch.s400": { + "sounds": [ + { + "name": "airdef:launch_s400", + "attenuation_distance": 800 + } + ] + }, + "launch.s500_eject": { + "sounds": [ + { + "name": "airdef:launch_s500_eject", + "attenuation_distance": 450 + } + ] + }, + "launch.s500": { + "sounds": [ + { + "name": "airdef:launch_s500", + "attenuation_distance": 1000 + } + ] + }, + "launch.pantsir": { + "sounds": [ + { + "name": "airdef:launch_pantsir", + "attenuation_distance": 450 + } + ] + }, + "gun.gepard": { + "sounds": [ + { + "name": "airdef:gun_gepard", + "attenuation_distance": 380 + } + ] + }, + "gun.pantsir": { + "sounds": [ + { + "name": "airdef:gun_pantsir", + "attenuation_distance": 350 + } + ] + }, + "blast.big": { + "sounds": [ + { + "name": "airdef:blast_big", + "attenuation_distance": 900 + } + ] + }, + "blast.medium": { + "sounds": [ + { + "name": "airdef:blast_medium", + "attenuation_distance": 600 + } + ] + }, + "blast.air": { + "sounds": [ + { + "name": "airdef:blast_air", + "attenuation_distance": 700 + } + ] + } +} \ No newline at end of file diff --git a/airdef-mod/assets/airdef/sounds/blast_air.ogg b/airdef-mod/assets/airdef/sounds/blast_air.ogg new file mode 100644 index 0000000..e4db9f2 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/blast_air.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/blast_big.ogg b/airdef-mod/assets/airdef/sounds/blast_big.ogg new file mode 100644 index 0000000..0a0f419 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/blast_big.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/blast_medium.ogg b/airdef-mod/assets/airdef/sounds/blast_medium.ogg new file mode 100644 index 0000000..8d014af Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/blast_medium.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/boom_sonic.ogg b/airdef-mod/assets/airdef/sounds/boom_sonic.ogg new file mode 100644 index 0000000..77aa7c0 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/boom_sonic.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_ballistic.ogg b/airdef-mod/assets/airdef/sounds/drone_ballistic.ogg new file mode 100644 index 0000000..89b6c11 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_ballistic.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_cruise.ogg b/airdef-mod/assets/airdef/sounds/drone_cruise.ogg new file mode 100644 index 0000000..9aa290d Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_cruise.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_geran3.ogg b/airdef-mod/assets/airdef/sounds/drone_geran3.ogg new file mode 100644 index 0000000..63868d0 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_geran3.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_lancet.ogg b/airdef-mod/assets/airdef/sounds/drone_lancet.ogg new file mode 100644 index 0000000..a10287b Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_lancet.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_rocket.ogg b/airdef-mod/assets/airdef/sounds/drone_rocket.ogg new file mode 100644 index 0000000..4000fa3 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_rocket.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/drone_shahed.ogg b/airdef-mod/assets/airdef/sounds/drone_shahed.ogg new file mode 100644 index 0000000..899d726 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/drone_shahed.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/gun_gepard.ogg b/airdef-mod/assets/airdef/sounds/gun_gepard.ogg new file mode 100644 index 0000000..3706ff2 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/gun_gepard.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/gun_pantsir.ogg b/airdef-mod/assets/airdef/sounds/gun_pantsir.ogg new file mode 100644 index 0000000..1fa64e2 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/gun_pantsir.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_pantsir.ogg b/airdef-mod/assets/airdef/sounds/launch_pantsir.ogg new file mode 100644 index 0000000..e77af92 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_pantsir.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_patriot.ogg b/airdef-mod/assets/airdef/sounds/launch_patriot.ogg new file mode 100644 index 0000000..26abba2 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_patriot.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_s400.ogg b/airdef-mod/assets/airdef/sounds/launch_s400.ogg new file mode 100644 index 0000000..d686805 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_s400.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_s400_eject.ogg b/airdef-mod/assets/airdef/sounds/launch_s400_eject.ogg new file mode 100644 index 0000000..5b8fb7a Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_s400_eject.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_s500.ogg b/airdef-mod/assets/airdef/sounds/launch_s500.ogg new file mode 100644 index 0000000..90cc3c5 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_s500.ogg differ diff --git a/airdef-mod/assets/airdef/sounds/launch_s500_eject.ogg b/airdef-mod/assets/airdef/sounds/launch_s500_eject.ogg new file mode 100644 index 0000000..e4d3305 Binary files /dev/null and b/airdef-mod/assets/airdef/sounds/launch_s500_eject.ogg differ diff --git a/airdef-mod/assets/airdef/textures/block/barrel.png b/airdef-mod/assets/airdef/textures/block/barrel.png new file mode 100644 index 0000000..e57bb51 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/barrel.png differ diff --git a/airdef-mod/assets/airdef/textures/block/booster.png b/airdef-mod/assets/airdef/textures/block/booster.png new file mode 100644 index 0000000..035ca1b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/booster.png differ diff --git a/airdef-mod/assets/airdef/textures/block/canister.png b/airdef-mod/assets/airdef/textures/block/canister.png new file mode 100644 index 0000000..5032fa3 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/canister.png differ diff --git a/airdef-mod/assets/airdef/textures/block/canister_front.png b/airdef-mod/assets/airdef/textures/block/canister_front.png new file mode 100644 index 0000000..4bbdfa4 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/canister_front.png differ diff --git a/airdef-mod/assets/airdef/textures/block/dark_metal.png b/airdef-mod/assets/airdef/textures/block/dark_metal.png new file mode 100644 index 0000000..f9045f5 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/dark_metal.png differ diff --git a/airdef-mod/assets/airdef/textures/block/dish.png b/airdef-mod/assets/airdef/textures/block/dish.png new file mode 100644 index 0000000..32e2826 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/dish.png differ diff --git a/airdef-mod/assets/airdef/textures/block/fire.png b/airdef-mod/assets/airdef/textures/block/fire.png new file mode 100644 index 0000000..cbd6797 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/fire.png differ diff --git a/airdef-mod/assets/airdef/textures/block/flame.png b/airdef-mod/assets/airdef/textures/block/flame.png new file mode 100644 index 0000000..a331c5a Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/flame.png differ diff --git a/airdef-mod/assets/airdef/textures/block/flecktarn.png b/airdef-mod/assets/airdef/textures/block/flecktarn.png new file mode 100644 index 0000000..eda68ad Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/flecktarn.png differ diff --git a/airdef-mod/assets/airdef/textures/block/foam.png b/airdef-mod/assets/airdef/textures/block/foam.png new file mode 100644 index 0000000..ae1fe42 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/foam.png differ diff --git a/airdef-mod/assets/airdef/textures/block/geran.png b/airdef-mod/assets/airdef/textures/block/geran.png new file mode 100644 index 0000000..2d15e22 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/geran.png differ diff --git a/airdef-mod/assets/airdef/textures/block/geran_engine.png b/airdef-mod/assets/airdef/textures/block/geran_engine.png new file mode 100644 index 0000000..d8918ee Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/geran_engine.png differ diff --git a/airdef-mod/assets/airdef/textures/block/glass.png b/airdef-mod/assets/airdef/textures/block/glass.png new file mode 100644 index 0000000..6f2833f Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/glass.png differ diff --git a/airdef-mod/assets/airdef/textures/block/intake.png b/airdef-mod/assets/airdef/textures/block/intake.png new file mode 100644 index 0000000..c7c809c Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/intake.png differ diff --git a/airdef-mod/assets/airdef/textures/block/kh101.png b/airdef-mod/assets/airdef/textures/block/kh101.png new file mode 100644 index 0000000..0641a31 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/kh101.png differ diff --git a/airdef-mod/assets/airdef/textures/block/kh101_belly.png b/airdef-mod/assets/airdef/textures/block/kh101_belly.png new file mode 100644 index 0000000..cb61948 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/kh101_belly.png differ diff --git a/airdef-mod/assets/airdef/textures/block/lancet.png b/airdef-mod/assets/airdef/textures/block/lancet.png new file mode 100644 index 0000000..7042a7e Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/lancet.png differ diff --git a/airdef-mod/assets/airdef/textures/block/metal.png b/airdef-mod/assets/airdef/textures/block/metal.png new file mode 100644 index 0000000..acf9a34 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/metal.png differ diff --git a/airdef-mod/assets/airdef/textures/block/missile.png b/airdef-mod/assets/airdef/textures/block/missile.png new file mode 100644 index 0000000..1fafd69 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/missile.png differ diff --git a/airdef-mod/assets/airdef/textures/block/missile_grey.png b/airdef-mod/assets/airdef/textures/block/missile_grey.png new file mode 100644 index 0000000..cab02fc Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/missile_grey.png differ diff --git a/airdef-mod/assets/airdef/textures/block/missile_ru.png b/airdef-mod/assets/airdef/textures/block/missile_ru.png new file mode 100644 index 0000000..664918f Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/missile_ru.png differ diff --git a/airdef-mod/assets/airdef/textures/block/nato_green.png b/airdef-mod/assets/airdef/textures/block/nato_green.png new file mode 100644 index 0000000..8109d9a Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/nato_green.png differ diff --git a/airdef-mod/assets/airdef/textures/block/nozzle.png b/airdef-mod/assets/airdef/textures/block/nozzle.png new file mode 100644 index 0000000..d0f54bc Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/nozzle.png differ diff --git a/airdef-mod/assets/airdef/textures/block/prop.png b/airdef-mod/assets/airdef/textures/block/prop.png new file mode 100644 index 0000000..6437e6a Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/prop.png differ diff --git a/airdef-mod/assets/airdef/textures/block/radar_big.png b/airdef-mod/assets/airdef/textures/block/radar_big.png new file mode 100644 index 0000000..9055fb8 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/radar_big.png differ diff --git a/airdef-mod/assets/airdef/textures/block/radar_face.png b/airdef-mod/assets/airdef/textures/block/radar_face.png new file mode 100644 index 0000000..e01c2dd Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/radar_face.png differ diff --git a/airdef-mod/assets/airdef/textures/block/ru_green.png b/airdef-mod/assets/airdef/textures/block/ru_green.png new file mode 100644 index 0000000..3e75ae8 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/ru_green.png differ diff --git a/airdef-mod/assets/airdef/textures/block/ru_khaki.png b/airdef-mod/assets/airdef/textures/block/ru_khaki.png new file mode 100644 index 0000000..4293be3 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/ru_khaki.png differ diff --git a/airdef-mod/assets/airdef/textures/block/shahed.png b/airdef-mod/assets/airdef/textures/block/shahed.png new file mode 100644 index 0000000..8b22425 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/shahed.png differ diff --git a/airdef-mod/assets/airdef/textures/block/shahed_nose.png b/airdef-mod/assets/airdef/textures/block/shahed_nose.png new file mode 100644 index 0000000..3ce803f Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/shahed_nose.png differ diff --git a/airdef-mod/assets/airdef/textures/block/target.png b/airdef-mod/assets/airdef/textures/block/target.png new file mode 100644 index 0000000..254210f Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/target.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tire.png b/airdef-mod/assets/airdef/textures/block/tire.png new file mode 100644 index 0000000..c0eac8d Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tire.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tracer.png b/airdef-mod/assets/airdef/textures/block/tracer.png new file mode 100644 index 0000000..f918dfe Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tracer.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tracer_hot.png b/airdef-mod/assets/airdef/textures/block/tracer_hot.png new file mode 100644 index 0000000..973e94d Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tracer_hot.png differ diff --git a/airdef-mod/assets/airdef/textures/block/track.png b/airdef-mod/assets/airdef/textures/block/track.png new file mode 100644 index 0000000..e3286e5 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/track.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tube.png b/airdef-mod/assets/airdef/textures/block/tube.png new file mode 100644 index 0000000..299be27 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tube.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tube_cap.png b/airdef-mod/assets/airdef/textures/block/tube_cap.png new file mode 100644 index 0000000..b9ca22b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tube_cap.png differ diff --git a/airdef-mod/assets/airdef/textures/block/tubes6.png b/airdef-mod/assets/airdef/textures/block/tubes6.png new file mode 100644 index 0000000..a72ff68 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/tubes6.png differ diff --git a/airdef-mod/assets/airdef/textures/block/white.png b/airdef-mod/assets/airdef/textures/block/white.png new file mode 100644 index 0000000..367b357 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/block/white.png differ diff --git a/airdef-mod/assets/airdef/textures/item/deploy_gepard.png b/airdef-mod/assets/airdef/textures/item/deploy_gepard.png new file mode 100644 index 0000000..e8fd049 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/deploy_gepard.png differ diff --git a/airdef-mod/assets/airdef/textures/item/deploy_pantsir.png b/airdef-mod/assets/airdef/textures/item/deploy_pantsir.png new file mode 100644 index 0000000..1597b9b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/deploy_pantsir.png differ diff --git a/airdef-mod/assets/airdef/textures/item/deploy_patriot.png b/airdef-mod/assets/airdef/textures/item/deploy_patriot.png new file mode 100644 index 0000000..b4c98cf Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/deploy_patriot.png differ diff --git a/airdef-mod/assets/airdef/textures/item/deploy_s400.png b/airdef-mod/assets/airdef/textures/item/deploy_s400.png new file mode 100644 index 0000000..b7dc5f7 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/deploy_s400.png differ diff --git a/airdef-mod/assets/airdef/textures/item/deploy_s500.png b/airdef-mod/assets/airdef/textures/item/deploy_s500.png new file mode 100644 index 0000000..5b40c2b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/deploy_s500.png differ diff --git a/airdef-mod/assets/airdef/textures/item/designator.png b/airdef-mod/assets/airdef/textures/item/designator.png new file mode 100644 index 0000000..a2dda9b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/designator.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_geran3.png b/airdef-mod/assets/airdef/textures/item/launch_geran3.png new file mode 100644 index 0000000..f6dba80 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_geran3.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_iskander.png b/airdef-mod/assets/airdef/textures/item/launch_iskander.png new file mode 100644 index 0000000..339fbc6 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_iskander.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_kalibr.png b/airdef-mod/assets/airdef/textures/item/launch_kalibr.png new file mode 100644 index 0000000..b7d4c31 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_kalibr.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_kh101.png b/airdef-mod/assets/airdef/textures/item/launch_kh101.png new file mode 100644 index 0000000..f08221b Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_kh101.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_kh22.png b/airdef-mod/assets/airdef/textures/item/launch_kh22.png new file mode 100644 index 0000000..0029cc9 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_kh22.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_kinzhal.png b/airdef-mod/assets/airdef/textures/item/launch_kinzhal.png new file mode 100644 index 0000000..21610e7 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_kinzhal.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_lancet.png b/airdef-mod/assets/airdef/textures/item/launch_lancet.png new file mode 100644 index 0000000..71c8977 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_lancet.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_shahed.png b/airdef-mod/assets/airdef/textures/item/launch_shahed.png new file mode 100644 index 0000000..552190d Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_shahed.png differ diff --git a/airdef-mod/assets/airdef/textures/item/launch_zircon.png b/airdef-mod/assets/airdef/textures/item/launch_zircon.png new file mode 100644 index 0000000..79e324d Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/launch_zircon.png differ diff --git a/airdef-mod/assets/airdef/textures/item/remover.png b/airdef-mod/assets/airdef/textures/item/remover.png new file mode 100644 index 0000000..3b63f32 Binary files /dev/null and b/airdef-mod/assets/airdef/textures/item/remover.png differ diff --git a/airdef-mod/horizon-mod.toml b/airdef-mod/horizon-mod.toml new file mode 100644 index 0000000..ea38cd0 --- /dev/null +++ b/airdef-mod/horizon-mod.toml @@ -0,0 +1,9 @@ +id = "airdef" +name = "AirDef" +version = "0.2.0" +description = "Дальнобойные дроны (Шахед-136, Герань-3) и ПВО (Patriot, Гепард) с 3D-моделями. /airdef give — пульты, /airdef wave — налёт." +authors = ["chexit"] +api = "0.2" +side = "client" +capabilities = ["registries", "game-read", "hud", "chat", "command", "storage", "input", "render", "ui"] +experimental = ["input", "render", "ui"] diff --git a/airdef-mod/shaders/effects.wgsl b/airdef-mod/shaders/effects.wgsl new file mode 100644 index 0000000..b7dd81e --- /dev/null +++ b/airdef-mod/shaders/effects.wgsl @@ -0,0 +1,224 @@ +// AirDef effects: a post pass over the world (render.set-post, AirDef fork). +// Blasts are noise volumes marched along the view ray (fireball turning into a smoke +// column), with a flash, a shock wave that bends the light and heat haze; engine +// flames and muzzle flashes glow. Everything is placed in the world and hidden by +// what stands in front of it (the world's depth). +// +// frame.params (vec4): +// [0] now (mod ticks), blasts, lights, - +// [1 + 2i], [2 + 2i] blast i: x, y, z, size | start tick, life ticks, kind, - +// [97 + 2j], [98 + 2j] light j: x, y, z, radius | r, g, b, intensity + +const BLAST_BASE: i32 = 1; +const LIGHT_BASE: i32 = 97; + +fn hash3(p: vec3) -> f32 { + let q = fract(p * 0.3183099 + vec3(0.11, 0.17, 0.13)); + let r = q * 17.0; + return fract(r.x * r.y * r.z * (r.x + r.y + r.z)); +} + +fn noise3(x: vec3) -> f32 { + let i = floor(x); + let f = fract(x); + let u = f * f * (3.0 - 2.0 * f); + let a = mix(hash3(i), hash3(i + vec3(1.0, 0.0, 0.0)), u.x); + let b = mix(hash3(i + vec3(0.0, 1.0, 0.0)), hash3(i + vec3(1.0, 1.0, 0.0)), u.x); + let c = mix(hash3(i + vec3(0.0, 0.0, 1.0)), hash3(i + vec3(1.0, 0.0, 1.0)), u.x); + let d = mix(hash3(i + vec3(0.0, 1.0, 1.0)), hash3(i + vec3(1.0, 1.0, 1.0)), u.x); + return mix(mix(a, b, u.y), mix(c, d, u.y), u.z); +} + +fn fbm(p: vec3) -> f32 { + var a = 0.5; + var s = 0.0; + var q = p; + for (var i = 0; i < 3; i++) { + s += a * noise3(q); + q = q * 2.03 + vec3(1.7, 9.2, 3.1); + a *= 0.5; + } + return s; +} + +// The ray (from the camera, along d) through a sphere: entry and exit distances. +fn ray_sphere(d: vec3, c: vec3, r: f32) -> vec2 { + let b = dot(-c, d); + let k = dot(c, c) - r * r; + let h = b * b - k; + if h < 0.0 { return vec2(-1.0, -1.0); } + let s = sqrt(h); + return vec2(-b - s, -b + s); +} + +// The screen size (pixels) of a world radius at a world point. +fn screen_radius(world: vec3, radius: f32) -> f32 { + let right = (frame.view_inverse * vec4(1.0, 0.0, 0.0, 0.0)).xyz; + let a = project(world); + let b = project(world + right * radius); + return length((b.xy - a.xy) * frame.resolution.xy); +} + +fn now() -> f32 { + return frame.params[0].x + frame.time.y; +} + +// Fire's colour from its heat (0 cold soot .. 1 white-hot). +fn fire(heat: f32) -> vec3 { + let h = clamp(heat, 0.0, 1.0); + let ember = vec3(0.35, 0.05, 0.01); + let orange = vec3(1.6, 0.55, 0.12); + let white = vec3(3.0, 2.4, 1.5); + return mix(mix(ember, orange, smoothstep(0.0, 0.5, h)), white, smoothstep(0.6, 1.0, h)); +} + +fn post(uv: vec2, pixel: vec2) -> vec4 { + let t_now = now(); + let blasts = i32(frame.params[0].y); + let lights = i32(frame.params[0].z); + let dir = view_dir(uv); + let px = uv * frame.resolution.xy; + + // 1. Shock waves and heat haze bend where the world is sampled. + var offset = vec2(0.0); + for (var i = 0; i < blasts; i++) { + let a = frame.params[BLAST_BASE + 2 * i]; + let b = frame.params[BLAST_BASE + 2 * i + 1]; + let age = t_now - b.x; + if age < 0.0 { continue; } + let centre = a.xyz; + let p = project(centre); + if p.z <= 0.5 { continue; } + let to = px - p.xy * frame.resolution.xy; + let dist = length(to); + // The shock: a ring racing out, fading in a second. + if age < 24.0 { + let ring = screen_radius(centre, age * 3.2 * (0.6 + a.w * 0.1)); + let width = 6.0 + ring * 0.08; + let x = (dist - ring) / width; + let strength = (1.0 - age / 24.0) * min(a.w / 4.0, 2.0) * 10.0; + offset += normalize(to + vec2(1e-4)) * exp(-x * x) * x * strength * frame.resolution.zw; + } + // Heat haze over a hot fireball. + let heat = 1.0 - smoothstep(0.0, 0.5, age / b.y); + let r = screen_radius(centre, a.w * 2.0); + if heat > 0.0 && dist < r { + let n = noise3(vec3(px * 0.04, t_now * 0.35)) - 0.5; + offset += vec2(n, -abs(n)) * heat * (1.0 - dist / r) * 6.0 * frame.resolution.zw; + } + } + let suv = clamp(uv + offset, vec2(0.0), vec2(1.0)); + var color = scene(suv); + let wall = scene_distance(suv); + + // 1b. Fire lights the land and the vehicles: blasts and flames as point lights on what + // the pixel sees, much stronger at night. + let night = clamp(0.35 - frame.time.z * 1.8, 0.0, 1.0); + let strength = mix(0.35, 2.2, night); + if wall < 1.0e5 { + let p = dir * wall; + var light = vec3(0.0); + for (var i = 0; i < blasts; i++) { + let a = frame.params[BLAST_BASE + 2 * i]; + let b = frame.params[BLAST_BASE + 2 * i + 1]; + let age = t_now - b.x; + if age < 0.0 { continue; } + let heat = exp(-age / max(b.y * 0.12, 1.0)); + let flash = exp(-age * 0.5) * 3.0; + let d = length(p - (a.xyz - frame.camera.xyz)) / (a.w * 3.0); + light += vec3(1.0, 0.55, 0.2) * (heat + flash) * a.w * 0.6 / (1.0 + d * d * 4.0); + } + for (var j = 0; j < lights; j++) { + let a = frame.params[LIGHT_BASE + 2 * j]; + let b = frame.params[LIGHT_BASE + 2 * j + 1]; + let d = length(p - (a.xyz - frame.camera.xyz)) / max(a.w * 6.0, 1.0); + light += b.rgb * b.w / (1.0 + d * d * 6.0); + } + color += color * light * strength + light * 0.02 * night; + } + + // 2. Fireballs and their smoke, marched front to back. + var glow = vec3(0.0); + var trans = 1.0; + var lit = vec3(0.0); + let sun = max(frame.time.z, 0.15); + for (var i = 0; i < blasts; i++) { + let a = frame.params[BLAST_BASE + 2 * i]; + let b = frame.params[BLAST_BASE + 2 * i + 1]; + let age = t_now - b.x; + if age < 0.0 { continue; } + let life = b.y; + let k = clamp(age / life, 0.0, 1.0); + let size = a.w; + let seed = vec3(a.x * 0.37, a.y * 0.11, a.z * 0.53); + // The ball swells fast, then rises and spreads as smoke. + let radius = size * (0.3 + 0.9 * (1.0 - exp(-age / 3.0))) * (1.0 + k * 0.9); + let centre = a.xyz - frame.camera.xyz + vec3(0.0, k * k * size * 2.2, 0.0); + let span = ray_sphere(dir, centre, radius); + if span.y <= 0.0 { continue; } + let t0 = max(span.x, 0.0); + let t1 = min(span.y, wall); + if t1 <= t0 { continue; } + let heat = 1.0 - smoothstep(0.05, 0.55, k); + let fade = 1.0 - smoothstep(0.65, 1.0, k); + // Fewer steps for a fireball that is small on screen. + let on_screen = radius / max(length(centre), 1.0); + let steps = i32(clamp(on_screen * 40.0, 6.0, 14.0)); + let ds = (t1 - t0) / f32(steps); + for (var s = 0; s < steps; s++) { + if trans < 0.02 { break; } + let p = dir * (t0 + (f32(s) + 0.5) * ds); + let local = (p - centre) / radius; + let r = length(local); + let n = fbm(local * 2.4 + seed + vec3(0.0, -age * 0.06, age * 0.02)); + let shape = smoothstep(1.0, 0.25, r + (n - 0.5) * 1.1); + if shape <= 0.0 { continue; } + let density = shape * (1.2 + n * 2.0) * fade; + let absorb = 1.0 - exp(-density * ds * 1.4 / max(radius * 0.25, 0.5)); + // Hot inside, soot outside; smoke lit from above by the sky. + let core = heat * (1.0 - r) * (0.6 + n); + let smoke = vec3(0.10, 0.095, 0.09) * (0.5 + 0.8 * sun * (0.5 + local.y * 0.5)); + let c = mix(smoke, fire(core * 1.6), clamp(core * 2.2, 0.0, 1.0)); + lit += trans * absorb * c; + trans *= 1.0 - absorb; + } + // Light thrown round by the fire. + let d = length(centre); + glow += vec3(1.0, 0.5, 0.15) * heat * heat * size * 0.05 / (1.0 + d * 0.03); + } + color = color * trans + lit; + + // 3. Flashes: a bright bloom at the blast and the whole view lit up for a moment. + for (var i = 0; i < blasts; i++) { + let a = frame.params[BLAST_BASE + 2 * i]; + let b = frame.params[BLAST_BASE + 2 * i + 1]; + let age = t_now - b.x; + if age < 0.0 || age > 10.0 { continue; } + let p = project(a.xyz); + if p.z <= 0.5 { continue; } + let visible = select(0.25, 1.0, scene_distance(p.xy) > p.z - a.w); + let f = exp(-age * 0.7) * min(a.w / 4.0, 2.5) * visible; + let r = screen_radius(a.xyz, a.w * 2.5) + 20.0; + let dd = length(px - p.xy * frame.resolution.xy) / r; + color += vec3(1.0, 0.85, 0.6) * f * (exp(-dd * dd * 3.0) * 2.5 + exp(-dd * 0.8) * 0.25); + color += vec3(1.0, 0.8, 0.55) * f * 0.12 / (1.0 + p.z * 0.01); + } + + // 4. Glows: engine flames and muzzle flashes. + for (var j = 0; j < lights; j++) { + let a = frame.params[LIGHT_BASE + 2 * j]; + let b = frame.params[LIGHT_BASE + 2 * j + 1]; + let p = project(a.xyz); + if p.z <= 0.3 { continue; } + if scene_distance(p.xy) < p.z - a.w * 1.5 { continue; } + let r = screen_radius(a.xyz, a.w) + 3.0; + let dd = length(px - p.xy * frame.resolution.xy) / r; + let flicker = 0.85 + 0.15 * noise3(vec3(a.xyz * 0.7 + vec3(t_now * 1.3))); + color += b.rgb * b.w * flicker * (exp(-dd * dd * 4.0) * 1.2 + exp(-dd * 1.2) * 0.18); + } + + color += glow * 0.3; + // Soft roll-off so bright fire stays coloured instead of clipping flat. + color = color / (1.0 + max(color - vec3(1.0), vec3(0.0)) * 0.5); + return vec4(color, 1.0); +} diff --git a/airdef-mod/src/lib.rs b/airdef-mod/src/lib.rs new file mode 100644 index 0000000..43accf4 --- /dev/null +++ b/airdef-mod/src/lib.rs @@ -0,0 +1,627 @@ +//! AirDef: long-range drones and air defence, drawn as 3D models through the +//! AirDef fork's `render.set-models`. The simulation is `sim`; this file is +//! the glue: the player's items and commands, the HUD, saving, and handing +//! the simulation's output to the game. +use glam::DVec3; +use horizon_mod_sdk::{ + Mod, Registration, chat, command, game, + hud::{self, Corner}, + input::{self, Event}, + render::{self, ModelInstance, ParticleSpawn}, + storage, + ui::{self, ButtonWidget, ItemWidget, ListWidget, Screen, Widget}, +}; + +mod monitor; +mod panel; +mod radar; +mod sim; +use sim::{Class, DroneKind, Ground, Out, Sam, SamKind, Sim}; + +const ITEMS: [&str; 16] = [ + "airdef:designator", + "airdef:launch_shahed", + "airdef:launch_geran3", + "airdef:launch_lancet", + "airdef:launch_kh101", + "airdef:launch_kalibr", + "airdef:launch_kh22", + "airdef:launch_zircon", + "airdef:launch_iskander", + "airdef:launch_kinzhal", + "airdef:deploy_patriot", + "airdef:deploy_gepard", + "airdef:deploy_pantsir", + "airdef:deploy_s400", + "airdef:deploy_s500", + "airdef:remover", +]; + +struct AirDef { + sim: Sim, + ground: Ground, + dirty: bool, + hud_shown: bool, + /// The system the monitor shows (K cycles), none: hidden. + monitor: Option, + monitor_shown: bool, + /// The menu's page while it is open. + menu: Option, +} + +/// A page of the menu. +#[derive(Clone, Copy, PartialEq)] +enum Page { + Main, + Roles(SamKind), +} + +const MENU_KINDS: u32 = 1; +const BTN_HOLD: u32 = 10; +const BTN_SHADER: u32 = 11; +const BTN_DAMAGE: u32 = 12; +const BTN_MONITOR: u32 = 13; +const BTN_CLASS: u32 = 100; +const BTN_ALL: u32 = 120; +const BTN_DEFAULT: u32 = 121; +const BTN_NONE: u32 = 122; +const BTN_BACK: u32 = 199; + +fn say(text: &str) { + chat::show(text); +} + +fn player() -> Option { + game::get_player() +} + +fn eye(p: &game::Player) -> DVec3 { + DVec3::new(p.x, p.y + 1.62, p.z) +} + +/// The player's view direction (Minecraft's yaw and pitch, degrees). +fn view(p: &game::Player) -> DVec3 { + let (yaw, pitch) = (f64::from(p.yaw).to_radians(), f64::from(p.pitch).to_radians()); + DVec3::new(-yaw.sin() * pitch.cos(), -pitch.sin(), yaw.cos() * pitch.cos()) +} + +/// Where the crosshair meets a block, up to 512 blocks. +fn aim() -> Option { + game::raycast(512.0).map(|h| DVec3::new(h.x, h.y, h.z)) +} + +impl AirDef { + fn use_item(&mut self, id: &str) { + let Some(p) = player() else { return }; + let mut out = Out::default(); + match id { + "airdef:designator" => match aim() { + Some(at) => { + if let Some(i) = self.sim.targets.iter().position(|t| t.distance(at) < 3.0) { + self.sim.targets.remove(i); + say("Цель снята"); + } else { + self.sim.targets.push(at); + say(&format!("Цель отмечена: {:.0} {:.0} {:.0}", at.x, at.y, at.z)); + } + self.dirty = true; + } + None => say("Нет блока под прицелом"), + }, + _ if id.starts_with("airdef:launch_") => { + let Some(kind) = DroneKind::from_key(&id["airdef:launch_".len()..]) else { return }; + // Where you look, else the nearest marked target. + let target = aim().or_else(|| self.sim.nearest_target(eye(&p))); + match target { + Some(t) => { + let from = eye(&p) + view(&p) * 2.0 + DVec3::Y; + self.sim.launch(kind, from, view(&p), t, &mut out); + } + None => say("Наведитесь на блок или отметьте цель"), + } + } + _ if id.starts_with("airdef:deploy_") => { + let Some(kind) = SamKind::from_key(&id["airdef:deploy_".len()..]) else { return }; + match aim() { + Some(at) => { + let d = view(&p); + let heading = (-d.x).atan2(-d.z); + let sid = self.sim.id(); + let mut sam = Sam::new(sid, kind, at, heading); + if let Some(r) = self.sim.roles.get(&kind) { + sam.roles = *r; + } + self.sim.sams.push(sam); + out.sound("minecraft:block.anvil.place", at, 2.0, 0.7); + say(&format!("{} развёрнут", kind.name())); + self.dirty = true; + } + None => say("Наведитесь на землю, где поставить комплекс"), + } + } + "airdef:remover" => { + let at = aim().unwrap_or(eye(&p)); + if let Some(i) = self + .sim + .sams + .iter() + .enumerate() + .filter(|(_, s)| s.pos.distance(at) < 10.0) + .min_by(|a, b| a.1.pos.distance(at).total_cmp(&b.1.pos.distance(at))) + .map(|(i, _)| i) + { + let s = self.sim.sams.remove(i); + say(&format!("{} свёрнут", s.kind.name())); + self.dirty = true; + } else { + say("Рядом нет комплекса ПВО"); + } + } + _ => {} + } + self.emit(out); + } + + /// Hands the simulation's output to the game. + /// The post pass's parameters: blasts and glowing parts (shaders/effects.wgsl). + fn shader_params(&self, out: &Out) -> Vec { + let mut p = vec![0.0f32; 4]; + p[0] = self.sim.tick as f32; + let blasts: Vec<&sim::Blast> = self.sim.blasts.iter().rev().take(48).collect(); + p[1] = blasts.len() as f32; + for b in &blasts { + p.extend([b.at.x as f32, b.at.y as f32, b.at.z as f32, b.size]); + p.extend([b.start as f32, b.life as f32, 0.0, 0.0]); + } + p.resize(4 * 97, 0.0); + let mut lights = 0; + for m in out.models.iter().filter(|m| m.glow) { + if lights >= 79 { + break; + } + let (r, g, b, i) = match m.name { + "airdef:flame" | "airdef:geran3_flame" => (1.0, 0.55, 0.18, 1.2), + "airdef:flash" => (1.0, 0.85, 0.5, 2.0), + "airdef:target" => (1.0, 0.1, 0.1, 0.5), + "airdef:tracer" => (1.0, 0.12, 0.05, 0.9), + _ => continue, + }; + p.extend([m.at.x as f32, m.at.y as f32, m.at.z as f32, m.scale * 1.6]); + p.extend([r, g, b, i]); + lights += 1; + } + p[2] = lights as f32; + p + } + + fn emit(&mut self, out: Out) { + if self.sim.shader { + render::set_params(&self.shader_params(&out)); + } + let models: Vec = out + .models + .into_iter() + .map(|m| { + let r = m.rotation.as_quat(); + ModelInstance { + id: m.id, + model: m.name.to_string(), + x: m.at.x, + y: m.at.y, + z: m.at.z, + rotation: (r.x, r.y, r.z, r.w), + scale: m.scale, + glow: m.glow, + } + }) + .collect(); + if !models.is_empty() || self.sim.tick % 20 == 0 { + render::set_models(&models); + } + if !out.particles.is_empty() { + let spawns: Vec = out + .particles + .into_iter() + .take(512) + .map(|p| ParticleSpawn { + particle: p.kind.to_string(), + x: p.at.x, + y: p.at.y, + z: p.at.z, + spread: (p.spread[0], p.spread[1], p.spread[2]), + velocity: (p.velocity.x as f32, p.velocity.y as f32, p.velocity.z as f32), + speed: p.speed, + count: p.count, + color: p.color, + scale: p.scale, + }) + .collect(); + render::spawn_particles(&spawns); + } + for (event, at, volume, pitch) in out.sounds { + render::play_sound(event, at.x, at.y, at.z, volume, pitch); + } + if !out.commands.is_empty() { + command::run_quiet(&out.commands); + } + if let Some((strength, seconds)) = out.shake { + render::shake(strength, seconds); + } + for m in out.messages { + say(&m); + } + } + + fn draw_hud(&mut self, player: DVec3, yaw: f32) { + let air: Vec<&sim::Drone> = self.sim.drones.iter().filter(|d| d.alive()).collect(); + if air.is_empty() && self.sim.sams.is_empty() && self.sim.missiles.is_empty() { + if self.hud_shown { + hud::clear(); + render::clear_corner(); + self.hud_shown = false; + } + return; + } + self.hud_shown = true; + hud::set_panel(Corner::TopRight, &panel::summary(&self.sim, &air, player)); + render::set_corner(render::Corner::BottomRight, radar::SIZE, radar::SIZE + 12.0, &radar::draw(&self.sim, player, yaw)); + } + + // ------------------------------------------------ saving + + fn save(&mut self) { + let mut text = String::new(); + for s in &self.sim.sams { + text += &format!("sam {} {} {} {} {} {}\n", s.kind.key(), s.pos.x, s.pos.y, s.pos.z, s.heading, s.roles); + } + for t in &self.sim.targets { + text += &format!("target {} {} {}\n", t.x, t.y, t.z); + } + text += &format!("damage {}\n", self.sim.damage); + for (kind, roles) in &self.sim.roles { + text += &format!("roles {} {}\n", kind.key(), roles); + } + if let Err(e) = storage::set("state", text.as_bytes()) { + horizon_mod_sdk::warn(&format!("could not save: {e}")); + } + self.dirty = false; + } + + fn load(&mut self) { + let Some(bytes) = storage::get("state") else { return }; + let text = String::from_utf8_lossy(&bytes); + for line in text.lines() { + let w: Vec<&str> = line.split_whitespace().collect(); + let num = |i: usize| w.get(i).and_then(|v| v.parse::().ok()); + match w.first() { + Some(&"sam") => { + if let (Some(kind), Some(x), Some(y), Some(z), Some(h)) = + (w.get(1).and_then(|k| SamKind::from_key(k)), num(2), num(3), num(4), num(5)) + { + let id = self.sim.id(); + let mut sam = Sam::new(id, kind, DVec3::new(x, y, z), h); + if let Some(r) = w.get(6).and_then(|v| v.parse().ok()) { + sam.roles = r; + } + self.sim.sams.push(sam); + } + } + Some(&"target") => { + if let (Some(x), Some(y), Some(z)) = (num(1), num(2), num(3)) { + self.sim.targets.push(DVec3::new(x, y, z)); + } + } + Some(&"damage") => self.sim.damage = w.get(1) != Some(&"false"), + Some(&"roles") => { + if let (Some(kind), Some(r)) = (w.get(1).and_then(|k| SamKind::from_key(k)), w.get(2).and_then(|v| v.parse().ok())) { + self.sim.roles.insert(kind, r); + } + } + _ => {} + } + } + } + + fn give(&self) { + // run-quiet: command.run takes at most 8 lines a call. + let lines: Vec = ITEMS.iter().map(|item| format!("give @s {item}")).collect(); + command::run_quiet(&lines); + say(&format!("Выдано пультов: {}", ITEMS.len())); + } +} + +impl AirDef { + fn cycle_monitor(&mut self) { + self.monitor = match self.monitor { + None if !self.sim.sams.is_empty() => Some(0), + Some(i) if i + 1 < self.sim.sams.len() => Some(i + 1), + _ => None, + }; + } + + fn open_menu(&mut self, page: Page) { + self.menu = Some(page); + let onoff = |b: bool| if b { "вкл" } else { "выкл" }; + let mut widgets = Vec::new(); + let title; + match page { + Page::Main => { + title = "AirDef — командный пункт (N меню, K монитор)".to_string(); + let rows = SamKind::ALL + .iter() + .map(|k| { + let n = self.sim.sams.iter().filter(|s| s.kind == *k).count(); + let r = self.sim.roles.get(k).copied().unwrap_or(k.spec().roles); + format!("{} [{}] · развёрнуто: {n}", k.name(), sim::roles_text(r)) + }) + .collect(); + widgets.push(Widget::List(ListWidget { id: MENU_KINDS, rows, selected: None })); + widgets.push(Widget::Button(ButtonWidget { + id: BTN_HOLD, + label: format!("Огонь ПВО: {}", if self.sim.hold { "запрещён" } else { "разрешён" }), + })); + let monitor = match self.monitor.and_then(|i| self.sim.sams.get(i).map(|s| (i, s))) { + Some((i, s)) => format!("{} №{}", s.kind.name(), i + 1), + None => "скрыт".into(), + }; + widgets.push(Widget::Button(ButtonWidget { id: BTN_MONITOR, label: format!("Монитор: {monitor}") })); + widgets.push(Widget::Button(ButtonWidget { id: BTN_SHADER, label: format!("Эффекты: {}", onoff(self.sim.shader)) })); + widgets.push(Widget::Button(ButtonWidget { id: BTN_DAMAGE, label: format!("Разрушения: {}", onoff(self.sim.damage)) })); + } + Page::Roles(kind) => { + title = format!("{} ({}) — по каким целям стрелять", kind.name(), panel::distance(kind.range())); + let _ = ItemWidget { id: 0, item: String::new(), name: String::new() }; + let roles = self.sim.roles.get(&kind).copied().unwrap_or(kind.spec().roles); + for (i, c) in Class::ALL.iter().enumerate() { + let on = roles & c.bit() != 0; + widgets.push(Widget::Button(ButtonWidget { + id: BTN_CLASS + i as u32, + label: format!("{} {}", if on { "[ВКЛ]" } else { "[ — ]" }, c.name()), + })); + } + widgets.push(Widget::Button(ButtonWidget { id: BTN_DEFAULT, label: "Сбросить по умолчанию".into() })); + widgets.push(Widget::Button(ButtonWidget { id: BTN_BACK, label: "← Назад".into() })); + } + } + ui::open_screen(&Screen { title, widgets }); + } + + fn set_roles(&mut self, kind: SamKind, mask: Option) { + let mask = match mask { + Some(m) => { + self.sim.roles.insert(kind, m); + m + } + None => { + self.sim.roles.remove(&kind); + kind.spec().roles + } + }; + for s in self.sim.sams.iter_mut().filter(|s| s.kind == kind) { + s.roles = mask; + s.target = None; + s.gun_target = None; + } + self.dirty = true; + } +} + +const HELP: &str = "/airdef menu | monitor | give | wave <тип|mix> [кол-во] [дальность] | clear | targets clear | damage on|off | shader on|off | hold on|off | roles [комплекс классы] | stats"; + +impl Mod for AirDef { + fn init() -> Result<(Self, Registration), String> { + let seed = game::get_clock().map_or(0x5eed, |c| c.game_time.wrapping_mul(2654435761) ^ 0x9e37); + let mut me = AirDef { + sim: Sim::new(seed), + ground: Ground::default(), + dirty: false, + hud_shown: false, + monitor: None, + monitor_shown: false, + menu: None, + }; + let _ = input::register_key("menu", "Меню AirDef", "key.keyboard.n"); + let _ = input::register_key("monitor", "Монитор ПВО: следующий комплекс", "key.keyboard.k"); + me.load(); + input::claim_items(&ITEMS.map(String::from)); + render::set_post(include_str!("../shaders/effects.wgsl")); + me.sim.shader = true; + Ok((me, Registration::new().command("airdef").on_tick())) + } + + fn tick(&mut self, _tick: u64) { + let Some(p) = player() else { return }; + for event in input::poll() { + match event { + Event::UseStart(u) => self.use_item(&u.item.id), + Event::KeyDown(k) if k == "menu" => self.open_menu(Page::Main), + Event::KeyDown(k) if k == "monitor" => self.cycle_monitor(), + _ => {} + } + } + let now = self.sim.tick; + self.ground.answer(render::ground(), now); + let mut out = Out::default(); + self.sim.step(&mut self.ground, Some(DVec3::new(p.x, p.y, p.z)), &mut out); + let wanted = self.ground.take_wanted(); + if !wanted.is_empty() { + render::query_ground(&wanted); + } + self.emit(out); + self.draw_hud(DVec3::new(p.x, p.y, p.z), p.yaw); + match self.monitor { + Some(i) if i < self.sim.sams.len() => { + render::set_hud(&monitor::draw(&self.sim, i)); + self.monitor_shown = true; + } + _ => { + if self.monitor_shown { + render::set_hud(&[]); + self.monitor_shown = false; + } + } + } + if self.dirty { + self.save(); + } + } + + fn ui_select(&mut self, id: u32, row: u32) { + let page = self.menu.unwrap_or(Page::Main); + match (page, id) { + (Page::Main, MENU_KINDS) => { + if let Some(k) = SamKind::ALL.get(row as usize) { + self.open_menu(Page::Roles(*k)); + } + return; + } + (Page::Main, BTN_HOLD) => self.sim.hold = !self.sim.hold, + (Page::Main, BTN_MONITOR) => self.cycle_monitor(), + (Page::Main, BTN_SHADER) => { + self.sim.shader = !self.sim.shader; + if self.sim.shader { + render::set_post(include_str!("../shaders/effects.wgsl")); + } else { + render::clear_post(); + } + } + (Page::Main, BTN_DAMAGE) => { + self.sim.damage = !self.sim.damage; + self.dirty = true; + } + (Page::Roles(kind), b) if (BTN_CLASS..BTN_CLASS + 5).contains(&b) => { + let roles = self.sim.roles.get(&kind).copied().unwrap_or(kind.spec().roles); + self.set_roles(kind, Some(roles ^ Class::ALL[(b - BTN_CLASS) as usize].bit())); + } + (Page::Roles(kind), BTN_ALL) => self.set_roles(kind, Some(0x1F)), + (Page::Roles(kind), BTN_DEFAULT) => self.set_roles(kind, None), + (Page::Roles(kind), BTN_NONE) => self.set_roles(kind, Some(0)), + (Page::Roles(_), BTN_BACK) => { + self.open_menu(Page::Main); + return; + } + _ => return, + } + self.open_menu(page); + } + + fn ui_closed(&mut self) { + self.menu = None; + } + + fn command(&mut self, _name: &str, args: &str) -> Result, String> { + let w: Vec<&str> = args.split_whitespace().collect(); + let mut out = Out::default(); + let reply = match w.as_slice() { + ["menu"] => { + self.open_menu(Page::Main); + None + } + ["monitor"] => { + self.cycle_monitor(); + None + } + ["give"] => { + self.give(); + None + } + ["wave", kind, rest @ ..] => { + let count = rest.first().and_then(|v| v.parse().ok()).unwrap_or(5u32).clamp(1, 80); + let dist = rest.get(1).and_then(|v| v.parse().ok()).unwrap_or(260.0f64).clamp(60.0, 800.0); + let p = player().ok_or("Нет игрока")?; + let target = self + .sim + .nearest_target(DVec3::new(p.x, p.y, p.z)) + .ok_or("Сначала отметьте цель Целеуказателем")?; + if *kind == "mix" { + // A combined strike: decoys first, then Shaheds, jets and cruise missiles. + let n = count.max(4); + self.sim.raid(DroneKind::Gerbera, target, n / 3 + 1, dist, &mut out); + self.sim.raid(DroneKind::Shahed, target, n / 3 + 1, dist + 40.0, &mut out); + self.sim.raid(DroneKind::Geran3, target, n / 6 + 1, dist + 200.0, &mut out); + self.sim.raid(DroneKind::Kh101, target, n / 6 + 1, dist + 500.0, &mut out); + self.sim.raid(DroneKind::Kalibr, target, n / 8 + 1, dist + 700.0, &mut out); + self.sim.raid(DroneKind::Iskander, target, n / 12 + 1, dist, &mut out); + } else { + let kind = DroneKind::from_key(kind).ok_or( + "Тип: shahed, geran3, lancet, gerbera, kh101, kalibr, kh22, zircon, iskander, kinzhal или mix", + )?; + self.sim.raid(kind, target, count, dist, &mut out); + } + None + } + ["clear"] => { + self.sim.clear(); + Some("Небо очищено".to_string()) + } + ["targets", "clear"] => { + self.sim.targets.clear(); + self.dirty = true; + Some("Цели убраны".to_string()) + } + ["damage", v @ ("on" | "off")] => { + self.sim.damage = *v == "on"; + self.dirty = true; + Some(format!("Разрушения: {}", if self.sim.damage { "вкл" } else { "выкл" })) + } + ["roles"] => { + for kind in SamKind::ALL { + let r = self.sim.roles.get(&kind).copied().unwrap_or(kind.spec().roles); + let names: Vec<&str> = Class::ALL.iter().filter(|c| r & c.bit() != 0).map(|c| c.name()).collect(); + say(&format!("{}: {}", kind.name(), if names.is_empty() { "ничего".into() } else { names.join(", ") })); + } + Some("Классы: drone, jet, cruise, supersonic, ballistic (или all). /airdef roles <комплекс|all> <классы|default>".into()) + } + ["roles", who, what] => { + let kinds: Vec = if *who == "all" { + SamKind::ALL.to_vec() + } else { + vec![SamKind::from_key(who).ok_or("Комплекс: patriot, gepard, pantsir, s400, s500 или all")?] + }; + for kind in kinds { + let mask = if *what == "default" { + self.sim.roles.remove(&kind); + kind.spec().roles + } else { + let m = sim::parse_roles(what).ok_or("Классы через запятую: drone,jet,cruise,supersonic,ballistic или all")?; + self.sim.roles.insert(kind, m); + m + }; + for s in self.sim.sams.iter_mut().filter(|s| s.kind == kind) { + s.roles = mask; + s.target = None; + s.gun_target = None; + } + } + self.dirty = true; + Some("Роли ПВО обновлены".into()) + } + ["hold", v @ ("on" | "off")] => { + self.sim.hold = *v == "on"; + Some(if self.sim.hold { "ПВО: огонь запрещён".into() } else { "ПВО: огонь разрешён".into() }) + } + ["shader", v @ ("on" | "off")] => { + self.sim.shader = *v == "on"; + if self.sim.shader { + render::set_post(include_str!("../shaders/effects.wgsl")); + } else { + render::clear_post(); + } + Some(format!("Шейдерные эффекты: {}", if self.sim.shader { "вкл" } else { "выкл" })) + } + ["stats"] => Some(format!( + "В воздухе: {}, ракет: {}, ПВО: {}, сбито: {}, поражений: {}", + self.sim.drones.iter().filter(|d| d.alive()).count(), + self.sim.missiles.len(), + self.sim.sams.len(), + self.sim.kills, + self.sim.hits + )), + _ => return Err(HELP.to_string()), + }; + self.emit(out); + Ok(reply) + } +} + +horizon_mod_sdk::export_mod!(AirDef); diff --git a/airdef-mod/src/monitor.rs b/airdef-mod/src/monitor.rs new file mode 100644 index 0000000..e426eb7 --- /dev/null +++ b/airdef-mod/src/monitor.rs @@ -0,0 +1,175 @@ +//! The air-defence monitor (top left): one system at a time (K cycles them): +//! its state, its radar's picture round it and a thermal camera locked on +//! its target. +use crate::panel::distance; +use crate::sim::{Sim, SamState, heading_of, roles_text}; +use horizon_mod_sdk::render::{FillShape, ItemShape, Point, QuadShape, Rect, Shape, TextShape}; + +const W: f32 = 212.0; +const H: f32 = 132.0; +const X: f32 = 4.0; +const Y: f32 = 4.0; + +fn fill(x: f32, y: f32, w: f32, h: f32, color: u32) -> Shape { + Shape::Fill(FillShape { rect: Rect { x, y, w, h }, color }) +} + +fn text(t: impl Into, x: f32, y: f32, color: u32) -> Shape { + Shape::Text(TextShape { text: t.into(), at: Point { x, y }, color, centered: false, shadow: true }) +} + +fn quad(a: (f32, f32), b: (f32, f32), c: (f32, f32), d: (f32, f32), color: u32) -> Shape { + let p = |(x, y): (f32, f32)| Point { x, y }; + Shape::Quad(QuadShape { corners: (p(a), p(b), p(c), p(d)), color }) +} + +fn argb(rgb: u32, a: u32) -> u32 { + (a << 24) | (rgb & 0xFFFFFF) +} + +/// Corner brackets of a box. +fn brackets(s: &mut Vec, x: f32, y: f32, w: f32, h: f32, len: f32, color: u32) { + for (cx, cy, dx, dy) in [(x, y, 1.0, 1.0), (x + w, y, -1.0, 1.0), (x, y + h, 1.0, -1.0), (x + w, y + h, -1.0, -1.0)] { + let fx = if dx > 0.0 { cx } else { cx - len }; + s.push(fill(fx, if dy > 0.0 { cy } else { cy - 1.0 }, len, 1.0, color)); + let gx = if dx > 0.0 { cx } else { cx - 1.0 }; + s.push(fill(gx, if dy > 0.0 { cy } else { cy - len }, 1.0, len, color)); + } +} + +pub fn draw(sim: &Sim, index: usize) -> Vec { + let mut s = Vec::new(); + let Some(sam) = sim.sams.get(index) else { return s }; + let spec = sam.kind.spec(); + let tick = sim.tick; + // Frame. + s.push(fill(X, Y, W, H, 0xC0080C0A)); + s.push(fill(X, Y, W, 12.0, 0xE0142018)); + let state = sam.state; + let blink = matches!(state, SamState::Lock | SamState::Launch | SamState::Fire) && (tick / 4) % 2 == 0; + s.push(text(format!("{} №{}", spec.name, index + 1), X + 3.0, Y + 2.0, 0xFF9FE0FF)); + let label = state.name(); + let lx = X + W - 3.0 - label.chars().count() as f32 * 6.0; + s.push(text(label, lx, Y + 2.0, argb(state.color(), if blink { 0x80 } else { 0xFF }))); + + // The system's radar: round it, its reach at the edge, north up. + let (rx, ry, rr) = (X + 48.0, Y + 64.0, 44.0); + s.push(fill(rx - rr, ry - rr, rr * 2.0, rr * 2.0, 0x60103018)); + let seg = 32; + for k in [0.5f32, 1.0] { + for i in 0..seg { + let a0 = i as f32 / seg as f32 * std::f32::consts::TAU; + let a1 = (i + 1) as f32 / seg as f32 * std::f32::consts::TAU; + let p = |a: f32, r: f32| (rx + a.sin() * r, ry - a.cos() * r); + let r = rr * k; + s.push(quad(p(a0, r - 0.4), p(a0, r + 0.4), p(a1, r + 0.4), p(a1, r - 0.4), 0x9040FF60)); + } + } + let reach = sam.kind.range(); + let sweep = (tick as f32 * 0.12) % std::f32::consts::TAU; + for k in 0..8 { + let a1 = sweep - k as f32 * 0.07; + let a0 = a1 - 0.07; + let p = |a: f32| (rx + a.sin() * rr, ry - a.cos() * rr); + s.push(quad((rx, ry), p(a0), p(a1), p(a1), argb(0x40FF70, (0x70 - k * 8) as u32))); + } + let target = sam.gun_target.or(sam.target).and_then(|t| sim.drones.iter().find(|d| d.id == t)); + let mut seen = 0; + for d in sim.drones.iter().filter(|d| d.alive()) { + let rel = d.pos - sam.pos; + let flat = (rel.x * rel.x + rel.z * rel.z).sqrt(); + if flat > reach * 1.25 { + continue; + } + seen += 1; + let k = (rr as f64 / (reach * 1.25)) as f32; + let (x, y) = (rx + rel.x as f32 * k, ry + rel.z as f32 * k); + let allowed = sam.roles & d.kind.spec().class.bit() != 0; + let color = if Some(d.id) == target.map(|t| t.id) { + 0xFFFFE040 + } else if allowed { + 0xFFFF4040 + } else { + 0xFF808080 + }; + s.push(fill(x - 1.5, y - 1.5, 3.0, 3.0, color)); + } + s.push(fill(rx - 1.5, ry - 1.5, 3.0, 3.0, 0xFF40A0FF)); + s.push(text(format!("РЛС {} · {}", distance(reach), seen), X + 4.0, Y + H - 10.0, 0xFF80FF90)); + + // The camera: a thermal picture of the target, the lock box. + let (cx, cy, cw, ch) = (X + 98.0, Y + 16.0, W - 102.0, 92.0); + s.push(fill(cx, cy, cw, ch, 0xF0101410)); + // Scan lines. + for i in 0..(ch as i32 / 4) { + let y = cy + i as f32 * 4.0 + ((tick % 4) as f32); + if y < cy + ch { + s.push(fill(cx, y, cw, 1.0, 0x18A0FFA0)); + } + } + match target { + Some(t) => { + let size = 3.0; + let ix = cx + cw / 2.0 - 8.0 * size; + let iy = cy + ch / 2.0 - 8.0 * size; + // Track wobble: the picture jitters while the turret is still slewing. + let jitter = if state == SamState::Slew { ((tick * 7) % 5) as f32 - 2.0 } else { 0.0 }; + s.push(Shape::Item(ItemShape { + item: format!("airdef:cam_{}", t.kind.spec().key), + at: Point { x: ix + jitter, y: iy - jitter * 0.5 }, + scale: size, + })); + // A warm tint over the image, as a thermal camera's. + s.push(fill(cx, cy, cw, ch, 0x2840FF40)); + let lock = matches!(state, SamState::Lock | SamState::Launch | SamState::Fire); + let color = if lock { if blink { 0xFFFF3030 } else { 0xFFFF8080 } } else { 0xFFFFE060 }; + let (bw, bh) = (54.0, 40.0); + brackets(&mut s, cx + cw / 2.0 - bw / 2.0, cy + ch / 2.0 - bh / 2.0, bw, bh, 7.0, color); + s.push(fill(cx + cw / 2.0 - 0.5, cy + 4.0, 1.0, 10.0, 0x80FFFFFF)); + s.push(fill(cx + cw / 2.0 - 0.5, cy + ch - 14.0, 1.0, 10.0, 0x80FFFFFF)); + if lock { + s.push(text("ЗАХВАТ", cx + cw / 2.0 - 18.0, cy + 3.0, color)); + } + let rel = t.pos - sam.pos; + let bearing = (heading_of(rel).to_degrees() + 180.0).rem_euclid(360.0); + s.push(text(t.kind.spec().name, cx + 3.0, cy + ch - 20.0, 0xFFFFFFFF)); + s.push(text( + format!( + "{} в{:.0} {:.0}км/ч П{:03.0}", + distance(rel.length()), + t.pos.y - sam.pos.y, + t.vel.length() * 72.0, + bearing + ), + cx + 3.0, + cy + ch - 10.0, + 0xFFC0FFC0, + )); + } + None => { + let noise = (tick * 2654435761) % 997; + for i in 0..14 { + let x = cx + ((noise as f32 * (i + 3) as f32 * 13.7) % cw); + let y = cy + ((noise as f32 * (i + 7) as f32 * 7.3) % ch); + s.push(fill(x, y, 2.0, 1.0, 0x50FFFFFF)); + } + s.push(text("НЕТ ЦЕЛИ", cx + cw / 2.0 - 24.0, cy + ch / 2.0 - 4.0, 0xFF80FF90)); + } + } + + // What it carries and does. + let mut line = String::new(); + if spec_missiles(sam) { + line += &format!("ракеты {} ", sam.missiles); + } + if sam.bursts > 0 || sam.kind.spec().key == "gepard" { + line += &format!("снар. {} ", sam.bursts); + } + line += &format!("сбил {} · [{}]", sam.kills, roles_text(sam.roles)); + s.push(text(line, cx, Y + H - 10.0, 0xFF9FE0FF)); + s +} + +fn spec_missiles(sam: &crate::sim::Sam) -> bool { + !matches!(sam.kind, crate::sim::SamKind::Gepard) +} diff --git a/airdef-mod/src/panel.rs b/airdef-mod/src/panel.rs new file mode 100644 index 0000000..a7bee2b --- /dev/null +++ b/airdef-mod/src/panel.rs @@ -0,0 +1,82 @@ +//! The summary panel (top right): the alert, what is in the air, each +//! air-defence system's state and the score. +use crate::sim::{Drone, DroneKind, Sim}; +use glam::DVec3; +use horizon_mod_sdk::hud::Line; + +const RED: u32 = 0xFF5050; +const PINK: u32 = 0xFFB0B0; +const CYAN: u32 = 0x9FE0FF; +const GREY: u32 = 0xB0B0B0; +const YELLOW: u32 = 0xFFE070; +const GREEN: u32 = 0x80FF90; + +/// Metres (a block is a metre) as a short distance. +pub fn distance(m: f64) -> String { + if m >= 1000.0 { format!("{:.1} км", m / 1000.0) } else { format!("{:.0} м", m) } +} + +/// Blocks a tick as km/h. +fn kmh(v: DVec3) -> f64 { + v.length() * 20.0 * 3.6 +} + +pub fn summary(sim: &Sim, air: &[&Drone], player: DVec3) -> Vec { + let mut lines = Vec::new(); + let line = |text: String, color: u32| Line { text, color }; + if air.is_empty() { + lines.push(line("Небо чистое".into(), GREEN)); + } else { + let blink = (sim.tick / 10) % 2 == 0; + lines.push(line(format!("ВОЗДУШНАЯ ТРЕВОГА — целей: {}", air.len()), if blink { RED } else { PINK })); + // By type. + let mut by_type = String::new(); + for kind in DroneKind::ALL { + let n = air.iter().filter(|d| d.kind == kind).count(); + if n > 0 { + if !by_type.is_empty() { + by_type += ", "; + } + by_type += &format!("{} ×{n}", kind.spec().name); + } + } + lines.push(line(by_type, PINK)); + // The nearest threat to the player. + if let Some(d) = air.iter().min_by(|a, b| a.pos.distance(player).total_cmp(&b.pos.distance(player))) { + lines.push(line( + format!( + "Ближ.: {} {} выс.{:.0} {:.0}км/ч", + d.kind.spec().name, + distance(d.pos.distance(player)), + d.pos.y - player.y, + kmh(d.vel) + ), + PINK, + )); + } + } + if !sim.missiles.is_empty() { + lines.push(line(format!("Перехватчиков в полёте: {}", sim.missiles.len()), YELLOW)); + } + for sam in sim.sams.iter().take(8) { + let mut text = format!("{} [{}]", sam.status(), crate::sim::roles_text(sam.roles)); + if let Some(t) = sam.gun_target.or(sam.target).and_then(|t| sim.drones.iter().find(|d| d.id == t)) { + text += &format!(" > {} {}", t.kind.spec().name, distance(t.pos.distance(sam.pos))); + } + if sam.kills > 0 { + text += &format!(" ({})", sam.kills); + } + lines.push(line(text, CYAN)); + } + if sim.sams.len() > 8 { + lines.push(line(format!("…и ещё {} комплексов", sim.sams.len() - 8), CYAN)); + } + let real = sim.launched.saturating_sub(0); + let rate = if real > 0 { sim.kills as f64 * 100.0 / real as f64 } else { 0.0 }; + lines.push(line( + format!("Сбито {} из {} ({rate:.0}%) · прорвалось {}", sim.kills, sim.launched, sim.hits), + GREY, + )); + lines.truncate(16); + lines +} diff --git a/airdef-mod/src/radar.rs b/airdef-mod/src/radar.rs new file mode 100644 index 0000000..c4b70f5 --- /dev/null +++ b/airdef-mod/src/radar.rs @@ -0,0 +1,140 @@ +//! The radar screen (top left): a round scope round the player, north up, +//! with a sweeping beam; blips fade after the beam passes them. +use crate::panel::distance; +use crate::sim::{SamKind, Sim}; +use glam::DVec3; +use horizon_mod_sdk::render::{FillShape, Point, QuadShape, Rect, Shape, TextShape}; + +/// The scope's side in GUI pixels. +pub const SIZE: f32 = 112.0; +/// Blocks from the centre to the edge. +const RANGE: f64 = 500.0; +const SEGMENTS: usize = 48; + +fn pt(x: f32, y: f32) -> Point { + Point { x, y } +} + +fn quad(a: Point, b: Point, c: Point, d: Point, color: u32) -> Shape { + Shape::Quad(QuadShape { corners: (a, b, c, d), color }) +} + +fn square(x: f32, y: f32, half: f32, color: u32) -> Shape { + Shape::Fill(FillShape { rect: Rect { x: x - half, y: y - half, w: half * 2.0, h: half * 2.0 }, color }) +} + +fn text(t: String, x: f32, y: f32, color: u32, centered: bool) -> Shape { + Shape::Text(TextShape { text: t, at: pt(x, y), color, centered, shadow: true }) +} + +/// 0xAARRGGBB with this alpha (0..1). +fn alpha(rgb: u32, a: f64) -> u32 { + ((a.clamp(0.0, 1.0) * 255.0) as u32) << 24 | (rgb & 0xFFFFFF) +} + +pub fn draw(sim: &Sim, player: DVec3, yaw: f32) -> Vec { + let mut s = Vec::new(); + let r = SIZE / 2.0 - 2.0; + let (cx, cy) = (SIZE / 2.0, SIZE / 2.0); + let at = |a: f32, rad: f32| pt(cx + a.sin() * rad, cy - a.cos() * rad); + let tau = std::f32::consts::TAU; + // The scope: a dark disc, rings every fifth of the range, a cross. + for i in 0..SEGMENTS { + let (a0, a1) = (i as f32 / SEGMENTS as f32 * tau, (i + 1) as f32 / SEGMENTS as f32 * tau); + s.push(quad(pt(cx, cy), at(a0, r), at(a1, r), at(a1, r), 0xD0061208)); + } + for k in 1..=4 { + let rr = r * k as f32 / 4.0; + for i in 0..SEGMENTS { + let (a0, a1) = (i as f32 / SEGMENTS as f32 * tau, (i + 1) as f32 / SEGMENTS as f32 * tau); + s.push(quad(at(a0, rr - 0.5), at(a0, rr + 0.5), at(a1, rr + 0.5), at(a1, rr - 0.5), if k == 4 { 0xC040FF60 } else { 0x5030C050 })); + } + } + s.push(Shape::Fill(FillShape { rect: Rect { x: cx - 0.5, y: cy - r, w: 1.0, h: r * 2.0 }, color: 0x3030C050 })); + s.push(Shape::Fill(FillShape { rect: Rect { x: cx - r, y: cy - 0.5, w: r * 2.0, h: 1.0 }, color: 0x3030C050 })); + // The beam and its afterglow. + let sweep = (sim.tick as f32 * 0.07) % tau; + for k in 0..14 { + let a1 = sweep - k as f32 * 0.06; + let a0 = a1 - 0.06; + let glow = 0.55 * (1.0 - k as f32 / 14.0); + s.push(quad(pt(cx, cy), at(a0, r), at(a1, r), at(a1, r), alpha(0x40FF70, glow as f64))); + } + // World to scope: north (-z) up. + let scope = |p: DVec3| -> Option<(f32, f32, f32)> { + let d = p - player; + let flat = (d.x * d.x + d.z * d.z).sqrt(); + if flat > RANGE { + return None; + } + let k = (r as f64 / RANGE) as f32; + let bearing = (d.x as f32).atan2(-d.z as f32).rem_euclid(tau); + Some((cx + d.x as f32 * k, cy + d.z as f32 * k, bearing)) + }; + // A blip is brightest just after the beam passes it. + let fade = |bearing: f32| -> f64 { + let since = (sweep - bearing).rem_euclid(tau) / tau; + (1.0 - since as f64 * 0.8).max(0.25) + }; + // Air defence: their reach, and themselves. + for sam in &sim.sams { + if let Some((x, y, _)) = scope(sam.pos) { + let reach = (sam.kind.range() / RANGE) as f32 * r; + if reach < r * 1.5 { + for i in 0..SEGMENTS { + let (a0, a1) = (i as f32 / SEGMENTS as f32 * tau, (i + 1) as f32 / SEGMENTS as f32 * tau); + let p = |a: f32, rad: f32| pt(x + a.sin() * rad, y - a.cos() * rad); + if i % 2 == 0 { + s.push(quad(p(a0, reach - 0.4), p(a0, reach + 0.4), p(a1, reach + 0.4), p(a1, reach - 0.4), 0x5060C0FF)); + } + } + } + let color = match sam.kind { + SamKind::Gepard | SamKind::Pantsir => 0xFF60E0FF, + _ => 0xFF40A0FF, + }; + s.push(square(x, y, 2.5, color)); + } + } + for t in &sim.targets { + if let Some((x, y, _)) = scope(*t) { + s.push(quad(pt(x - 3.0, y - 2.0), pt(x - 2.0, y - 3.0), pt(x + 3.0, y + 2.0), pt(x + 2.0, y + 3.0), 0xFFFF3030)); + s.push(quad(pt(x + 2.0, y - 3.0), pt(x + 3.0, y - 2.0), pt(x - 2.0, y + 3.0), pt(x - 3.0, y + 2.0), 0xFFFF3030)); + } + } + for m in &sim.missiles { + if let Some((x, y, _)) = scope(m.pos) { + s.push(square(x, y, 1.0, 0xFFFFE060)); + } + } + let mut far = 0; + for d in &sim.drones { + match scope(d.pos) { + Some((x, y, bearing)) => { + let a = fade(bearing); + if d.alive() { + s.push(square(x, y, 1.8, alpha(0xFF4040, a))); + // Its heading, a short tail. + let v = d.vel.normalize_or_zero(); + s.push(quad(pt(x, y), pt(x + 0.6, y), pt(x - v.x as f32 * 6.0 + 0.6, y - v.z as f32 * 6.0), pt(x - v.x as f32 * 6.0, y - v.z as f32 * 6.0), alpha(0xFF4040, a * 0.6))); + } else { + s.push(square(x, y, 1.2, alpha(0x909090, a))); + } + } + None if d.alive() => far += 1, + None => {} + } + } + // The player: a white arrow the way they look. + // Minecraft's yaw 0 looks south (+z, down the scope). + let face = yaw.to_radians(); + let tip = |a: f32, l: f32| pt(cx - (face + a).sin() * l, cy + (face + a).cos() * l); + s.push(quad(tip(0.0, 6.0), tip(2.5, 4.0), pt(cx, cy), tip(-2.5, 4.0), 0xFFFFFFFF)); + // Labels. + s.push(text(format!("РЛС · {}", distance(RANGE)), cx, SIZE + 2.0, 0xFF80FF90, true)); + s.push(text("С".into(), cx, 3.0, 0xFF80FF90, true)); + if far > 0 { + s.push(text(format!("+{far} за пределом"), cx, SIZE - 14.0, 0xFFFF8080, true)); + } + s +} diff --git a/airdef-mod/src/sim.rs b/airdef-mod/src/sim.rs new file mode 100644 index 0000000..a698314 --- /dev/null +++ b/airdef-mod/src/sim.rs @@ -0,0 +1,1762 @@ +//! The simulation: drones, interceptors, air-defence systems and effects, +//! one step a game tick. It knows nothing of the game: what it needs from +//! the world comes in (`ground`, the player's position), what it wants to +//! happen goes out as [`Out`] (models, particles, sounds, commands). +//! +//! Every kind of drone, missile and air-defence system is a row of numbers +//! (`DroneKind::spec`, `MissileKind::spec`, `SamKind::spec`) plus how its +//! parts are drawn (`Sim::draw_sam`). +use glam::{DQuat, DVec3}; +use std::collections::HashMap; + +pub const TAU: f64 = std::f64::consts::TAU; +const HALF_PI: f64 = std::f64::consts::FRAC_PI_2; + +// ---------------------------------------------------------------- output + +/// A model to draw this tick (the mod turns these into `render.set-models`). +pub struct Model { + pub id: u32, + pub name: &'static str, + pub at: DVec3, + pub rotation: DQuat, + pub scale: f32, + pub glow: bool, +} + +pub struct Particle { + pub kind: &'static str, + pub at: DVec3, + pub spread: [f32; 3], + pub velocity: DVec3, + pub speed: f32, + pub count: u32, + pub color: u32, + pub scale: f32, +} + +/// A blast the post-processing shader draws as a fireball, flash and shock. +#[derive(Clone, Copy)] +pub struct Blast { + pub at: DVec3, + /// Fireball radius in blocks. + pub size: f32, + /// The tick it went off. + pub start: u64, + pub life: u32, +} + +#[derive(Default)] +pub struct Out { + pub models: Vec, + pub particles: Vec, + pub sounds: Vec<(&'static str, DVec3, f32, f32)>, + pub commands: Vec, + /// Camera jolt (strength, seconds), the strongest this tick. + pub shake: Option<(f32, f32)>, + pub messages: Vec, +} + +impl Out { + fn model(&mut self, id: u32, name: &'static str, at: DVec3, rotation: DQuat, scale: f64, glow: bool) { + self.models.push(Model { id, name, at, rotation, scale: scale as f32, glow }); + } + fn particles(&mut self, kind: &'static str, at: DVec3, spread: f32, velocity: DVec3, speed: f32, count: u32) { + self.particles.push(Particle { kind, at, spread: [spread; 3], velocity, speed, count, color: 0, scale: 1.0 }); + } + fn dust(&mut self, at: DVec3, color: u32, scale: f32, spread: f32, count: u32) { + self.particles.push(Particle { + kind: "minecraft:dust", + at, + spread: [spread; 3], + velocity: DVec3::ZERO, + speed: 0.0, + count, + color, + scale, + }); + } + pub fn sound(&mut self, event: &'static str, at: DVec3, volume: f32, pitch: f32) { + self.sounds.push((event, at, volume, pitch)); + } + fn jolt(&mut self, strength: f32, seconds: f32) { + if self.shake.is_none_or(|(s, _)| s < strength) { + self.shake = Some((strength.min(1.0), seconds)); + } + } +} + +// ---------------------------------------------------------------- maths + +/// A small xorshift: the simulation's own randomness. +pub struct Rng(u64); +impl Rng { + pub fn new(seed: u64) -> Self { + Self(seed | 1) + } + pub fn next(&mut self) -> u64 { + self.0 ^= self.0 << 13; + self.0 ^= self.0 >> 7; + self.0 ^= self.0 << 17; + self.0 + } + /// 0..1 + pub fn f(&mut self) -> f64 { + (self.next() >> 11) as f64 / (1u64 << 53) as f64 + } + /// -1..1 + pub fn s(&mut self) -> f64 { + self.f() * 2.0 - 1.0 + } + pub fn chance(&mut self, p: f64) -> bool { + self.f() < p + } +} + +/// The models' noses point north (-z): the rotation that points one along +/// `dir`, rolled by `roll` (radians, right wing down positive). +pub fn look(dir: DVec3, roll: f64) -> DQuat { + let d = dir.normalize_or(DVec3::NEG_Z); + DQuat::from_rotation_y(heading_of(d)) * DQuat::from_rotation_x(d.y.clamp(-1.0, 1.0).asin()) * DQuat::from_rotation_z(-roll) +} + +/// The yaw `look` gives a direction (0 = north, radians). +pub fn heading_of(d: DVec3) -> f64 { + (-d.x).atan2(-d.z) +} + +/// `from` turned towards `to` by at most `max` radians. +fn turn(from: DVec3, to: DVec3, max: f64) -> DVec3 { + let a = from.normalize_or(DVec3::NEG_Z); + let b = to.normalize_or(a); + let angle = a.angle_between(b); + if angle <= max || angle < 1e-9 { + return b; + } + let axis = a.cross(b); + let axis = if axis.length_squared() < 1e-12 { a.any_orthonormal_vector() } else { axis.normalize() }; + DQuat::from_axis_angle(axis, max) * a +} + +pub fn horizontal(v: DVec3) -> DVec3 { + DVec3::new(v.x, 0.0, v.z) +} + +/// Turns `from` towards `to` (angles, radians) by at most `rate`. +fn slew(from: f64, to: f64, rate: f64) -> f64 { + from + angle_diff(from, to).clamp(-rate, rate) +} + +fn angle_diff(from: f64, to: f64) -> f64 { + (to - from + std::f64::consts::PI).rem_euclid(TAU) - std::f64::consts::PI +} + +// ---------------------------------------------------------------- the world + +/// Ground heights the game answered (`render.ground`), by column. +#[derive(Default)] +pub struct Ground { + known: HashMap<(i32, i32), (i32, u64)>, + wanted: Vec<(i32, i32)>, +} + +impl Ground { + /// One above the highest solid block, if known; the column is asked for + /// when it isn't (or is old). + pub fn at(&mut self, p: DVec3, now: u64) -> Option { + let key = (p.x.floor() as i32, p.z.floor() as i32); + match self.known.get(&key) { + Some(&(y, when)) => { + if now.saturating_sub(when) > 200 && !self.wanted.contains(&key) { + self.wanted.push(key); + } + (y > -64).then_some(f64::from(y)) + } + None => { + if self.wanted.len() < 256 && !self.wanted.contains(&key) { + self.wanted.push(key); + } + None + } + } + } + pub fn answer(&mut self, answers: Vec<(i32, i32, i32)>, now: u64) { + for (x, z, y) in answers { + self.known.insert((x, z), (y, now)); + } + if self.known.len() > 20_000 { + self.known.retain(|_, (_, when)| now - *when < 400); + } + } + pub fn take_wanted(&mut self) -> Vec<(i32, i32)> { + std::mem::take(&mut self.wanted) + } + /// Explosions change the land: forget what was known round them. + fn forget(&mut self, at: DVec3, radius: i32) { + let (cx, cz) = (at.x.floor() as i32, at.z.floor() as i32); + self.known.retain(|&(x, z), _| (x - cx).abs() > radius || (z - cz).abs() > radius); + } +} + +// ---------------------------------------------------------------- drones + +/// What kind of target it is, for air defence's roles. +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum Class { + /// Slow propeller drones. + Drone, + /// Jet drones. + Jet, + /// Subsonic cruise missiles. + Cruise, + /// Supersonic and hypersonic missiles. + Supersonic, + /// Ballistic and aeroballistic missiles. + Ballistic, +} + +impl Class { + pub const ALL: [Class; 5] = [Class::Drone, Class::Jet, Class::Cruise, Class::Supersonic, Class::Ballistic]; + pub fn bit(self) -> u8 { + 1 << self as u8 + } + pub fn key(self) -> &'static str { + match self { + Class::Drone => "drone", + Class::Jet => "jet", + Class::Cruise => "cruise", + Class::Supersonic => "supersonic", + Class::Ballistic => "ballistic", + } + } + pub fn name(self) -> &'static str { + match self { + Class::Drone => "дроны", + Class::Jet => "реакт. дроны", + Class::Cruise => "крылатые", + Class::Supersonic => "сверхзвуковые", + Class::Ballistic => "баллистика", + } + } + /// A short mark for the summary. + pub fn letter(self) -> &'static str { + match self { + Class::Drone => "Д", + Class::Jet => "Г", + Class::Cruise => "К", + Class::Supersonic => "С", + Class::Ballistic => "Б", + } + } + pub fn from_key(key: &str) -> Option { + Self::ALL.into_iter().find(|c| c.key() == key) + } +} + +/// Roles as a mask of [`Class::bit`]s, from `drone,jet,...` or `all`. +pub fn parse_roles(text: &str) -> Option { + if text == "all" { + return Some(0x1F); + } + let mut mask = 0; + for word in text.split(',') { + mask |= Class::from_key(word.trim())?.bit(); + } + Some(mask) +} + +pub fn roles_text(mask: u8) -> String { + Class::ALL.iter().filter(|c| mask & c.bit() != 0).map(|c| c.letter()).collect::>().join("") +} + +/// Ballistic flight's gravity, blocks a tick². +const GRAVITY: f64 = 0.05; + +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum DroneKind { + Shahed, + Geran3, + Lancet, + Gerbera, + Kh101, + Kalibr, + Kh22, + Zircon, + Iskander, + Kinzhal, +} + +/// What a drone carries on its tail. +#[derive(Clone, Copy)] +enum Engine { + /// A pusher propeller this far behind the centre (model blocks), this big. + Prop(f64, f64), + /// A jet's flame at (up, back) model blocks, this big. + Jet(f64, f64, f64), + /// A rocket motor's long flame this far behind the centre, this big. + Rocket(f64, f64), +} + +pub struct DroneSpec { + pub name: &'static str, + pub key: &'static str, + model: &'static str, + speed: f64, + turn: f64, + /// Height over the target it cruises at. + cruise: f64, + /// Height it keeps over the land it flies over. + clearance: f64, + /// Horizontal distance from the target where it dives. + dive: f64, + /// Primed TNT on impact. + warhead: u32, + scale: f64, + engine: Engine, + /// No warhead: it only draws fire. + pub decoy: bool, + /// How hard it is to hit (1 normal). + stealth: f64, + /// Its sound: event, pitch, every n ticks. + sound: (&'static str, f32, u32), + pub class: Class, + /// Ballistic: launched this far away on a raid, flying an arc. + pub ballistic: Option, +} + +impl DroneKind { + pub const ALL: [DroneKind; 10] = [ + DroneKind::Shahed, + DroneKind::Geran3, + DroneKind::Lancet, + DroneKind::Gerbera, + DroneKind::Kh101, + DroneKind::Kalibr, + DroneKind::Kh22, + DroneKind::Zircon, + DroneKind::Iskander, + DroneKind::Kinzhal, + ]; + pub fn spec(self) -> &'static DroneSpec { + match self { + DroneKind::Shahed => &DroneSpec { + name: "Шахед-136", + key: "shahed", + model: "airdef:shahed", + speed: 0.6, + turn: 0.035, + cruise: 45.0, + clearance: 18.0, + dive: 32.0, + warhead: 3, + scale: 1.3, + engine: Engine::Prop(1.34, 1.0), + decoy: false, + stealth: 1.0, + sound: ("airdef:drone.shahed", 1.0, 48), + class: Class::Drone, + ballistic: None, + }, + DroneKind::Geran3 => &DroneSpec { + name: "Герань-3", + key: "geran3", + model: "airdef:geran3", + speed: 1.6, + turn: 0.03, + cruise: 60.0, + clearance: 18.0, + dive: 50.0, + warhead: 2, + scale: 1.15, + engine: Engine::Jet(0.34, 1.55, 1.0), + decoy: false, + stealth: 1.1, + sound: ("airdef:drone.geran3", 1.0, 40), + class: Class::Jet, + ballistic: None, + }, + DroneKind::Lancet => &DroneSpec { + name: "Ланцет-3", + key: "lancet", + model: "airdef:lancet", + speed: 1.1, + turn: 0.07, + cruise: 25.0, + clearance: 10.0, + dive: 38.0, + warhead: 1, + scale: 0.9, + engine: Engine::Prop(0.93, 0.55), + decoy: false, + stealth: 1.4, + sound: ("airdef:drone.lancet", 1.0, 32), + class: Class::Drone, + ballistic: None, + }, + DroneKind::Gerbera => &DroneSpec { + name: "Гербера", + key: "gerbera", + model: "airdef:gerbera", + speed: 0.5, + turn: 0.04, + cruise: 40.0, + clearance: 15.0, + dive: 30.0, + warhead: 0, + scale: 1.1, + engine: Engine::Prop(1.03, 0.9), + decoy: true, + stealth: 0.9, + sound: ("airdef:drone.shahed", 1.3, 40), + class: Class::Drone, + ballistic: None, + }, + DroneKind::Kh101 => &DroneSpec { + name: "Х-101", + key: "kh101", + model: "airdef:kh101", + speed: 2.4, + turn: 0.025, + cruise: 0.0, + clearance: 12.0, + dive: 26.0, + warhead: 6, + scale: 1.6, + engine: Engine::Jet(-0.27, 1.4, 0.6), + decoy: false, + stealth: 1.5, + sound: ("airdef:drone.cruise", 1.0, 50), + class: Class::Cruise, + ballistic: None, + }, + DroneKind::Kalibr => &DroneSpec { + name: "Калибр", + key: "kalibr", + model: "airdef:kalibr", + speed: 2.1, + turn: 0.025, + cruise: 0.0, + clearance: 15.0, + dive: 26.0, + warhead: 5, + scale: 1.5, + engine: Engine::Jet(-0.2, 1.5, 0.6), + decoy: false, + stealth: 1.3, + sound: ("airdef:drone.cruise", 1.2, 50), + class: Class::Cruise, + ballistic: None, + }, + DroneKind::Kh22 => &DroneSpec { + name: "Х-22", + key: "kh22", + model: "airdef:kh22", + speed: 4.0, + turn: 0.03, + cruise: 140.0, + clearance: 40.0, + dive: 150.0, + warhead: 7, + scale: 1.8, + engine: Engine::Rocket(1.5, 1.3), + decoy: false, + stealth: 1.4, + sound: ("airdef:drone.rocket", 0.8, 46), + class: Class::Supersonic, + ballistic: None, + }, + DroneKind::Zircon => &DroneSpec { + name: "Циркон", + key: "zircon", + model: "airdef:zircon", + speed: 5.5, + turn: 0.025, + cruise: 90.0, + clearance: 30.0, + dive: 110.0, + warhead: 6, + scale: 1.4, + engine: Engine::Rocket(1.5, 1.1), + decoy: false, + stealth: 2.0, + sound: ("airdef:drone.rocket", 1.35, 46), + class: Class::Supersonic, + ballistic: None, + }, + DroneKind::Iskander => &DroneSpec { + name: "Искандер-М", + key: "iskander", + model: "airdef:iskander", + speed: 5.0, + turn: 0.04, + cruise: 0.0, + clearance: 0.0, + dive: 0.0, + warhead: 8, + scale: 1.8, + engine: Engine::Rocket(1.5, 1.6), + decoy: false, + stealth: 1.6, + sound: ("airdef:drone.rocket", 0.7, 46), + class: Class::Ballistic, + ballistic: Some(1000.0), + }, + DroneKind::Kinzhal => &DroneSpec { + name: "Кинжал", + key: "kinzhal", + model: "airdef:kinzhal", + speed: 7.5, + turn: 0.03, + cruise: 0.0, + clearance: 0.0, + dive: 0.0, + warhead: 8, + scale: 1.7, + engine: Engine::Rocket(1.5, 1.5), + decoy: false, + stealth: 2.2, + sound: ("airdef:drone.rocket", 0.6, 46), + class: Class::Ballistic, + ballistic: Some(1500.0), + }, + } + } + pub fn from_key(key: &str) -> Option { + Self::ALL.into_iter().find(|k| k.spec().key == key) + } +} + +#[derive(PartialEq)] +enum Flight { + Cruise, + Dive, + /// An arc under gravity; the motor burns for the first ticks. + Ballistic, + /// Shot down: spinning down, burning. + Falling, +} + +pub struct Drone { + pub id: u32, + pub kind: DroneKind, + pub pos: DVec3, + pub vel: DVec3, + target: DVec3, + flight: Flight, + roll: f64, + spin: f64, + age: u32, + /// Interceptors on their way to it. + pub engaged: u32, +} + +impl Drone { + pub fn alive(&self) -> bool { + self.flight != Flight::Falling + } + /// How much a system wants to shoot it: fast and heavy first, decoys look real. + fn threat(&self, from: DVec3) -> f64 { + let s = self.kind.spec(); + let warhead = if s.decoy { 3.0 } else { s.warhead as f64 }; + (1.0 + warhead) * (1.0 + s.speed) / (1.0 + self.pos.distance(from) * 0.02) + } +} + +// ---------------------------------------------------------------- interceptors + +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum MissileKind { + Pac3, + M57e6, + M48n6, + M77n6, +} + +struct MissileSpec { + model: &'static str, + speed: f64, + accel: f64, + turn: f64, + /// Ticks of straight flight before guidance. + boost: u32, + /// Thrown out of the tube by gas first; the motor lights this many ticks later. + cold: u32, + pk: f64, + fuse: f64, + life: u32, + scale: f64, + flame: f64, + /// The nozzle, model units behind the centre (z). + rear: f64, +} + +impl MissileKind { + fn spec(self) -> &'static MissileSpec { + match self { + MissileKind::Pac3 => &MissileSpec { + model: "airdef:pac3", + speed: 5.5, + accel: 0.35, + turn: 0.3, + boost: 8, + cold: 0, + pk: 0.9, + fuse: 4.0, + life: 240, + scale: 1.0, + flame: 1.0, + rear: 28.0, + }, + MissileKind::M57e6 => &MissileSpec { + model: "airdef:m57e6", + speed: 5.0, + accel: 0.5, + turn: 0.32, + boost: 5, + cold: 0, + pk: 0.82, + fuse: 3.0, + life: 160, + scale: 0.85, + flame: 0.65, + rear: 28.0, + }, + MissileKind::M48n6 => &MissileSpec { + model: "airdef:m48n6", + speed: 7.0, + accel: 0.5, + turn: 0.22, + boost: 8, + cold: 5, + pk: 0.9, + fuse: 5.0, + life: 300, + scale: 1.5, + flame: 1.4, + rear: 30.0, + }, + MissileKind::M77n6 => &MissileSpec { + model: "airdef:m77n6", + speed: 9.0, + accel: 0.6, + turn: 0.22, + boost: 8, + cold: 5, + pk: 0.95, + fuse: 6.0, + life: 320, + scale: 1.7, + flame: 1.6, + rear: 32.0, + }, + } + } +} + +pub struct Missile { + pub id: u32, + pub kind: MissileKind, + pub pos: DVec3, + vel: DVec3, + target: u32, + /// The system that fired it. + sam: u32, + age: u32, +} + +// ---------------------------------------------------------------- air defence + +#[derive(Clone, Copy, PartialEq, Eq, Debug, Hash)] +pub enum SamKind { + Patriot, + Gepard, + Pantsir, + S400, + S500, +} + +struct MissileLoad { + kind: MissileKind, + magazine: u32, + min: f64, + max: f64, + /// Ticks between launches. + interval: u32, +} + +struct GunSpec { + range: f64, + /// Starts tracking from here. + track: f64, + /// Chance per burst at point blank. + p: f64, + bursts: u32, + /// Shell speed for the lead, blocks a tick. + shell: f64, + slew: (f64, f64), +} + +pub struct SamSpec { + pub name: &'static str, + pub key: &'static str, + missile: Option, + gun: Option, + reload: u32, + scale: f64, + /// Where it points its launcher at rest (pitch, radians). + rest_pitch: f64, + /// Which classes of target it engages unless told otherwise. + pub roles: u8, +} + +impl SamKind { + pub const ALL: [SamKind; 5] = [SamKind::Patriot, SamKind::Gepard, SamKind::Pantsir, SamKind::S400, SamKind::S500]; + pub fn spec(self) -> &'static SamSpec { + match self { + SamKind::Patriot => &SamSpec { + name: "Patriot", + key: "patriot", + missile: Some(MissileLoad { kind: MissileKind::Pac3, magazine: 4, min: 10.0, max: 300.0, interval: 16 }), + gun: None, + reload: 220, + scale: 1.3, + rest_pitch: 0.66, + roles: 30, + }, + SamKind::Gepard => &SamSpec { + name: "Гепард", + key: "gepard", + missile: None, + gun: Some(GunSpec { range: 90.0, track: 130.0, p: 0.3, bursts: 160, shell: 10.0, slew: (0.22, 0.16) }), + reload: 160, + scale: 1.25, + rest_pitch: 0.0, + roles: 7, + }, + SamKind::Pantsir => &SamSpec { + name: "Панцирь-С1", + key: "pantsir", + missile: Some(MissileLoad { kind: MissileKind::M57e6, magazine: 12, min: 25.0, max: 150.0, interval: 14 }), + gun: Some(GunSpec { range: 60.0, track: 90.0, p: 0.25, bursts: 140, shell: 9.0, slew: (0.25, 0.18) }), + reload: 280, + scale: 1.3, + rest_pitch: 0.0, + roles: 15, + }, + SamKind::S400 => &SamSpec { + name: "С-400", + key: "s400", + missile: Some(MissileLoad { kind: MissileKind::M48n6, magazine: 4, min: 30.0, max: 480.0, interval: 20 }), + gun: None, + reload: 420, + scale: 1.5, + rest_pitch: HALF_PI - 0.02, + roles: 30, + }, + SamKind::S500 => &SamSpec { + name: "С-500", + key: "s500", + missile: Some(MissileLoad { kind: MissileKind::M77n6, magazine: 4, min: 40.0, max: 700.0, interval: 20 }), + gun: None, + reload: 520, + scale: 1.6, + rest_pitch: HALF_PI - 0.02, + roles: 24, + }, + } + } + pub fn name(self) -> &'static str { + self.spec().name + } + pub fn key(self) -> &'static str { + self.spec().key + } + pub fn from_key(key: &str) -> Option { + Self::ALL.into_iter().find(|k| k.key() == key) + } + pub fn range(self) -> f64 { + let s = self.spec(); + s.missile.as_ref().map_or(0.0, |m| m.max).max(s.gun.as_ref().map_or(0.0, |g| g.range)) + } +} + +/// What a system is doing, for the monitor. +#[derive(Clone, Copy, PartialEq, Eq, Debug)] +pub enum SamState { + Search, + Track, + Slew, + Lock, + Launch, + Fire, + Reload, + Hold, +} + +impl SamState { + pub fn name(self) -> &'static str { + match self { + SamState::Search => "ПОИСК", + SamState::Track => "СОПРОВОЖДЕНИЕ", + SamState::Slew => "ДОВОРОТ", + SamState::Lock => "ЗАХВАТ", + SamState::Launch => "ПУСК", + SamState::Fire => "ОГОНЬ", + SamState::Reload => "ПЕРЕЗАРЯДКА", + SamState::Hold => "ОГОНЬ ЗАПРЕЩЁН", + } + } + pub fn color(self) -> u32 { + match self { + SamState::Search => 0x60FF80, + SamState::Track => 0xFFE060, + SamState::Slew => 0xFFB040, + SamState::Lock => 0xFF5040, + SamState::Launch | SamState::Fire => 0xFFFFFF, + SamState::Reload => 0x80A0FF, + SamState::Hold => 0xA0A0A0, + } + } +} + +pub struct Sam { + pub state: SamState, + /// Ticks the monitor keeps showing a launch. + launched: u32, + pub id: u32, + pub kind: SamKind, + /// The vehicle's centre on the ground. + pub pos: DVec3, + /// Where its nose points (radians, as `look`'s yaw). + pub heading: f64, + yaw: f64, + pitch: f64, + pub missiles: u32, + pub bursts: u32, + cooldown: u32, + gun_cooldown: u32, + pub reloading: u32, + /// What its missiles are after, and what its guns track. + pub target: Option, + pub gun_target: Option, + dish: f64, + recoil: f64, + flash: u32, + pub kills: u32, + pub fired: u32, + /// The classes of target it engages (`Class::bit`s). + pub roles: u8, +} + +impl Sam { + pub fn new(id: u32, kind: SamKind, pos: DVec3, heading: f64) -> Self { + let spec = kind.spec(); + Self { + id, + kind, + pos, + heading, + yaw: heading, + pitch: spec.rest_pitch, + missiles: spec.missile.as_ref().map_or(0, |m| m.magazine), + bursts: spec.gun.as_ref().map_or(0, |g| g.bursts), + cooldown: 40, + gun_cooldown: 0, + reloading: 0, + target: None, + gun_target: None, + dish: 0.0, + recoil: 0.0, + flash: 0, + kills: 0, + fired: 0, + roles: spec.roles, + state: SamState::Search, + launched: 0, + } + } + fn base(&self) -> DQuat { + DQuat::from_rotation_y(self.heading) + } + fn scale(&self) -> f64 { + self.kind.spec().scale + } + /// Where shells and missiles leave: the centre of the turret or the + /// launcher's pivot, and the rotation they leave with. + fn mount(&self) -> (DVec3, DQuat) { + let s = self.scale(); + let base = self.base(); + match self.kind { + SamKind::Patriot => ( + self.pos + base * DVec3::new(0.0, 0.69 * s, 1.2 * s), + DQuat::from_rotation_y(self.yaw) * DQuat::from_rotation_x(self.pitch), + ), + SamKind::Gepard => ( + self.pos + DVec3::new(0.0, 1.55 * s, 0.0) + base * DVec3::new(0.0, 0.0, 0.25 * s), + DQuat::from_rotation_y(self.yaw) * DQuat::from_rotation_x(self.pitch), + ), + SamKind::Pantsir => ( + self.pos + DVec3::new(0.0, 1.35 * s, 0.0) + base * DVec3::new(0.0, 0.0, 0.69 * s), + DQuat::from_rotation_y(self.yaw) * DQuat::from_rotation_x(self.pitch), + ), + SamKind::S400 | SamKind::S500 => ( + self.pos + base * DVec3::new(0.0, 0.7 * s, 1.45 * s), + base * DQuat::from_rotation_x(self.pitch), + ), + } + } + /// Where missile `n` of the magazine leaves (world), and which way. + fn muzzle(&self, n: u32) -> (DVec3, DVec3) { + let (at, rot) = self.mount(); + let s = self.scale(); + let local = match self.kind { + SamKind::Patriot => DVec3::new( + if n % 2 == 0 { -0.42 } else { 0.42 }, + 0.625 + if n % 4 < 2 { 0.28 } else { -0.28 }, + -2.8, + ), + SamKind::Pantsir => { + let side = if n % 2 == 0 { -0.94 } else { 0.94 }; + let row = (n / 2) % 6; + DVec3::new(side + ((row % 3) as f64 - 1.0) * 0.15, 0.1 + if row < 3 { 0.15 } else { -0.15 }, -1.5) + } + SamKind::S400 => { + let i = n % 4; + // From the pivot (rear bottom of the pack) to the top of tube i. + DVec3::new(if i % 2 == 0 { -0.25 } else { 0.25 }, if i < 2 { 0.22 } else { 0.72 }, -3.0) + } + SamKind::S500 => DVec3::new(if n % 2 == 0 { -0.33 } else { 0.33 }, 0.3, -3.0), + SamKind::Gepard => DVec3::ZERO, + }; + (at + rot * local * s, rot * DVec3::NEG_Z) + } + pub fn status(&self) -> String { + let spec = self.kind.spec(); + let mut text = spec.name.to_string(); + if self.reloading > 0 { + text += &format!(" перезарядка {}с", self.reloading.div_ceil(20)); + } else { + if let Some(m) = &spec.missile { + text += &format!(" ракеты {}/{}", self.missiles, m.magazine); + } + if spec.gun.is_some() { + text += &format!(" снаряды {}", self.bursts); + } + } + text + } +} + +// ---------------------------------------------------------------- effects + +enum Fx { + /// A glowing fireball growing then shrinking (when the shader can't draw it). + Fireball { pos: DVec3, size: f64, age: u32, life: u32, spin: DQuat }, + /// A falling piece of a drone. + Debris { pos: DVec3, vel: DVec3, rot: DQuat, spin: DQuat, age: u32 }, + /// A glowing red tracer round. + Tracer { pos: DVec3, vel: DVec3, life: u32 }, +} + +// ---------------------------------------------------------------- the simulation + +pub struct Sim { + /// Roles set for a kind of system (`/airdef roles`), new ones included. + pub roles: HashMap, + pub drones: Vec, + pub missiles: Vec, + pub sams: Vec, + pub targets: Vec, + fx: Vec<(u32, Fx)>, + /// Blasts for the post-processing shader. + pub blasts: Vec, + next: u32, + pub rng: Rng, + pub tick: u64, + pub kills: u32, + pub hits: u32, + pub launched: u32, + /// Explosions damage the land (primed TNT through commands). + pub damage: bool, + /// The shader draws fireballs: no glowing cubes. + pub shader: bool, + /// Air defence holds fire. + pub hold: bool, +} + +/// Ids: objects get multiples of 16, their parts the low bits. +const PARTS: u32 = 16; + +impl Sim { + pub fn new(seed: u64) -> Self { + Self { + roles: HashMap::new(), + drones: Vec::new(), + missiles: Vec::new(), + sams: Vec::new(), + targets: Vec::new(), + fx: Vec::new(), + blasts: Vec::new(), + next: 1, + rng: Rng::new(seed), + tick: 0, + kills: 0, + hits: 0, + launched: 0, + damage: true, + shader: false, + hold: false, + } + } + pub fn id(&mut self) -> u32 { + self.next += 1; + self.next * PARTS + } + + pub fn nearest_target(&self, to: DVec3) -> Option { + self.targets.iter().copied().min_by(|a, b| a.distance_squared(to).total_cmp(&b.distance_squared(to))) + } + + fn add_drone(&mut self, kind: DroneKind, from: DVec3, dir: DVec3, target: DVec3) { + let id = self.id(); + let spec = kind.spec(); + let (vel, flight) = if spec.ballistic.is_some() { + // An arc from `from` to `target` at the kind's horizontal speed. + let flat = horizontal(target - from); + let time = (flat.length() / spec.speed).max(30.0); + let up = (target.y - from.y + 0.5 * GRAVITY * time * time) / time; + (flat / time + DVec3::Y * up, Flight::Ballistic) + } else { + (dir.normalize_or(DVec3::NEG_Z) * spec.speed, Flight::Cruise) + }; + self.drones.push(Drone { + id, + kind, + pos: from, + vel, + target, + flight, + roll: 0.0, + spin: 0.0, + age: 0, + engaged: 0, + }); + self.launched += 1; + } + + /// Launches a drone from `from`, heading `dir`, for `target`. + pub fn launch(&mut self, kind: DroneKind, from: DVec3, dir: DVec3, target: DVec3, out: &mut Out) { + let dir = DVec3::new(dir.x, dir.y.max(0.35), dir.z).normalize_or(DVec3::Y); + let from = if kind.spec().ballistic.is_some() { from + DVec3::Y * 2.0 } else { from }; + self.add_drone(kind, from, dir, target); + out.sound("airdef:launch.patriot", from, 1.0, 1.3); + out.particles("minecraft:large_smoke", from, 0.6, DVec3::ZERO, 0.05, 30); + out.particles("minecraft:flame", from, 0.3, -dir * 0.2, 0.05, 12); + } + + /// A raid: `count` drones from random bearings `dist` blocks out. + pub fn raid(&mut self, kind: DroneKind, target: DVec3, count: u32, dist: f64, out: &mut Out) { + let spec = kind.spec(); + // A raid comes from one sector, spread over ±40°. + let centre = self.rng.f() * TAU; + for _ in 0..count { + let a = centre + self.rng.s() * 0.7; + let d = spec.ballistic.map_or(dist, |far| far.max(dist)) + self.rng.f() * 60.0; + let height = if spec.ballistic.is_some() { 10.0 } else if spec.cruise > 0.0 { spec.cruise } else { 25.0 }; + let from = target + DVec3::new(a.sin() * d, height + self.rng.s() * 8.0, a.cos() * d); + let aim = target + DVec3::new(self.rng.s() * 5.0, 0.0, self.rng.s() * 5.0); + self.add_drone(kind, from, horizontal(target - from), aim); + } + out.messages.push(format!("ВОЗДУШНАЯ ТРЕВОГА: {count} × {}", spec.name)); + out.sound("minecraft:event.raid.horn", target, 64.0, 1.0); + } + + pub fn clear(&mut self) { + self.drones.clear(); + self.missiles.clear(); + self.fx.clear(); + self.blasts.clear(); + } + + /// One game tick. + pub fn step(&mut self, ground: &mut Ground, player: Option, out: &mut Out) { + self.tick += 1; + self.step_drones(ground, player, out); + self.step_sams(out); + self.step_missiles(out); + self.step_fx(ground, out); + self.draw_targets(out); + let now = self.tick; + self.blasts.retain(|b| now - b.start < b.life as u64); + } + + // ------------------------------------------------ drones + + fn step_drones(&mut self, ground: &mut Ground, player: Option, out: &mut Out) { + let now = self.tick; + let mut boom: Vec<(DVec3, u32, bool)> = Vec::new(); + let mut removed: Vec = Vec::new(); + for d in &mut self.drones { + d.age += 1; + let spec = d.kind.spec(); + let below = ground.at(d.pos, now); + if d.flight == Flight::Falling { + d.vel.y -= 0.05; + d.vel *= 0.985; + d.spin += 0.35; + d.pos += d.vel; + if self.rng.chance(0.5) { + out.particles("minecraft:large_smoke", d.pos, 0.2, DVec3::new(0.0, 0.05, 0.0), 0.02, 1); + } + out.particles("minecraft:flame", d.pos, 0.25, DVec3::ZERO, 0.02, 2); + if below.is_some_and(|g| d.pos.y <= g + 0.3) || d.age > 600 { + // The wreck's warhead may still go off where it lands. + let warhead = if spec.decoy || !self.rng.chance(0.35) { 0 } else { spec.warhead.min(2) }; + boom.push((d.pos, warhead, true)); + removed.push(d.id); + } + continue; + } + if d.flight == Flight::Ballistic { + // The motor burns for 3 s; then the arc, and the warhead steers in at the end. + let burning = d.age < 60; + d.vel.y -= GRAVITY; + if d.vel.y < 0.0 && d.pos.distance(d.target) < 260.0 { + let sp = d.vel.length(); + d.vel = turn(d.vel, d.target - d.pos, spec.turn) * sp; + } + d.pos += d.vel; + let speed = d.vel.length(); + let hit = d.pos.distance(d.target) < speed.max(2.0) + || below.is_some_and(|g| d.pos.y <= g + 0.2) + || d.age > 4000; + if hit { + boom.push((d.pos, spec.warhead, false)); + removed.push(d.id); + self.hits += 1; + continue; + } + let dir = d.vel.normalize_or_zero(); + if burning { + out.particles("minecraft:flame", d.pos - dir * 2.5 * spec.scale, 0.15, -dir * 0.2, 0.02, 3); + out.particles("minecraft:cloud", d.pos - dir * 3.5 * spec.scale, 0.4, DVec3::ZERO, 0.01, 3); + } else if d.vel.y < -2.0 { + // Re-entry: the nose glows, a thin trail. + out.particles("minecraft:small_flame", d.pos + dir * spec.scale, 0.1, DVec3::ZERO, 0.0, 1); + out.particles("minecraft:white_smoke", d.pos - dir * spec.scale, 0.1, DVec3::ZERO, 0.0, 1); + } + let (event, pitch, every) = spec.sound; + if burning && d.age % every == 0 { + out.sound(event, d.pos, 1.0, pitch); + } + // The scream of the warhead coming down, once, and its shock wave. + if d.vel.y < -1.0 && d.spin == 0.0 && d.pos.distance(d.target) < d.vel.length() * 80.0 { + d.spin = 1.0; + let p = if d.kind == DroneKind::Kinzhal { 0.85 } else { 1.0 }; + out.sound("airdef:drone.ballistic", d.pos, 1.0, p); + out.sound("airdef:boom.sonic", d.pos, 1.0, p); + } + continue; + } + if d.flight == Flight::Cruise && horizontal(d.target - d.pos).length() < spec.dive { + d.flight = Flight::Dive; + } + let goal = if d.flight == Flight::Dive { + d.target + } else { + // Cruise height over the target, and `clearance` over the land ahead. + let ahead = ground.at(d.pos + horizontal(d.vel).normalize_or_zero() * 20.0, now); + let floor = match (below, ahead) { + (Some(a), Some(b)) => a.max(b) + spec.clearance, + (Some(g), None) | (None, Some(g)) => g + spec.clearance, + (None, None) => d.target.y + spec.clearance, + }; + DVec3::new(d.target.x, (d.target.y + spec.cruise).max(floor), d.target.z) + }; + let rate = if d.flight == Flight::Dive { spec.turn * 3.5 } else { spec.turn }; + let old = d.vel.normalize_or(DVec3::NEG_Z); + let new = turn(old, goal - d.pos, rate); + let side = old.cross(new).y; + d.roll += ((side * 40.0).clamp(-0.8, 0.8) - d.roll) * 0.15; + let speed = if d.flight == Flight::Dive { spec.speed * 1.35 } else { spec.speed }; + d.vel = new * speed; + d.pos += d.vel; + let at_target = d.pos.distance(d.target) < speed.max(1.5); + let in_ground = below.is_some_and(|g| d.pos.y <= g + 0.2); + if at_target || in_ground || d.age > 8000 { + boom.push((d.pos, spec.warhead, spec.decoy)); + removed.push(d.id); + if !spec.decoy { + self.hits += 1; + } + continue; + } + let back = d.pos - d.vel.normalize_or_zero() * 1.5 * spec.scale; + match spec.engine { + Engine::Prop(..) => { + if d.age % 2 == 0 { + out.particles("minecraft:smoke", back, 0.05, DVec3::ZERO, 0.01, 1); + } + } + Engine::Jet(..) => out.particles("minecraft:smoke", back, 0.08, DVec3::ZERO, 0.01, 1), + Engine::Rocket(..) => { + out.particles("minecraft:flame", back, 0.08, -d.vel * 0.05, 0.01, 1); + out.particles("minecraft:cloud", back - d.vel.normalize_or_zero() * 1.5, 0.15, DVec3::ZERO, 0.005, 1); + } + } + let (event, pitch, every) = spec.sound; + if d.age % every == 0 { + out.sound(event, d.pos, 1.0, pitch); + } + } + for (pos, warhead, small) in boom { + self.explode(pos, warhead, small, ground, player, out); + } + self.drones.retain(|d| !removed.contains(&d.id)); + for d in &self.drones { + let spec = d.kind.spec(); + let s = spec.scale; + let mut rot = look(d.vel, d.roll); + if d.flight == Flight::Falling { + rot = rot * DQuat::from_rotation_z(d.spin) * DQuat::from_rotation_x(-0.6); + } + out.model(d.id, spec.model, d.pos, rot, s, false); + if !d.alive() { + continue; + } + match spec.engine { + Engine::Prop(back, size) => { + let at = d.pos + rot * DVec3::new(0.0, 0.0, back * s); + let spin = DQuat::from_rotation_z(d.age as f64 * 1.1); + out.model(d.id + 1, "airdef:shahed_prop", at, rot * spin, s * size, false); + } + Engine::Jet(up, back, size) => { + let at = d.pos + rot * DVec3::new(0.0, up * s, back * s); + let flicker = 0.7 + 0.3 * self.rng.f(); + out.model(d.id + 1, "airdef:geran3_flame", at, rot, s * size * flicker, true); + } + Engine::Rocket(back, size) => { + if d.flight != Flight::Ballistic || d.age < 60 { + let flicker = 0.8 + 0.2 * self.rng.f(); + let at = d.pos + rot * DVec3::new(0.0, 0.0, back * s + size * flicker); + out.model(d.id + 1, "airdef:flame", at, rot, size * flicker, true); + } + } + } + } + } + + /// A blast: a fireball, smoke, sound, a jolt for a near player, and (with + /// `damage`) primed TNT for the land. + fn explode(&mut self, pos: DVec3, tnt: u32, small: bool, ground: &mut Ground, player: Option, out: &mut Out) { + let big = tnt >= 3; + let size = match tnt { + 0 => 2.5, + 1 | 2 => 4.5, + 3..=4 => 7.0, + _ => 9.0, + }; + self.fireball(pos, size, if big { 18 } else { 11 }); + out.particles("minecraft:explosion_emitter", pos, 0.5, DVec3::ZERO, 0.0, if big { 3 } else { 1 }); + // The shader draws the fireball and smoke; particles add sparks and debris. + let n = if self.shader { 12 } else { 40 }; + out.particles("minecraft:large_smoke", pos, size as f32 * 0.4, DVec3::new(0.0, 0.1, 0.0), 0.08, n); + out.particles("minecraft:flame", pos, size as f32 * 0.3, DVec3::ZERO, 0.2, n); + out.particles("minecraft:lava", pos, 1.0, DVec3::ZERO, 0.0, 16); + out.particles("minecraft:campfire_signal_smoke", pos, 1.2, DVec3::new(0.0, 0.04, 0.0), 0.01, if big { 30 } else { 10 }); + let pitch = 0.9 + self.rng.f() as f32 * 0.2; + let event = if big { "airdef:blast.big" } else if tnt > 0 { "airdef:blast.medium" } else { "airdef:blast.air" }; + out.sound(event, pos, 1.0, if small { pitch * 1.15 } else { pitch }); + if let Some(p) = player { + let d = p.distance(pos); + let reach = if big { 100.0 } else { 45.0 }; + if d < reach { + out.jolt((1.0 - d / reach) as f32 * if big { 0.9 } else { 0.4 }, if big { 1.6 } else { 0.8 }); + } + } + if self.damage && tnt > 0 { + for i in 0..tnt { + out.commands.push(format!( + "summon tnt {:.2} {:.2} {:.2} {{fuse:0s}}", + pos.x + self.rng.s() * 0.8, + pos.y + i as f64 * 0.5, + pos.z + self.rng.s() * 0.8 + )); + } + ground.forget(pos, 8); + } + } + + fn fireball(&mut self, pos: DVec3, size: f64, life: u32) { + self.blasts.push(Blast { at: pos, size: size as f32, start: self.tick, life: life * 9 }); + if self.blasts.len() > 48 { + self.blasts.remove(0); + } + if self.shader { + return; + } + let id = self.id(); + let spin = DQuat::from_euler(glam::EulerRot::XYZ, self.rng.s() * 0.2, self.rng.s() * 0.2, self.rng.s() * 0.2); + self.fx.push((id, Fx::Fireball { pos, size, age: 0, life, spin })); + } + + /// A drone hit by air defence: a flash, pieces, and it falls burning. + fn shoot_down(&mut self, idx: usize, by: u32, out: &mut Out) { + let d = &mut self.drones[idx]; + if !d.alive() { + return; + } + d.flight = Flight::Falling; + d.age = 0; + d.vel = d.vel * 0.6 + DVec3::new(0.0, 0.15, 0.0); + let pos = d.pos; + let vel = d.vel; + self.kills += 1; + if let Some(s) = self.sams.iter_mut().find(|s| s.id == by) { + s.kills += 1; + } + self.fireball(pos, 3.5, 8); + out.particles("minecraft:explosion", pos, 0.6, DVec3::ZERO, 0.0, 4); + out.particles("minecraft:large_smoke", pos, 1.0, DVec3::ZERO, 0.06, 25); + out.particles("minecraft:firework", pos, 0.3, DVec3::ZERO, 0.35, 30); + out.sound("airdef:blast.air", pos, 1.0, 1.0 + self.rng.f() as f32 * 0.2); + for _ in 0..5 { + let id = self.id(); + let v = vel + DVec3::new(self.rng.s(), self.rng.f() * 0.8, self.rng.s()) * 0.35; + let spin = DQuat::from_euler(glam::EulerRot::XYZ, self.rng.s() * 0.4, self.rng.s() * 0.4, self.rng.s() * 0.4); + self.fx.push((id, Fx::Debris { pos, vel: v, rot: DQuat::IDENTITY, spin, age: 0 })); + } + } + + // ------------------------------------------------ air defence + + fn step_sams(&mut self, out: &mut Out) { + if self.hold { + for i in 0..self.sams.len() { + self.sams[i].state = SamState::Hold; + self.draw_sam(i, out); + } + return; + } + let mut launches: Vec<(MissileKind, DVec3, DVec3, u32, u32)> = Vec::new(); + let mut gun_hits: Vec<(u32, u32)> = Vec::new(); + let mut tracers: Vec<(u32, DVec3, DVec3, u32)> = Vec::new(); + for i in 0..self.sams.len() { + let spec = self.sams[i].kind.spec(); + { + let sam = &mut self.sams[i]; + sam.cooldown = sam.cooldown.saturating_sub(1); + sam.gun_cooldown = sam.gun_cooldown.saturating_sub(1); + sam.flash = sam.flash.saturating_sub(1); + sam.recoil *= 0.6; + sam.dish = (sam.dish + 0.15) % TAU; + if sam.reloading > 0 { + sam.reloading -= 1; + if sam.reloading == 0 { + sam.missiles = spec.missile.as_ref().map_or(0, |m| m.magazine); + sam.bursts = spec.gun.as_ref().map_or(0, |g| g.bursts); + out.sound("minecraft:block.piston.extend", sam.pos, 2.0, 0.6); + } + } + } + let pos = self.sams[i].pos; + let me = self.sams[i].id; + let roles = self.sams[i].roles; + let allowed = |d: &Drone| d.alive() && roles & d.kind.spec().class.bit() != 0; + // Interceptors a target has or will have: in flight, and other systems' launchers on it. + let claimed = |d: &Drone| { + d.engaged + self.sams.iter().filter(|s| s.id != me && s.target == Some(d.id)).count() as u32 + }; + // Ballistic missiles get a pair; anything else one. + let needed = |d: &Drone| if d.kind.spec().class == Class::Ballistic { 2 } else { 1 }; + if let Some(load) = &spec.missile { + let in_reach = |d: &Drone, k: f64| (load.min..load.max * k).contains(&d.pos.distance(pos)); + let keep = self.sams[i].target.filter(|t| { + self.drones.iter().any(|d| d.id == *t && allowed(d) && in_reach(d, 1.1)) + }); + let target = keep.or_else(|| { + self.drones + .iter() + .filter(|d| allowed(d) && in_reach(d, 1.0) && claimed(d) < needed(d)) + .max_by(|a, b| a.threat(pos).total_cmp(&b.threat(pos))) + .map(|d| d.id) + }); + self.sams[i].target = target; + } + // Guns: the nearest, spread over the targets the other guns and missiles aren't on. + if let Some(gun) = &spec.gun { + let guns_on = |d: &Drone| { + self.sams.iter().filter(|s| s.id != me && s.gun_target == Some(d.id)).count() as f64 + }; + self.sams[i].gun_target = self + .drones + .iter() + .filter(|d| allowed(d) && d.pos.distance(pos) < gun.track) + .map(|d| { + let busy = 1.0 + 2.0 * guns_on(d) + if d.engaged > 0 { 1.5 } else { 0.0 }; + (d.pos.distance(pos) * busy, d.id) + }) + .min_by(|a, b| a.0.total_cmp(&b.0)) + .map(|(_, id)| id); + } + let sam = &mut self.sams[i]; + // What the turret or launcher points at: guns first when a target is close. + let aim = sam.gun_target.or(sam.target).and_then(|t| self.drones.iter().find(|d| d.id == t)); + sam.launched = sam.launched.saturating_sub(1); + let Some(aim) = aim else { + sam.state = if sam.reloading > 0 { SamState::Reload } else { SamState::Search }; + sam.yaw = slew(sam.yaw, sam.heading, 0.03); + sam.pitch += (spec.rest_pitch - sam.pitch) * 0.05; + continue; + }; + let (mount, _) = sam.mount(); + let lead_speed = spec.gun.as_ref().map_or(5.0, |g| g.shell); + let lead = aim.pos + aim.vel * (aim.pos.distance(mount) / lead_speed); + let to = lead - mount; + let want_yaw = heading_of(to); + let want_pitch = (to.y / to.length().max(0.01)).asin().clamp(-0.1, 1.45); + let (yaw_rate, pitch_rate) = spec.gun.as_ref().map_or((0.05, 0.05), |g| g.slew); + match sam.kind { + SamKind::S400 | SamKind::S500 => {} // vertical launch: no aiming + SamKind::Patriot => sam.yaw = slew(sam.yaw, want_yaw, 0.12), + _ => { + sam.yaw = slew(sam.yaw, want_yaw, yaw_rate); + sam.pitch = slew(sam.pitch, want_pitch, pitch_rate); + } + } + let aim_error = angle_diff(sam.yaw, want_yaw).abs() + + if spec.gun.is_some() { (want_pitch - sam.pitch).abs() } else { 0.0 }; + let vertical = matches!(sam.kind, SamKind::S400 | SamKind::S500); + sam.state = if sam.reloading > 0 { + SamState::Reload + } else if sam.launched > 0 { + SamState::Launch + } else if sam.flash > 0 { + SamState::Fire + } else if !vertical && aim_error > 0.15 { + SamState::Slew + } else if aim.pos.distance(mount) < self::SamKind::range(sam.kind) { + SamState::Lock + } else { + SamState::Track + }; + // Guns. + if let (Some(gun), Some(gt)) = (&spec.gun, sam.gun_target) { + if let Some(t) = self.drones.iter().find(|d| d.id == gt) { + let dist = t.pos.distance(mount); + if aim.id == gt && aim_error < 0.1 && dist < gun.range && sam.gun_cooldown == 0 && sam.reloading == 0 && sam.bursts > 0 { + sam.gun_cooldown = 2; + sam.bursts -= 1; + sam.flash = 2; + sam.recoil = 1.0; + if sam.bursts == 0 && sam.missiles == 0 { + sam.reloading = spec.reload; + } + let (_, rot) = sam.mount(); + let s = spec.scale; + let barrels: &[DVec3] = match sam.kind { + SamKind::Pantsir => &[DVec3::new(-0.95, 0.33, -1.5), DVec3::new(0.95, 0.33, -1.5)], + _ => &[DVec3::new(-0.92, -0.11, -1.55), DVec3::new(0.92, -0.11, -1.55)], + }; + for b in barrels { + let muzzle = mount + rot * *b * s; + let dir = (lead - muzzle).normalize(); + let len = muzzle.distance(lead).min(gun.range * 1.2); + // Every round is a red tracer flying out at the shell's speed. + let scatter = DVec3::new(self.rng.s(), self.rng.s(), self.rng.s()) * 0.012; + let id = self.next * PARTS + 0x0800_0000; + self.next += 1; + tracers.push((id, muzzle + dir * 1.5, (dir + scatter).normalize() * gun.shell, (len / gun.shell) as u32 + 2)); + out.particles("minecraft:smoke", muzzle, 0.1, dir * 0.05, 0.01, 2); + } + // A gun sound holds a few shots: one every other burst. + if sam.bursts % 2 == 0 { + let event = if sam.kind == SamKind::Pantsir { "airdef:gun.pantsir" } else { "airdef:gun.gepard" }; + out.sound(event, mount, 1.0, 0.95 + self.rng.f() as f32 * 0.1); + } + let p = gun.p / t.kind.spec().stealth * (1.0 - dist / (gun.range * 1.3)).max(0.35); + if self.rng.chance(p) { + gun_hits.push((gt, sam.id)); + } else { + out.particles("minecraft:crit", t.pos, 1.2, DVec3::ZERO, 0.2, 4); + } + } + } + } + // Missiles. + if let (Some(load), Some(mt)) = (&spec.missile, sam.target) { + let ready = sam.cooldown == 0 && sam.reloading == 0 && sam.missiles > 0; + let aligned = match sam.kind { + SamKind::Patriot => { + let t = self.drones.iter().find(|d| d.id == mt); + // The missile turns after its boost: the launcher needn't be exact. + t.is_some_and(|t| angle_diff(sam.yaw, heading_of(t.pos - mount)).abs() < 0.45) + } + SamKind::Pantsir => aim.id == mt && aim_error < 0.2, + _ => true, + }; + if ready && aligned { + let n = load.magazine - sam.missiles; + let (muzzle, dir) = sam.muzzle(n); + launches.push((load.kind, muzzle, dir, mt, sam.id)); + // Its missile is on it: the next launch looks for another target. + sam.target = None; + sam.launched = 12; + sam.missiles -= 1; + sam.fired += 1; + sam.cooldown = load.interval; + if sam.missiles == 0 && (spec.gun.is_none() || sam.bursts == 0) { + sam.reloading = spec.reload; + } + } + } + } + for (kind, muzzle, dir, target, sam) in launches { + let spec = kind.spec(); + let id = self.id(); + let v0 = if spec.cold > 0 { 0.7 } else { 0.8 }; + self.missiles.push(Missile { id, kind, pos: muzzle, vel: dir * v0, target, sam, age: 0 }); + if let Some(d) = self.drones.iter_mut().find(|d| d.id == target) { + d.engaged += 1; + } + if spec.cold > 0 { + // Thrown out by gas: a puff, a thump; the motor lights later. + out.particles("minecraft:cloud", muzzle, 0.6, dir * 0.05, 0.05, 30); + let event = if kind == MissileKind::M77n6 { "airdef:launch.s500_eject" } else { "airdef:launch.s400_eject" }; + out.sound(event, muzzle, 1.0, 1.0); + } else { + out.particles("minecraft:flash", muzzle, 0.0, DVec3::ZERO, 0.0, 1); + out.particles("minecraft:cloud", muzzle - dir * 2.0, 1.4, DVec3::new(0.0, 0.02, 0.0), 0.06, 70); + out.particles("minecraft:campfire_cosy_smoke", muzzle - dir * 3.0, 1.2, DVec3::ZERO, 0.02, 20); + let event = if kind == MissileKind::M57e6 { "airdef:launch.pantsir" } else { "airdef:launch.patriot" }; + out.sound(event, muzzle, 1.0, 0.95 + self.rng.f() as f32 * 0.1); + } + } + for (id, pos, vel, life) in tracers { + self.fx.push((id, Fx::Tracer { pos, vel, life })); + } + for (t, by) in gun_hits { + if let Some(i) = self.drones.iter().position(|d| d.id == t) { + self.shoot_down(i, by, out); + } + } + for i in 0..self.sams.len() { + self.draw_sam(i, out); + } + } + + fn draw_sam(&mut self, i: usize, out: &mut Out) { + let sam = &self.sams[i]; + let base = sam.base(); + let s = sam.scale(); + let up = DVec3::Y * 0.5 * s; + let id = sam.id; + let (mount, rot) = sam.mount(); + let turret = DQuat::from_rotation_y(sam.yaw); + match sam.kind { + SamKind::Patriot => { + out.model(id, "airdef:patriot_trailer", sam.pos + up, base, s, false); + out.model(id + 1, "airdef:patriot_truck", sam.pos + up + base * DVec3::new(0.0, 0.0, -3.0 * s), base, s, false); + // The launcher's pivot is its back bottom edge (0, -0.5, 1.375). + out.model(id + 2, "airdef:patriot_launcher", mount - rot * DVec3::new(0.0, -0.5, 1.375) * s, rot, s, false); + // Its radar stands right behind the trailer, facing the same way. + out.model(id + 3, "airdef:patriot_radar", sam.pos + up + base * DVec3::new(0.0, 0.0, 3.6 * s), base, s, false); + } + SamKind::Gepard => { + out.model(id, "airdef:gepard_hull", sam.pos + up, base, s, false); + out.model(id + 1, "airdef:gepard_turret", mount + DVec3::Y * 0.12 * s, turret, s, false); + let recoil = rot * DVec3::new(0.0, 0.0, 0.15 * sam.recoil * s); + out.model(id + 2, "airdef:gepard_guns", mount + recoil, rot, s, false); + out.model(id + 3, "airdef:gepard_dish", mount + turret * DVec3::new(0.0, 0.95 * s, 0.6 * s), DQuat::from_rotation_y(sam.dish), s, false); + } + SamKind::Pantsir => { + out.model(id, "airdef:pantsir_truck", sam.pos + up, base, s, false); + out.model(id + 1, "airdef:pantsir_turret", mount - DVec3::Y * 0.2 * s, turret, s, false); + let recoil = rot * DVec3::new(0.0, 0.0, 0.1 * sam.recoil * s); + out.model(id + 2, "airdef:pantsir_pack", mount + DVec3::Y * 0.1 * s + recoil, rot, s, false); + out.model(id + 3, "airdef:pantsir_dish", mount + turret * DVec3::new(0.0, 0.85 * s, 0.3 * s), DQuat::from_rotation_y(sam.dish) * DQuat::from_rotation_x(0.3), s, false); + } + SamKind::S400 | SamKind::S500 => { + let (chassis, tubes) = if sam.kind == SamKind::S400 { + ("airdef:s400_chassis", "airdef:s400_tubes") + } else { + ("airdef:s500_chassis", "airdef:s500_tubes") + }; + out.model(id, chassis, sam.pos + up, base, s, false); + // The pack's pivot is its back bottom edge (0, -0.5, 1.5). + out.model(id + 1, tubes, mount - rot * DVec3::new(0.0, -0.5, 1.5) * s, rot, s, false); + // The battery's search radar behind it, turning. + let radar = sam.pos + DVec3::Y * 0.5 * s + base * DVec3::new(0.0, 0.0, 4.2 * s); + out.model(id + 2, "airdef:radar_trailer", radar, base, s, false); + out.model(id + 3, "airdef:radar_panel", radar + DVec3::Y * 0.9 * s, DQuat::from_rotation_y(sam.dish * 0.6) * DQuat::from_rotation_x(-0.3), s * 0.9, false); + } + } + if sam.flash > 0 { + let barrels: &[DVec3] = match sam.kind { + SamKind::Pantsir => &[DVec3::new(-0.95, 0.33, -1.7), DVec3::new(0.95, 0.33, -1.7)], + SamKind::Gepard => &[DVec3::new(-0.92, -0.11, -1.7), DVec3::new(0.92, -0.11, -1.7)], + _ => &[], + }; + for (k, b) in barrels.iter().enumerate() { + let r = rot * DQuat::from_rotation_z(self.rng.f() * TAU); + out.model(id + 4 + k as u32, "airdef:flash", mount + rot * *b * s, r, 0.9, true); + } + } + } + + // ------------------------------------------------ interceptors + + fn step_missiles(&mut self, out: &mut Out) { + let mut done: Vec<(u32, Option, bool, u32)> = Vec::new(); // (missile, target, kill, sam) + for m in &mut self.missiles { + m.age += 1; + let spec = m.kind.spec(); + let target = self.drones.iter().find(|d| d.id == m.target && d.alive()); + let lit = m.age > spec.cold; + let speed = if !lit { + (m.vel.length() * 0.97).max(0.4) + } else { + (m.vel.length() + spec.accel).min(spec.speed) + }; + let dir = m.vel.normalize_or(DVec3::Y); + let new = match target { + Some(t) if m.age >= spec.boost => { + // Time to go by the closing speed: head-on targets come to meet it. + let los = (t.pos - m.pos).normalize_or_zero(); + let closing = (speed - t.vel.dot(los)).max(1.0); + let tgo = t.pos.distance(m.pos) / closing; + turn(dir, t.pos + t.vel * tgo - m.pos, spec.turn) + } + // After a cold launch it tips over towards the target while the motor burns. + Some(t) if lit && spec.cold > 0 => turn(dir, t.pos - m.pos, spec.turn * 0.5), + _ => dir, + }; + let before = m.pos; + m.vel = new * speed; + m.pos += m.vel; + if let Some(t) = target { + // Closest approach this tick, both moving (fast targets cross a fuse in a tick). + let rel0 = (t.pos - t.vel) - before; + let rel1 = t.pos - m.pos; + let delta = rel1 - rel0; + let k = (-rel0.dot(delta) / delta.length_squared().max(1e-9)).clamp(0.0, 1.0); + if (rel0 + delta * k).length() < spec.fuse { + // A target faster than the interceptor is hard to hit. + let ratio = (spec.speed / t.vel.length().max(0.1)).min(1.0).powf(1.5); + let kill = self.rng.chance(spec.pk * ratio / t.kind.spec().stealth.sqrt()); + done.push((m.id, Some(t.id), kill, m.sam)); + continue; + } + } + if m.age > spec.life || (target.is_none() && m.age > 30) { + done.push((m.id, None, false, m.sam)); + continue; + } + if lit { + if (m.age - spec.cold) % 46 == 1 { + let pitch = match m.kind { + MissileKind::Pac3 => 1.15, + MissileKind::M57e6 => 1.45, + MissileKind::M48n6 => 0.9, + MissileKind::M77n6 => 0.75, + }; + out.sound("airdef:drone.rocket", m.pos, 1.0, pitch); + } + let back = m.pos - new * 1.4 * spec.scale; + out.particles("minecraft:flame", back, 0.05, -new * 0.1, 0.01, 2); + if m.age % 2 == 0 { + out.particles("minecraft:cloud", back - new * 0.5, 0.12 * spec.scale as f32, DVec3::ZERO, 0.005, if m.age < 30 { 3 } else { 1 }); + } + if m.age == spec.cold + 1 && spec.cold > 0 { + let event = if m.kind == MissileKind::M77n6 { "airdef:launch.s500" } else { "airdef:launch.s400" }; + out.sound(event, m.pos, 1.0, 1.0); + out.particles("minecraft:cloud", m.pos, 1.0, DVec3::ZERO, 0.08, 40); + } + } + } + for (mid, target, kill, sam) in done { + if let Some(i) = self.missiles.iter().position(|m| m.id == mid) { + let m = self.missiles.swap_remove(i); + self.fireball(m.pos, 2.5 * m.kind.spec().scale, 7); + out.particles("minecraft:explosion", m.pos, 0.4, DVec3::ZERO, 0.0, 3); + out.sound("airdef:blast.air", m.pos, 1.0, 1.25); + if let Some(t) = target.and_then(|t| self.drones.iter().position(|d| d.id == t)) { + self.drones[t].engaged = self.drones[t].engaged.saturating_sub(1); + if kill { + self.shoot_down(t, sam, out); + } + } + // A missile that lost its target frees it for others. + if target.is_none() + && let Some(d) = self.drones.iter_mut().find(|d| d.id == m.target) + { + d.engaged = d.engaged.saturating_sub(1); + } + } + } + for m in &self.missiles { + let spec = m.kind.spec(); + let rot = look(m.vel, 0.0) * DQuat::from_rotation_z(m.age as f64 * 0.3); + out.model(m.id, spec.model, m.pos, rot, spec.scale, false); + if m.age > spec.cold { + let back = (spec.rear - 8.0) / 16.0 * spec.scale + spec.flame; + let size = spec.flame * if m.age < 40 { 1.2 } else { 0.8 } * (0.85 + 0.15 * self.rng.f()); + out.model(m.id + 1, "airdef:flame", m.pos + rot * DVec3::new(0.0, 0.0, back), rot, size, true); + } + } + } + + // ------------------------------------------------ effects + + fn step_fx(&mut self, ground: &mut Ground, out: &mut Out) { + let now = self.tick; + let mut keep = Vec::with_capacity(self.fx.len()); + for (id, mut fx) in std::mem::take(&mut self.fx) { + let alive = match &mut fx { + Fx::Fireball { pos, size, age, life, spin } => { + *age += 1; + let t = *age as f64 / *life as f64; + let s = if t < 0.25 { *size * t / 0.25 } else { *size * (1.0 - (t - 0.25) / 0.75).max(0.0) }; + let rot = DQuat::from_rotation_y(*age as f64 * 0.2) * *spin; + out.model(id, "airdef:fireball", *pos + DVec3::Y * (*age as f64 * 0.05), rot, s.max(0.01), true); + *age < *life + } + Fx::Debris { pos, vel, rot, spin, age } => { + *age += 1; + vel.y -= 0.05; + *vel *= 0.98; + *pos += *vel; + *rot = *spin * *rot; + out.model(id, "airdef:debris", *pos, *rot, 0.7, false); + if *age % 2 == 0 { + out.particles("minecraft:smoke", *pos, 0.05, DVec3::ZERO, 0.0, 1); + } + let landed = ground.at(*pos, now).is_some_and(|g| pos.y <= g); + !landed && *age < 200 + } + Fx::Tracer { pos, vel, life } => { + *pos += *vel; + vel.y -= 0.02; + *life = life.saturating_sub(1); + out.model(id, "airdef:tracer", *pos, look(*vel, 0.0), 1.0, true); + *life > 0 + } + }; + if alive { + keep.push((id, fx)); + } + } + self.fx = keep; + } + + fn draw_targets(&mut self, out: &mut Out) { + for (i, t) in self.targets.iter().enumerate() { + let bob = (self.tick as f64 * 0.1 + i as f64).sin() * 0.25; + let rot = DQuat::from_rotation_y(self.tick as f64 * 0.08); + out.model(0x7000_0000 + i as u32 * PARTS, "airdef:target", *t + DVec3::Y * (1.6 + bob), rot, 0.8, true); + if self.tick % 10 == 0 { + out.dust(*t + DVec3::Y * 0.2, 0xFF2020, 1.5, 0.4, 3); + } + } + } +} diff --git a/dist/play.bat b/dist/play.bat new file mode 100644 index 0000000..980f74b --- /dev/null +++ b/dist/play.bat @@ -0,0 +1,27 @@ +@echo off +rem AirDef: ставит мод и запускает игру (Windows). Лежит рядом с horizon-client.exe и airdef.hmod. +chcp 65001 >nul +setlocal enabledelayedexpansion +set "HERE=%~dp0" +if "%HORIZON_HOME%"=="" (set "GAME=%APPDATA%\horizon") else (set "GAME=%HORIZON_HOME%") +if not exist "%GAME%\horizon-mods" mkdir "%GAME%\horizon-mods" +copy /y "%HERE%airdef.hmod" "%GAME%\horizon-mods\airdef.hmod" >nul +if exist "%GAME%\horizon-mods\airdef" rmdir /s /q "%GAME%\horizon-mods\airdef" +set "LIST=%GAME%\horizon-mods.txt" +if not exist "%LIST%" type nul > "%LIST%" +findstr /v /b "mod.airdef:" "%LIST%" > "%LIST%.tmp" +echo mod.airdef:true>> "%LIST%.tmp" +move /y "%LIST%.tmp" "%LIST%" >nul +set "RES=%HORIZON_RESOURCES%" +if "%RES%"=="" ( + for /d %%V in ("%APPDATA%\horizon-launcher\versions\*") do ( + if exist "%%V\.local\horizon-client\26.3" set "RES=%%V\.local\horizon-client\26.3" + ) +) +if "%RES%"=="" ( + echo Не найдены ресурсы игры: установи Horizon через лаунчер и запусти его один раз. + pause + exit /b 1 +) +cd /d "%GAME%" +"%HERE%horizon-client.exe" --resources "%RES%" %* diff --git a/dist/play.sh b/dist/play.sh new file mode 100755 index 0000000..446a6a0 --- /dev/null +++ b/dist/play.sh @@ -0,0 +1,19 @@ +#!/bin/sh +# AirDef: ставит мод и запускает игру (macOS и Linux). Лежит рядом с horizon-client и airdef.hmod. +set -e +HERE="$(cd "$(dirname "$0")" && pwd)" +case "$(uname)" in + Darwin) DATA="$HOME/Library/Application Support" ;; + *) DATA="${XDG_DATA_HOME:-$HOME/.local/share}" ;; +esac +GAME="${HORIZON_HOME:-$DATA/horizon}" +mkdir -p "$GAME/horizon-mods" +cp "$HERE/airdef.hmod" "$GAME/horizon-mods/airdef.hmod" +rm -rf "$GAME/horizon-mods/airdef" +LIST="$GAME/horizon-mods.txt"; touch "$LIST" +grep -v '^mod.airdef:' "$LIST" > "$LIST.tmp" || true; echo 'mod.airdef:true' >> "$LIST.tmp"; mv "$LIST.tmp" "$LIST" +RES="${HORIZON_RESOURCES:-$(ls -d "$DATA/horizon-launcher/versions"/*/.local/horizon-client/26.3 2>/dev/null | sort | tail -1)}" +[ -n "$RES" ] || { echo "Не найдены ресурсы игры: установи Horizon через лаунчер и запусти его один раз"; exit 1; } +xattr -dr com.apple.quarantine "$HERE" 2>/dev/null || true +cd "$GAME" +exec "$HERE/horizon-client" --resources "$RES" "$@" diff --git a/docs/INSTALL.md b/docs/INSTALL.md new file mode 100644 index 0000000..ce62db9 --- /dev/null +++ b/docs/INSTALL.md @@ -0,0 +1,93 @@ +# AirDef: запуск с нуля (Windows и macOS) + +AirDef работает на своей сборке (форке) Horizon: в ней есть API 3D-моделей, звуков и шейдеров, которого нет +в обычном Horizon. Сама игра и её ресурсы берутся из твоего Minecraft — без лицензионного Minecraft Java 26.3 +ничего не заработает. + +## 1. Общее для обоих способов + +1. Купленный **Minecraft: Java Edition** (версия 26.3). +2. **Лаунчер Horizon** — https://playhorizon.dev (раздел Install). Установи его, поставь в нём последнюю версию + и **один раз запусти игру**: лаунчер подготовит ресурсы игры из твоего Minecraft. Форк AirDef берёт их оттуда. + +Где что лежит (обычно ничего трогать не нужно): + +| | Windows | macOS | +|---|---|---| +| Папка игры (миры, моды, настройки) | `%APPDATA%\horizon` | `~/Library/Application Support/horizon` | +| Ресурсы из лаунчера | `%APPDATA%\horizon-launcher\versions\…\.local\horizon-client\26.3` | `~/Library/Application Support/horizon-launcher/versions/…/.local/horizon-client/26.3` | + +## 2а. Готовая сборка из релиза (проще) + +В репозитории → **Releases** → последний `build-N`. Там лежат: + +- `airdef.hmod` — сам мод; +- `airdef-windows-x86_64.zip`, `airdef-macos-arm64.tar.gz`, `airdef-linux-x86_64.tar.gz` — игра-форк + мод + + скрипт запуска (сборки для Windows и macOS появляются, только если в CI подключены такие раннеры; + иначе — способ 2б). + +**Windows:** распакуй zip куда угодно и запусти `play.bat`. Он положит мод в папку игры, включит его и запустит +игру. Конкретный мир: `play.bat --world "Имя мира"` (в командной строке, из папки архива). +Если SmartScreen ругается — «Подробнее → Выполнить в любом случае» (сборка не подписана). + +**macOS:** распакуй архив, в Терминале: + +```sh +cd ~/Downloads/airdef-macos-arm64 +./play.sh # или ./play.sh --world "Имя мира" +``` + +Скрипт сам снимает карантин с файлов. Если macOS всё же блокирует запуск — «Системные настройки → +Конфиденциальность и безопасность → Всё равно открыть». + +## 2б. Сборка из исходников + +Нужно: **Git**, **Python 3**, **Rust** (https://rustup.rs). Сборка игры занимает ~5–15 минут и ~5 ГБ на диске. + +### Windows + +1. Поставь **Git** (https://git-scm.com), **Python 3** (https://python.org, галочка «Add to PATH»), + **Visual Studio Build Tools** с компонентом «Разработка классических приложений на C++» + (https://visualstudio.microsoft.com/visual-cpp-build-tools/), затем **Rust** (`rustup-init.exe` с rustup.rs). +2. В PowerShell: + +```powershell +rustup target add wasm32-unknown-unknown +git clone ssh://git@gitea.maoniao.team:2222/chexit/airdef.git +cd airdef +py tools\airdef.py all # форк Horizon + сборка игры + мод + установка мода +py tools\airdef.py play # запуск; мир: py tools\airdef.py play --world "Имя мира" +``` + +### macOS + +1. Инструменты разработчика: `xcode-select --install`, затем Rust: + `curl -sSf https://sh.rustup.rs | sh` (перезапусти Терминал). +2. В Терминале: + +```sh +rustup target add wasm32-unknown-unknown +git clone ssh://git@gitea.maoniao.team:2222/chexit/airdef.git +cd airdef +python3 tools/airdef.py all +python3 tools/airdef.py play # или: python3 tools/airdef.py play --world "Имя мира" +``` + +Шаги по отдельности: `fork` (скачать Horizon и наложить патчи `horizon-patches/`), `game` (собрать игру), +`mod` (собрать `airdef.hmod`), `install` (положить мод в папку игры и включить), `play`. + +## 3. В игре + +- Создай мир с читами (или включи их через «Открыть для сети»): мод выдаёт пульты и взрывы командами. +- `/airdef give` — пульты, **N** — командный пункт (роли ПВО), **K** — монитор комплекса, + `/airdef wave mix 20` — налёт. Подробнее — README. +- Мод в списке «Настройки → Моды» должен быть включён (скрипты включают его сами). + +## Если что-то не так + +- **«Не найдены ресурсы игры»** — запусти Horizon из лаунчера хотя бы раз; либо укажи путь вручную: + `HORIZON_RESOURCES=…/.local/horizon-client/26.3` (Windows: `set HORIZON_RESOURCES=…`). +- **Мод в списке, но красный: «made for a newer Horizon»** — игра запущена из лаунчера (обычный Horizon), + а нужен форк: запускай через `play.bat` / `play.sh` / `airdef.py play`. +- **Нет звука или моделей после обновления мода** — перезапусти игру: ресурсы мода грузятся при старте. +- **Тормозит** — `/airdef shader off` (эффекты) и `/airdef damage off` (разрушения). diff --git a/horizon-patches/0001-Mod-API-AirDef-fork-world-models-client-particles-so.patch b/horizon-patches/0001-Mod-API-AirDef-fork-world-models-client-particles-so.patch new file mode 100644 index 0000000..821bd5c --- /dev/null +++ b/horizon-patches/0001-Mod-API-AirDef-fork-world-models-client-particles-so.patch @@ -0,0 +1,577 @@ +From 3de7a6875140a107e28563cc44489b55f5794517 Mon Sep 17 00:00:00 2001 +From: chexit +Date: Wed, 28 Oct 2026 12:37:45 +0300 +Subject: [PATCH 1/3] Mod API (AirDef fork): world models, client particles, + sounds, ground heights + +render.set-models draws block models with an interpolated pose per id; +render.spawn-particles and render.play-sound act on this client only; +render.query-ground / render.ground read the motion-blocking heightmap. + +Co-Authored-By: Claude Opus 5.5 +--- + crates/horizon-client/src/game.rs | 2 + + crates/horizon-client/src/game/mod_models.rs | 197 +++++++++++++++++++ + crates/horizon-client/src/game/mods.rs | 24 +++ + crates/horizon-mod-sdk/wit/horizon.wit | 58 ++++++ + crates/horizon-mods/src/api_level.rs | 10 +- + crates/horizon-mods/src/runtime.rs | 116 ++++++++++- + 6 files changed, 403 insertions(+), 4 deletions(-) + create mode 100644 crates/horizon-client/src/game/mod_models.rs + +diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs +index 1d7bbbbd6..7c342cd86 100644 +--- a/crates/horizon-client/src/game.rs ++++ b/crates/horizon-client/src/game.rs +@@ -115,6 +115,7 @@ mod mod_input; + #[cfg(feature = "mods")] + mod mod_recipes; + mod mod_render; ++mod mod_models; + mod mods; + mod mount_menu; + mod mounts; +@@ -8232,6 +8233,7 @@ impl Game<'_> { + } + } + self.mark_entity(out.len(), ""); ++ self.mod_model_geometry(camera, alpha, &mut out); + self.moving_piston_geometry(camera, alpha, &mut out); + self.mark_entity(out.len(), "minecraft:tnt"); + self.tnt_geometry(camera, alpha, &mut out); +diff --git a/crates/horizon-client/src/game/mod_models.rs b/crates/horizon-client/src/game/mod_models.rs +new file mode 100644 +index 000000000..3c7f9345c +--- /dev/null ++++ b/crates/horizon-client/src/game/mod_models.rs +@@ -0,0 +1,197 @@ ++//! AirDef fork: capability `render`'s world models, client particles and ++//! sounds. A mod sets its models once a tick (`render.set-models`); each id ++//! keeps its last two poses and is drawn between them every frame, so models ++//! move smoothly at any frame rate. ++use super::Game; ++#[cfg(feature = "mods")] ++use { ++ glam::{DVec3, Mat4, Quat, Vec3}, ++ horizon_client::{ ++ mesher::Vertex, ++ particles::{ParticleOptions, ParticleType}, ++ }, ++ horizon_core::random::RandomSource, ++ horizon_mods::ParticleSpawn, ++ horizon_world::registry::BlockStateId, ++ std::collections::HashMap, ++}; ++ ++/// One model of a mod: where it was a tick ago and where it is now. ++#[cfg(feature = "mods")] ++struct Pose { ++ state: BlockStateId, ++ previous: DVec3, ++ position: DVec3, ++ old_rotation: Quat, ++ rotation: Quat, ++ old_scale: f32, ++ scale: f32, ++ glow: bool, ++} ++ ++/// The models the running mods keep, by (mod, id). ++#[cfg(feature = "mods")] ++#[derive(Default)] ++pub(super) struct ModModels { ++ poses: HashMap<(usize, u32), Pose>, ++ /// Block states by the text mods name them, parsed once. ++ states: HashMap>, ++} ++ ++/// Full brightness: sky and block light 15, as the entity shader packs them. ++#[cfg(feature = "mods")] ++const GLOW: u32 = 240 | (240 << 8); ++ ++/// A build without the `mods` feature draws no mod models. ++#[cfg(not(feature = "mods"))] ++impl Game<'_> { ++ pub(super) fn mod_model_geometry( ++ &self, ++ _camera: glam::DVec3, ++ _alpha: f64, ++ _out: &mut Vec, ++ ) { ++ } ++} ++ ++#[cfg(feature = "mods")] ++impl Game<'_> { ++ /// After the mods' tick: each model's new pose, its last one kept to ++ /// draw from. Ids no longer set are dropped; new ones start where they ++ /// are. ++ pub(super) fn update_mod_models(&mut self) { ++ let mut seen: Vec<(usize, u32)> = Vec::new(); ++ let registry = &self.pack.assets.registry; ++ let models = &mut self.mods.models; ++ for (owner, m) in self.mods.mods.models() { ++ let state = *models ++ .states ++ .entry(m.model.clone()) ++ .or_insert_with(|| super::render_control::parse_state(registry, &m.model).ok()); ++ let Some(state) = state else { ++ continue; ++ }; ++ let key = (owner, m.id); ++ seen.push(key); ++ let position = DVec3::new(m.x, m.y, m.z); ++ let (x, y, z, w) = m.rotation; ++ let rotation = Quat::from_xyzw(x, y, z, w); ++ match models.poses.get_mut(&key) { ++ Some(p) => { ++ p.previous = p.position; ++ p.old_rotation = p.rotation; ++ p.old_scale = p.scale; ++ p.position = position; ++ p.rotation = rotation; ++ p.scale = m.scale; ++ p.state = state; ++ p.glow = m.glow; ++ } ++ None => { ++ models.poses.insert( ++ key, ++ Pose { ++ state, ++ previous: position, ++ position, ++ old_rotation: rotation, ++ rotation, ++ old_scale: m.scale, ++ scale: m.scale, ++ glow: m.glow, ++ }, ++ ); ++ } ++ } ++ } ++ if seen.len() != models.poses.len() { ++ let seen: std::collections::HashSet<_> = seen.into_iter().collect(); ++ models.poses.retain(|k, _| seen.contains(k)); ++ } ++ } ++ ++ /// Draws every mod model between its last two poses, lit by the world ++ /// (or at full brightness), its faces shaded by its own rotation. ++ pub(super) fn mod_model_geometry(&self, camera: DVec3, alpha: f64, out: &mut Vec) { ++ if self.mods.models.poses.is_empty() { ++ return; ++ } ++ let t = alpha.clamp(0.0, 1.0); ++ for p in self.mods.models.poses.values() { ++ let at = p.previous.lerp(p.position, t); ++ // Far models are culled by distance; the view frustum does the rest. ++ if at.distance_squared(camera) > 512.0 * 512.0 { ++ continue; ++ } ++ let rotation = p.old_rotation.slerp(p.rotation, t as f32); ++ let scale = p.old_scale + (p.scale - p.old_scale) * t as f32; ++ if scale <= 0.0 { ++ continue; ++ } ++ let light = if p.glow { ++ GLOW ++ } else { ++ let l = self.world.light( ++ at.x.floor() as i32, ++ at.y.floor() as i32, ++ at.z.floor() as i32, ++ ); ++ (u32::from(l >> 4) * 16) | ((u32::from(l & 15) * 16) << 8) ++ }; ++ // The model's unit cube turned and scaled about its centre. ++ let m = Mat4::from_scale_rotation_translation( ++ Vec3::splat(scale), ++ rotation, ++ (at - camera).as_vec3(), ++ ) * Mat4::from_translation(Vec3::splat(-0.5)); ++ self.block_model_vertices(p.state, 0, m, light, true, out); ++ } ++ } ++ ++ /// `render.spawn-particles`: made on this client at once. ++ pub(super) fn mod_particles(&mut self, particles: Vec) { ++ for s in particles { ++ let Some(ty) = ParticleType::from_name(&s.particle) else { ++ continue; ++ }; ++ let rgb = [ ++ ((s.color >> 16) & 255) as f32 / 255.0, ++ ((s.color >> 8) & 255) as f32 / 255.0, ++ (s.color & 255) as f32 / 255.0, ++ ]; ++ let rgb = if s.color == 0 { [1.0; 3] } else { rgb }; ++ let options = match ty { ++ ParticleType::Dust => ParticleOptions::dust(rgb, s.scale), ++ ParticleType::EntityEffect | ParticleType::TintedLeaves | ParticleType::Flash => { ++ ParticleOptions::colored(ty, [rgb[0], rgb[1], rgb[2], 1.0]) ++ } ++ ParticleType::Block ++ | ParticleType::FallingDust ++ | ParticleType::DustPillar ++ | ParticleType::BlockMarker ++ | ParticleType::Item ++ | ParticleType::ItemSlime ++ | ParticleType::ItemSnowball ++ | ParticleType::ItemCobweb => continue, ++ _ => ParticleOptions::simple(ty), ++ }; ++ let (sx, sy, sz) = s.spread; ++ let (vx, vy, vz) = s.velocity; ++ let speed = f64::from(s.speed); ++ for _ in 0..s.count { ++ let r = self.particles.random(); ++ let p = [ ++ s.x + r.next_gaussian() * f64::from(sx), ++ s.y + r.next_gaussian() * f64::from(sy), ++ s.z + r.next_gaussian() * f64::from(sz), ++ ]; ++ let v = [ ++ f64::from(vx) + r.next_gaussian() * speed, ++ f64::from(vy) + r.next_gaussian() * speed, ++ f64::from(vz) + r.next_gaussian() * speed, ++ ]; ++ self.particles.create(&options, p, v); ++ } ++ } ++ } ++} +diff --git a/crates/horizon-client/src/game/mods.rs b/crates/horizon-client/src/game/mods.rs +index 52dc46fe0..3eef96aa3 100644 +--- a/crates/horizon-client/src/game/mods.rs ++++ b/crates/horizon-client/src/game/mods.rs +@@ -46,6 +46,9 @@ pub(super) struct ModsState { + /// Capability `render`'s camera shakes. + #[cfg(feature = "mods")] + pub(super) shake: super::mod_render::Shake, ++ /// Capability `render`'s world models (AirDef fork), with their last poses. ++ #[cfg(feature = "mods")] ++ pub(super) models: super::mod_models::ModModels, + /// `--dev-mod PATH`: always on, reloaded when rebuilt. + pub(super) dev: Vec, + /// When dev mods were last checked for a rebuild. +@@ -596,9 +599,17 @@ impl Game<'_> { + return; + } + self.tick_mod_use(); ++ for (i, columns) in self.mods.mods.take_ground_queries() { ++ let ground = columns ++ .into_iter() ++ .map(|(x, z)| (x, z, self.rain_height(x, z))) ++ .collect(); ++ self.mods.mods.answer_ground(i, ground); ++ } + let snapshot = self.mod_snapshot(); + self.mods.mods.set_snapshot(snapshot); + self.mods.mods.tick(self.ticks); ++ self.update_mod_models(); + self.show_mod_output(); + } + /// Restarts the dev mods rebuilt since the last check, once a second. +@@ -716,6 +727,19 @@ impl Game<'_> { + self.mods.shake.add(strength, seconds); + continue; + } ++ Output::Particles { particles } => { ++ self.mod_particles(particles); ++ continue; ++ } ++ Output::Sound { ++ event, ++ at, ++ volume, ++ pitch, ++ } => { ++ self.audio.play(&event, Some(at), volume, pitch); ++ continue; ++ } + Output::PlaceRecipe { book_id, all } => { + self.mod_place_recipe(book_id, all); + continue; +diff --git a/crates/horizon-mod-sdk/wit/horizon.wit b/crates/horizon-mod-sdk/wit/horizon.wit +index 0680cce92..89d1906a9 100644 +--- a/crates/horizon-mod-sdk/wit/horizon.wit ++++ b/crates/horizon-mod-sdk/wit/horizon.wit +@@ -429,6 +429,64 @@ interface render { + /// Distance setting, when on, wins. One far terrain shows at a time: the + /// first loaded mod's. + set-far-terrain: func(far-terrain: option); ++ /// A block model drawn in the world (AirDef fork). ++ record model-instance { ++ /// Stays the same while the object lives: the game moves an id ++ /// smoothly from where the last `set-models` put it. ++ id: u32, ++ /// A block state as commands write it (`airdef:shahed`, ++ /// `minecraft:stone`, `minecraft:furnace[facing=east]`): its block ++ /// model is drawn. An unknown one draws nothing. ++ model: string, ++ /// Where the model's centre is, in blocks. ++ x: f64, ++ y: f64, ++ z: f64, ++ /// Rotation about the model's centre: a quaternion (x, y, z, w). ++ rotation: tuple, ++ /// Uniform scale, 1.0 a block (0 to 64). ++ scale: f32, ++ /// Drawn at full brightness, whatever the light where it is. ++ glow: bool, ++ } ++ /// Replaces the mod's models: up to 4096, drawn with the world's ++ /// entities until replaced. Call it once a tick: the game interpolates ++ /// each id between its last two positions and rotations every frame. ++ /// An empty list removes them. ++ set-models: func(models: list); ++ /// Particles to spawn on this client (AirDef fork). ++ record particle-spawn { ++ /// As `/particle` names the type: `minecraft:flame`, `minecraft:dust`. ++ particle: string, ++ x: f64, ++ y: f64, ++ z: f64, ++ /// Gaussian spread round the point, per axis, in blocks. ++ spread: tuple, ++ /// Every particle's starting velocity, blocks a tick. ++ velocity: tuple, ++ /// Gaussian speed added to it per axis. ++ speed: f32, ++ /// 1 to 256. ++ count: u32, ++ /// 0xRRGGBB for dust and coloured types (0: white). ++ color: u32, ++ /// Dust size (0.01 to 4). ++ scale: f32, ++ } ++ /// Spawns particles on this client only: no command, no server. ++ /// At most 512 spawns a call. ++ spawn-particles: func(particles: list); ++ /// Plays a sound event (`minecraft:entity.generic.explode`, ++ /// `:`) at a point on this client. ++ play-sound: func(event: string, x: f64, y: f64, z: f64, volume: f32, pitch: f32); ++ /// Asks for the ground height of these columns (x, z): at most 512 a ++ /// tick, answered by `ground` from the next tick on. ++ query-ground: func(columns: list>); ++ /// The answers to the last tick's `query-ground`: (x, z, y), y one above ++ /// the highest block that blocks motion or holds a fluid, as the motion ++ /// blocking heightmap; -64 where the chunk isn't loaded. ++ ground: func() -> list>; + } + + /// What the game calls. Only the hooks `init` asks for are ever called. +diff --git a/crates/horizon-mods/src/api_level.rs b/crates/horizon-mods/src/api_level.rs +index 045a9346b..b64792eaa 100644 +--- a/crates/horizon-mods/src/api_level.rs ++++ b/crates/horizon-mods/src/api_level.rs +@@ -7,13 +7,13 @@ + //! version's level so the launcher can tell before it installs. + + /// The newest level this Horizon serves. +-pub const LEVEL: u32 = 7; ++pub const LEVEL: u32 = 8; + + /// Every function the game offers mods, as `interface.function`, with its + /// level. Level 0 is the contract of Horizon 0.2.67 to 0.2.69. A new + /// function takes the next level and raises [`LEVEL`] (the `api_reference` + /// test fails until it is listed here). +-pub const FUNCTIONS: [(&str, u32); 46] = [ ++pub const FUNCTIONS: [(&str, u32); 51] = [ + ("log.write", 0), + ("game.get-player", 0), + ("game.get-clock", 0), +@@ -60,6 +60,12 @@ pub const FUNCTIONS: [(&str, u32); 46] = [ + ("recipes.place", 6), + ("recipes.give", 6), + ("render.set-far-terrain", 7), ++ // AirDef fork: world models, client particles and sounds. ++ ("render.set-models", 8), ++ ("render.spawn-particles", 8), ++ ("render.play-sound", 8), ++ ("render.query-ground", 8), ++ ("render.ground", 8), + ]; + + /// What the game's program carries so the launcher can read its level +diff --git a/crates/horizon-mods/src/runtime.rs b/crates/horizon-mods/src/runtime.rs +index cff44722b..317cd4f06 100644 +--- a/crates/horizon-mods/src/runtime.rs ++++ b/crates/horizon-mods/src/runtime.rs +@@ -71,6 +71,7 @@ mod render_bindings { + wasmtime::component::bindgen!({ + path: "../horizon-mod-sdk/wit", + world: "render-host", ++ additional_derives: [PartialEq], + }); + } + use render_bindings::horizon::mods::input; +@@ -79,8 +80,8 @@ pub use render_bindings::horizon::mods::input::{Event as InputEvent, HeldItem, I + /// What capability `render` asks the game to draw (WIT `interface render`). + pub use render_bindings::horizon::mods::render::{ + Corner as RenderCorner, FarTerrain as ModFarTerrain, FillShape, FrameRate, ItemShape, +- Minimap as ModMinimap, Point as RenderPoint, QuadShape, Rect as RenderRect, Shape, SpriteShape, +- TextShape, Zoom as ModZoom, ++ Minimap as ModMinimap, ModelInstance, ParticleSpawn, Point as RenderPoint, QuadShape, ++ Rect as RenderRect, Shape, SpriteShape, TextShape, Zoom as ModZoom, + }; + use render_bindings::{RenderHost, horizon::mods::render}; + /// Capability `recipes`'s imports (docs/mods.md): the game's recipes and items. +@@ -238,6 +239,15 @@ pub enum Output { + CloseScreen { owner: usize }, + /// `render.shake`: strength 0 to 1, fading out over `seconds` (≤ 10). + Shake { strength: f32, seconds: f32 }, ++ /// `render.spawn-particles` (AirDef fork): particles to make on this client. ++ Particles { particles: Vec }, ++ /// `render.play-sound` (AirDef fork): a sound event at a point on this client. ++ Sound { ++ event: String, ++ at: [f64; 3], ++ volume: f32, ++ pitch: f32, ++ }, + /// `recipes.place`: the recipe book's click on this display id, all of + /// it when `all`. + PlaceRecipe { book_id: i32, all: bool }, +@@ -416,6 +426,12 @@ struct State { + minimap: Option, + /// Capability `render`'s far terrain, when the mod draws one. + far_terrain: Option, ++ /// Capability `render`'s world models (AirDef fork), drawn until replaced. ++ models: Vec, ++ /// `render.query-ground`'s columns, answered before the next tick. ++ ground_queries: Vec<(i32, i32)>, ++ /// The game's answers to them. ++ ground: Vec<(i32, i32, i32)>, + input: InputState, + browser: BrowserState, + /// Capability `storage`'s folder; made on first `set`. +@@ -619,6 +635,9 @@ impl Mods { + zoom: None, + minimap: None, + far_terrain: None, ++ models: Vec::new(), ++ ground_queries: Vec::new(), ++ ground: Vec::new(), + input: InputState::default(), + browser: BrowserState::default(), + data_dir, +@@ -1173,6 +1192,32 @@ impl Mods { + .iter() + .find_map(|e| e.run.as_ref()?.store.data().minimap) + } ++ /// Every running mod's world models (AirDef fork), with the mod's index ++ /// so ids of different mods don't meet. ++ pub fn models(&self) -> impl Iterator { ++ self.entries.iter().enumerate().flat_map(|(i, e)| { ++ e.run ++ .iter() ++ .flat_map(move |r| r.store.data().models.iter().map(move |m| (i, m))) ++ }) ++ } ++ /// The columns each running mod asked the ground height of, taken. ++ pub fn take_ground_queries(&mut self) -> Vec<(usize, Vec<(i32, i32)>)> { ++ self.entries ++ .iter_mut() ++ .enumerate() ++ .filter_map(|(i, e)| { ++ let q = std::mem::take(&mut e.run.as_mut()?.store.data_mut().ground_queries); ++ (!q.is_empty()).then_some((i, q)) ++ }) ++ .collect() ++ } ++ /// Mod `i`'s answers to its ground queries, for its next calls. ++ pub fn answer_ground(&mut self, i: usize, ground: Vec<(i32, i32, i32)>) { ++ if let Some(run) = self.entries.get_mut(i).and_then(|e| e.run.as_mut()) { ++ run.store.data_mut().ground = ground; ++ } ++ } + /// The far terrain the first running mod draws (capability `render`). + pub fn far_terrain(&self) -> Option { + self.entries +@@ -1734,6 +1779,12 @@ const MINIMAP_SIZE: (f32, f32) = (16.0, 256.0); + const MINIMAP_SCALE: (f32, f32) = (0.5, 4.0); + /// `set-far-terrain`'s distance in chunks, as the LOD Distance setting's. + const FAR_TERRAIN_DISTANCE: (u32, u32) = (64, 1024); ++/// `set-models`' most models a mod keeps, and their largest scale. ++const MODELS: usize = 4096; ++const MODEL_SCALE: f32 = 64.0; ++/// `spawn-particles`' most spawns a call and particles a spawn. ++const PARTICLE_SPAWNS: usize = 512; ++const PARTICLES_PER_SPAWN: u32 = 256; + + /// A mod's corner panel: shapes in a `width` × `height` box the game + /// places in `corner`, stacked with the other overlays. +@@ -1851,6 +1902,67 @@ impl render::Host for State { + self.out.push(Output::Shake { strength, seconds }); + } + } ++ fn set_models(&mut self, models: Vec) { ++ let finite = |v: f64| v.is_finite() && v.abs() < 30_000_000.0; ++ self.models = models ++ .into_iter() ++ .filter(|m| finite(m.x) && finite(m.y) && finite(m.z)) ++ .take(MODELS) ++ .map(|mut m| { ++ let (x, y, z, w) = m.rotation; ++ let len = (x * x + y * y + z * z + w * w).sqrt(); ++ m.rotation = if len.is_finite() && len > 1e-6 { ++ (x / len, y / len, z / len, w / len) ++ } else { ++ (0.0, 0.0, 0.0, 1.0) ++ }; ++ m.scale = if m.scale.is_finite() { ++ m.scale.clamp(0.0, MODEL_SCALE) ++ } else { ++ 1.0 ++ }; ++ m.model = clip(m.model); ++ m ++ }) ++ .collect(); ++ } ++ fn spawn_particles(&mut self, particles: Vec) { ++ let particles: Vec = particles ++ .into_iter() ++ .filter(|p| p.x.is_finite() && p.y.is_finite() && p.z.is_finite()) ++ .take(PARTICLE_SPAWNS) ++ .map(|mut p| { ++ p.count = p.count.clamp(1, PARTICLES_PER_SPAWN); ++ p.particle = clip(p.particle); ++ p ++ }) ++ .collect(); ++ if !particles.is_empty() { ++ self.out.push(Output::Particles { particles }); ++ } ++ } ++ fn query_ground(&mut self, columns: Vec<(i32, i32)>) { ++ let room = 512usize.saturating_sub(self.ground_queries.len()); ++ self.ground_queries.extend(columns.into_iter().take(room)); ++ } ++ fn ground(&mut self) -> Vec<(i32, i32, i32)> { ++ self.ground.clone() ++ } ++ fn play_sound(&mut self, event: String, x: f64, y: f64, z: f64, volume: f32, pitch: f32) { ++ if !(x.is_finite() && y.is_finite() && z.is_finite()) { ++ return; ++ } ++ let ok = |v: f32, max: f32| if v.is_finite() { v.clamp(0.0, max) } else { 1.0 }; ++ let sounds = self.out.iter().filter(|o| matches!(o, Output::Sound { .. })).count(); ++ if sounds < 64 { ++ self.out.push(Output::Sound { ++ event: clip(event), ++ at: [x, y, z], ++ volume: ok(volume, 16.0), ++ pitch: ok(pitch, 2.0), ++ }); ++ } ++ } + } + + impl command::Host for State { +-- +2.54.0 (Apple Git-157) + diff --git a/horizon-patches/0002-cargo-horizon-mod-report-particles-and-sounds.patch b/horizon-patches/0002-cargo-horizon-mod-report-particles-and-sounds.patch new file mode 100644 index 0000000..cd96a1c --- /dev/null +++ b/horizon-patches/0002-cargo-horizon-mod-report-particles-and-sounds.patch @@ -0,0 +1,28 @@ +From a6d64e6415bf618539af464e521091e72b72d72f Mon Sep 17 00:00:00 2001 +From: chexit +Date: Wed, 28 Oct 2026 12:39:45 +0300 +Subject: [PATCH 2/3] cargo-horizon-mod: report particles and sounds + +Co-Authored-By: Claude Opus 5.5 +--- + crates/cargo-horizon-mod/src/check.rs | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/crates/cargo-horizon-mod/src/check.rs b/crates/cargo-horizon-mod/src/check.rs +index 988ba826d..6a91fda28 100644 +--- a/crates/cargo-horizon-mod/src/check.rs ++++ b/crates/cargo-horizon-mod/src/check.rs +@@ -280,6 +280,10 @@ fn play(path: &Path, report: &mut Report) -> Result<(), String> { + Output::Shake { strength, seconds } => { + format!("shook the camera: {strength:.2} for {seconds:.1} s") + } ++ Output::Particles { particles } => { ++ format!("spawned {} particle group(s)", particles.len()) ++ } ++ Output::Sound { event, .. } => format!("played {event}"), + }); + } + let shapes = mods.hud_shapes().count(); +-- +2.54.0 (Apple Git-157) + diff --git a/horizon-patches/0003-Mod-API-AirDef-fork-full-screen-post-pass-for-mods.patch b/horizon-patches/0003-Mod-API-AirDef-fork-full-screen-post-pass-for-mods.patch new file mode 100644 index 0000000..0191494 --- /dev/null +++ b/horizon-patches/0003-Mod-API-AirDef-fork-full-screen-post-pass-for-mods.patch @@ -0,0 +1,603 @@ +From ee79b3562feebe51959a01f1585a9e85bd53ccb5 Mon Sep 17 00:00:00 2001 +From: chexit +Date: Wed, 28 Oct 2026 13:33:10 +0300 +Subject: [PATCH 3/3] Mod API (AirDef fork): full-screen post pass for mods + +render.set-post compiles a mod's WGSL after a prelude (camera matrices, +time, 256 vec4 of params, the world's colour and depth) and runs it after +the world, before the hand and the HUD; render.set-params feeds it. + +Co-Authored-By: Claude Opus 5.5 +--- + crates/horizon-client/src/game.rs | 1 + + crates/horizon-client/src/game/mod_models.rs | 28 ++ + crates/horizon-client/src/gfx.rs | 35 +- + crates/horizon-client/src/gfx/mod_post.rs | 320 +++++++++++++++++++ + crates/horizon-mod-sdk/wit/horizon.wit | 13 + + crates/horizon-mods/src/api_level.rs | 5 +- + crates/horizon-mods/src/runtime.rs | 28 ++ + 7 files changed, 428 insertions(+), 2 deletions(-) + create mode 100644 crates/horizon-client/src/gfx/mod_post.rs + +diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs +index 7c342cd86..ca6a8c266 100644 +--- a/crates/horizon-client/src/game.rs ++++ b/crates/horizon-client/src/game.rs +@@ -11527,6 +11527,7 @@ impl Game<'_> { + return Ok(false); + }; + let alpha = self.clock.fraction(); ++ self.apply_mod_post(alpha as f32); + // Camera.getCameraEntityPartialTicks: the view, the hand and the + // player's own model stay smooth while the level is frozen. + let camera_alpha = self.clock.camera_fraction(); +diff --git a/crates/horizon-client/src/game/mod_models.rs b/crates/horizon-client/src/game/mod_models.rs +index 3c7f9345c..be00ea4c7 100644 +--- a/crates/horizon-client/src/game/mod_models.rs ++++ b/crates/horizon-client/src/game/mod_models.rs +@@ -36,6 +36,8 @@ pub(super) struct ModModels { + poses: HashMap<(usize, u32), Pose>, + /// Block states by the text mods name them, parsed once. + states: HashMap>, ++ /// The version of the mod post pass the renderer has (0: none). ++ post: u64, + } + + /// Full brightness: sky and block light 15, as the entity shader packs them. +@@ -52,6 +54,7 @@ impl Game<'_> { + _out: &mut Vec, + ) { + } ++ pub(super) fn apply_mod_post(&mut self, _partial: f32) {} + } + + #[cfg(feature = "mods")] +@@ -148,6 +151,31 @@ impl Game<'_> { + } + } + ++ /// Before each frame: the renderer gets the mod's post pass when it changed, and its ++ /// parameters. A pass that doesn't compile is reported once; the last good one runs on. ++ pub(super) fn apply_mod_post(&mut self, partial: f32) { ++ let (version, source, params) = match self.mods.mods.post() { ++ Some((v, s, p)) => (v, Some(s.to_owned()), p.to_vec()), ++ None => (0, None, Vec::new()), ++ }; ++ let mut error = None; ++ let Some(renderer) = self.renderer.as_mut() else { return }; ++ if version != self.mods.models.post { ++ self.mods.models.post = version; ++ error = renderer.set_mod_post(source.as_deref()).err(); ++ } ++ if version != 0 { ++ renderer.set_mod_params(¶ms, partial); ++ } ++ if let Some(e) = error { ++ log::warn!("Horizon: mod post pass refused: {e}"); ++ self.system_message( ++ horizon_client::text::Text::literal(format!("Mod shader error: {e}")) ++ .with_color(horizon_client::text::RED), ++ ); ++ } ++ } ++ + /// `render.spawn-particles`: made on this client at once. + pub(super) fn mod_particles(&mut self, particles: Vec) { + for s in particles { +diff --git a/crates/horizon-client/src/gfx.rs b/crates/horizon-client/src/gfx.rs +index beb8b9060..4c5005615 100644 +--- a/crates/horizon-client/src/gfx.rs ++++ b/crates/horizon-client/src/gfx.rs +@@ -77,6 +77,7 @@ mod lod; + mod native_material; + mod native_pack; + mod native_post; ++mod mod_post; + mod native_sky; + mod occlusion; + mod pack_atlas; +@@ -543,6 +544,9 @@ pub struct Renderer { + pack_post: Option<(i32, Option)>, + /// The post passes of one of Horizon's own shader packs; never beside `pack_post`'s. + native: Option, ++ /// AirDef fork: a mod's post pass, its parameters and the partial tick they are for. ++ mod_post: Option, ++ mod_params: (Vec, f32), + /// Time the shader pack's passes on the GPU (F3, or `HORIZON_SHADER_PACK_TIMING`). + pass_timing: bool, + /// The entity vertices Horizon draws itself while a shader pack draws the others. +@@ -2646,6 +2650,8 @@ impl Renderer { + hdr_output, + pack_post: None, + native: None, ++ mod_post: None, ++ mod_params: (Vec::new(), 0.0), + pass_timing: pack_timing::PassTiming::logging(), + pack_entity_rest: Vec::new(), + cloud_bindings, +@@ -3287,6 +3293,24 @@ impl Renderer { + report + } + /// Drops the running shader pack, of either kind. ++ /// AirDef fork: runs a mod's post pass from now on (`None`: none). On an error the pass ++ /// that ran keeps running. ++ pub fn set_mod_post(&mut self, source: Option<&str>) -> std::result::Result<(), String> { ++ match source { ++ None => self.mod_post = None, ++ Some(source) => { ++ let format = self.config.format.remove_srgb_suffix(); ++ self.mod_post = Some(mod_post::ModPost::new(&self.device, source, format)?); ++ } ++ } ++ Ok(()) ++ } ++ /// AirDef fork: the mod post pass's parameters for the next frames. ++ pub fn set_mod_params(&mut self, params: &[f32], partial: f32) { ++ self.mod_params.0.clear(); ++ self.mod_params.0.extend_from_slice(¶ms[..params.len().min(mod_post::PARAMS)]); ++ self.mod_params.1 = partial; ++ } + pub fn drop_shader_packs(&mut self) { + self.pack_post = None; + self.native = None; +@@ -4456,7 +4480,9 @@ impl Renderer { + .then(|| pack_timing::PassTiming::new(&self.device, &self.queue)) + .flatten(); + } +- let pack_reads_world = pack_post || native_post; ++ // AirDef fork: a mod's post pass reads the world target too. ++ let mod_post = !frame.title && !pack_post && !native_post && self.mod_post.is_some(); ++ let pack_reads_world = pack_post || native_post || mod_post; + // The pack's program reads the vertices this frame's draws bind. + let pack_draws_terrain = pack_terrain && flat_frame == self.pack_terrain_flat; + // The shadow camera's lists, drawn by the pack's shadow programs. +@@ -5026,6 +5052,13 @@ impl Renderer { + size, + native.timing.as_mut(), + ); ++ } else if let Some((color, depth)) = &scaled ++ && mod_post ++ && let Some(post) = &mut self.mod_post ++ { ++ let size = self.world_post.size().unwrap_or([1, 1]); ++ post.write(&self.queue, frame, size, &self.mod_params.0, self.mod_params.1); ++ post.run(&self.device, &mut encoder, (color, depth), &view_target); + } else if scaled.is_some() { + self.world_post.finish(&mut encoder, &view_target); + } +diff --git a/crates/horizon-client/src/gfx/mod_post.rs b/crates/horizon-client/src/gfx/mod_post.rs +new file mode 100644 +index 000000000..497cff854 +--- /dev/null ++++ b/crates/horizon-client/src/gfx/mod_post.rs +@@ -0,0 +1,320 @@ ++//! AirDef fork: a mod's full-screen post pass (`render.set-post`). The mod's WGSL is put after ++//! a prelude that declares the frame (camera matrices, time, the mod's parameters) and the ++//! world's colour and depth; it defines `fn post(uv: vec2, pixel: vec2) -> vec4`. ++//! The pass runs after the world and before the hand and the HUD, reading the scaled world ++//! target and drawing onto the screen. ++ ++use glam::Mat4; ++ ++use super::Frame; ++ ++/// Floats of mod parameters (256 vec4). ++pub const PARAMS: usize = 1024; ++ ++/// The uniform the prelude's `frame` reads. ++#[repr(C)] ++#[derive(Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] ++struct ModFrame { ++ view_proj: [[f32; 4]; 4], ++ view_inverse: [[f32; 4]; 4], ++ projection_inverse: [[f32; 4]; 4], ++ /// xyz: the camera; w: unused. ++ camera: [f32; 4], ++ /// width, height, 1/width, 1/height. ++ resolution: [f32; 4], ++ /// seconds (wraps hourly), the partial tick, the sun's height, unused. ++ time: [f32; 4], ++ /// The sun's direction. ++ sun: [f32; 4], ++ params: [[f32; 4]; PARAMS / 4], ++} ++ ++pub const PRELUDE: &str = r#" ++struct ModFrame { ++ view_proj: mat4x4, ++ view_inverse: mat4x4, ++ projection_inverse: mat4x4, ++ camera: vec4, ++ resolution: vec4, ++ time: vec4, ++ sun: vec4, ++ params: array, 256>, ++} ++@group(0) @binding(0) var frame: ModFrame; ++@group(0) @binding(1) var scene_color: texture_2d; ++@group(0) @binding(2) var scene_depth: texture_depth_2d; ++@group(0) @binding(3) var linear_sampler: sampler; ++ ++struct HorizonModPostOut { ++ @builtin(position) position: vec4, ++ @location(0) uv: vec2, ++} ++ ++@vertex ++fn horizon_mod_post_vs(@builtin(vertex_index) i: u32) -> HorizonModPostOut { ++ let uv = vec2(f32((i << 1u) & 2u), f32(i & 2u)); ++ var out: HorizonModPostOut; ++ out.position = vec4(uv.x * 2.0 - 1.0, 1.0 - uv.y * 2.0, 0.0, 1.0); ++ out.uv = uv; ++ return out; ++} ++ ++/// The world's depth at `uv` (reversed: 1 near, 0 the sky). ++fn depth_at(uv: vec2) -> f32 { ++ let size = vec2(textureDimensions(scene_depth)); ++ let p = vec2(clamp(uv * size, vec2(0.0), size - 1.0)); ++ return textureLoad(scene_depth, p, 0); ++} ++ ++/// The point the pixel at `uv` sees at `depth`, relative to the camera (world axes). ++fn view_ray_point(uv: vec2, depth: f32) -> vec3 { ++ let ndc = vec4(uv.x * 2.0 - 1.0, 1.0 - uv.y * 2.0, depth, 1.0); ++ let v = frame.projection_inverse * ndc; ++ return (frame.view_inverse * vec4(v.xyz / v.w, 0.0)).xyz; ++} ++ ++/// The unit direction of the view ray through `uv`. ++fn view_dir(uv: vec2) -> vec3 { ++ return normalize(view_ray_point(uv, 0.5)); ++} ++ ++/// How far along the view ray the world is at `uv` (a large number for the sky). ++fn scene_distance(uv: vec2) -> f32 { ++ let d = depth_at(uv); ++ if d <= 0.0 { return 1.0e6; } ++ return length(view_ray_point(uv, d)); ++} ++ ++/// A world point on the screen: xy in uv, z its distance (negative behind the camera). ++fn project(world: vec3) -> vec3 { ++ let c = frame.view_proj * vec4(world - frame.camera.xyz, 1.0); ++ let ndc = c.xyz / max(abs(c.w), 1e-5); ++ return vec3(ndc.x * 0.5 + 0.5, 0.5 - ndc.y * 0.5, c.w); ++} ++ ++fn scene(uv: vec2) -> vec3 { ++ return textureSampleLevel(scene_color, linear_sampler, uv, 0.0).rgb; ++} ++"#; ++ ++const ENTRY: &str = r#" ++@fragment ++fn horizon_mod_post_fs(in: HorizonModPostOut) -> @location(0) vec4 { ++ return post(in.uv, in.position.xy); ++} ++"#; ++ ++pub struct ModPost { ++ pipeline: wgpu::RenderPipeline, ++ layout: wgpu::BindGroupLayout, ++ buffer: wgpu::Buffer, ++ sampler: wgpu::Sampler, ++ group: Option<((wgpu::TextureView, wgpu::TextureView), wgpu::BindGroup)>, ++ start: std::time::Instant, ++} ++ ++/// The mod's source with the prelude, checked by naga: errors name the mod's own lines. ++fn compile(source: &str) -> Result { ++ let full = format!("{PRELUDE}\n{source}\n{ENTRY}"); ++ let module = naga::front::wgsl::parse_str(&full).map_err(|e| { ++ let prelude_lines = PRELUDE.lines().count() + 1; ++ let text = e.emit_to_string(&full); ++ match e.location(&full) { ++ Some(l) if l.line_number as usize > prelude_lines => { ++ format!("line {}: {}", l.line_number as usize - prelude_lines, e.message()) ++ } ++ _ => text, ++ } ++ })?; ++ naga::valid::Validator::new( ++ naga::valid::ValidationFlags::all(), ++ naga::valid::Capabilities::default(), ++ ) ++ .validate(&module) ++ .map_err(|e| format!("{}", e.into_inner()))?; ++ Ok(module) ++} ++ ++impl ModPost { ++ pub fn new(device: &wgpu::Device, source: &str, format: wgpu::TextureFormat) -> Result { ++ let module = compile(source)?; ++ let texture = |binding, sample_type| wgpu::BindGroupLayoutEntry { ++ binding, ++ visibility: wgpu::ShaderStages::FRAGMENT, ++ ty: wgpu::BindingType::Texture { ++ sample_type, ++ view_dimension: wgpu::TextureViewDimension::D2, ++ multisampled: false, ++ }, ++ count: None, ++ }; ++ let layout = device.create_bind_group_layout(&wgpu::BindGroupLayoutDescriptor { ++ label: Some("Mod post"), ++ entries: &[ ++ wgpu::BindGroupLayoutEntry { ++ binding: 0, ++ visibility: wgpu::ShaderStages::FRAGMENT, ++ ty: wgpu::BindingType::Buffer { ++ ty: wgpu::BufferBindingType::Uniform, ++ has_dynamic_offset: false, ++ min_binding_size: wgpu::BufferSize::new(size_of::() as u64), ++ }, ++ count: None, ++ }, ++ texture(1, wgpu::TextureSampleType::Float { filterable: true }), ++ texture(2, wgpu::TextureSampleType::Depth), ++ wgpu::BindGroupLayoutEntry { ++ binding: 3, ++ visibility: wgpu::ShaderStages::FRAGMENT, ++ ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering), ++ count: None, ++ }, ++ ], ++ }); ++ let pipeline_layout = device.create_pipeline_layout(&wgpu::PipelineLayoutDescriptor { ++ label: Some("Mod post"), ++ bind_group_layouts: &[Some(&layout)], ++ ..Default::default() ++ }); ++ let scope = device.push_error_scope(wgpu::ErrorFilter::Validation); ++ let shader = device.create_shader_module(wgpu::ShaderModuleDescriptor { ++ label: Some("Mod post"), ++ source: wgpu::ShaderSource::Naga(std::borrow::Cow::Owned(module)), ++ }); ++ let pipeline = device.create_render_pipeline(&wgpu::RenderPipelineDescriptor { ++ label: Some("Mod post"), ++ layout: Some(&pipeline_layout), ++ vertex: wgpu::VertexState { ++ module: &shader, ++ entry_point: Some("horizon_mod_post_vs"), ++ compilation_options: Default::default(), ++ buffers: &[], ++ }, ++ primitive: Default::default(), ++ depth_stencil: None, ++ multisample: Default::default(), ++ fragment: Some(wgpu::FragmentState { ++ module: &shader, ++ entry_point: Some("horizon_mod_post_fs"), ++ compilation_options: Default::default(), ++ targets: &[Some(wgpu::ColorTargetState { ++ format, ++ blend: None, ++ write_mask: wgpu::ColorWrites::ALL, ++ })], ++ }), ++ multiview_mask: None, ++ cache: None, ++ }); ++ if let Some(e) = pollster::block_on(scope.pop()) { ++ return Err(e.to_string()); ++ } ++ let buffer = device.create_buffer(&wgpu::BufferDescriptor { ++ label: Some("Mod post frame"), ++ size: size_of::() as u64, ++ usage: wgpu::BufferUsages::UNIFORM | wgpu::BufferUsages::COPY_DST, ++ mapped_at_creation: false, ++ }); ++ let sampler = device.create_sampler(&wgpu::SamplerDescriptor { ++ label: Some("Mod post linear"), ++ mag_filter: wgpu::FilterMode::Linear, ++ min_filter: wgpu::FilterMode::Linear, ++ ..Default::default() ++ }); ++ Ok(Self { ++ pipeline, ++ layout, ++ buffer, ++ sampler, ++ group: None, ++ start: std::time::Instant::now(), ++ }) ++ } ++ ++ /// This frame's camera and the mod's `params`, for a world of `size`. ++ pub fn write(&self, queue: &wgpu::Queue, frame: &Frame, size: [u32; 2], params: &[f32], partial: f32) { ++ let aspect = size[0] as f32 / size[1].max(1) as f32; ++ let view = crate::camera::view_matrix(frame.yaw, frame.pitch); ++ let projection = ++ super::world_projection(frame.fov_degrees, aspect, frame.depth_far) * frame.bob * frame.spin; ++ let a = frame.sky.sun_angle.to_radians(); ++ let sun = [-a.sin(), a.cos(), 0.0, 0.0]; ++ let mut p = [[0.0f32; 4]; PARAMS / 4]; ++ for (i, v) in params.iter().take(PARAMS).enumerate() { ++ p[i / 4][i % 4] = *v; ++ } ++ let m = |m: Mat4| m.to_cols_array_2d(); ++ let inputs = ModFrame { ++ view_proj: m(projection * view), ++ view_inverse: m(view.inverse()), ++ projection_inverse: m(projection.inverse()), ++ camera: [frame.camera.x as f32, frame.camera.y as f32, frame.camera.z as f32, 0.0], ++ resolution: [ ++ size[0] as f32, ++ size[1] as f32, ++ 1.0 / size[0].max(1) as f32, ++ 1.0 / size[1].max(1) as f32, ++ ], ++ time: [self.start.elapsed().as_secs_f32() % 3600.0, partial, sun[1], 0.0], ++ sun, ++ params: p, ++ }; ++ queue.write_buffer(&self.buffer, 0, bytemuck::bytes_of(&inputs)); ++ } ++ ++ /// Draws the pass over the world target `world` (colour, depth) onto `screen`. ++ pub fn run( ++ &mut self, ++ device: &wgpu::Device, ++ encoder: &mut wgpu::CommandEncoder, ++ world: (&wgpu::TextureView, &wgpu::TextureView), ++ screen: &wgpu::TextureView, ++ ) { ++ if self ++ .group ++ .as_ref() ++ .is_none_or(|((c, d), _)| c != world.0 || d != world.1) ++ { ++ let group = device.create_bind_group(&wgpu::BindGroupDescriptor { ++ label: Some("Mod post"), ++ layout: &self.layout, ++ entries: &[ ++ wgpu::BindGroupEntry { binding: 0, resource: self.buffer.as_entire_binding() }, ++ wgpu::BindGroupEntry { binding: 1, resource: wgpu::BindingResource::TextureView(world.0) }, ++ wgpu::BindGroupEntry { binding: 2, resource: wgpu::BindingResource::TextureView(world.1) }, ++ wgpu::BindGroupEntry { binding: 3, resource: wgpu::BindingResource::Sampler(&self.sampler) }, ++ ], ++ }); ++ self.group = Some(((world.0.clone(), world.1.clone()), group)); ++ } ++ let Some((_, group)) = &self.group else { return }; ++ let mut pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { ++ label: Some("Mod post"), ++ color_attachments: &[Some(wgpu::RenderPassColorAttachment { ++ view: screen, ++ resolve_target: None, ++ depth_slice: None, ++ ops: wgpu::Operations { ++ load: wgpu::LoadOp::Clear(wgpu::Color::BLACK), ++ store: wgpu::StoreOp::Store, ++ }, ++ })], ++ ..Default::default() ++ }); ++ pass.set_pipeline(&self.pipeline); ++ pass.set_bind_group(0, group, &[]); ++ pass.draw(0..3, 0..1); ++ } ++} ++ ++#[cfg(test)] ++mod tests { ++ #[test] ++ fn a_shader_compiles_and_errors_name_its_line() { ++ let ok = "fn post(uv: vec2, pixel: vec2) -> vec4 { return vec4(scene(uv), 1.0); }"; ++ assert!(super::compile(ok).is_ok()); ++ let bad = "fn post(uv: vec2, pixel: vec2) -> vec4 {\n return nope;\n}"; ++ let e = super::compile(bad).unwrap_err(); ++ assert!(e.starts_with("line 2"), "{e}"); ++ } ++} +diff --git a/crates/horizon-mod-sdk/wit/horizon.wit b/crates/horizon-mod-sdk/wit/horizon.wit +index 89d1906a9..1b167c7f7 100644 +--- a/crates/horizon-mod-sdk/wit/horizon.wit ++++ b/crates/horizon-mod-sdk/wit/horizon.wit +@@ -487,6 +487,19 @@ interface render { + /// the highest block that blocks motion or holds a fluid, as the motion + /// blocking heightmap; -64 where the chunk isn't loaded. + ground: func() -> list>; ++ /// A full-screen post pass (AirDef fork): WGSL defining ++ /// `fn post(uv: vec2, pixel: vec2) -> vec4`, after a prelude ++ /// with `frame` (camera matrices, time, `params`), the world's colour and ++ /// depth and helpers (`scene`, `depth-at`, `view-dir`, `scene-distance`, ++ /// `project`). It runs after the world, before the hand and the HUD. ++ /// Compile errors come back in the chat and the log; the last good pass ++ /// keeps running. ++ set-post: func(wgsl: string); ++ clear-post: func(); ++ /// The pass's `frame.params` (up to 1024 floats, as 256 vec4), kept until ++ /// replaced; call it once a tick (the pass gets the partial tick in ++ /// `frame.time.y`). ++ set-params: func(params: list); + } + + /// What the game calls. Only the hooks `init` asks for are ever called. +diff --git a/crates/horizon-mods/src/api_level.rs b/crates/horizon-mods/src/api_level.rs +index b64792eaa..68487e600 100644 +--- a/crates/horizon-mods/src/api_level.rs ++++ b/crates/horizon-mods/src/api_level.rs +@@ -13,7 +13,7 @@ pub const LEVEL: u32 = 8; + /// level. Level 0 is the contract of Horizon 0.2.67 to 0.2.69. A new + /// function takes the next level and raises [`LEVEL`] (the `api_reference` + /// test fails until it is listed here). +-pub const FUNCTIONS: [(&str, u32); 51] = [ ++pub const FUNCTIONS: [(&str, u32); 54] = [ + ("log.write", 0), + ("game.get-player", 0), + ("game.get-clock", 0), +@@ -66,6 +66,9 @@ pub const FUNCTIONS: [(&str, u32); 51] = [ + ("render.play-sound", 8), + ("render.query-ground", 8), + ("render.ground", 8), ++ ("render.set-post", 8), ++ ("render.clear-post", 8), ++ ("render.set-params", 8), + ]; + + /// What the game's program carries so the launcher can read its level +diff --git a/crates/horizon-mods/src/runtime.rs b/crates/horizon-mods/src/runtime.rs +index 317cd4f06..55c1fd13f 100644 +--- a/crates/horizon-mods/src/runtime.rs ++++ b/crates/horizon-mods/src/runtime.rs +@@ -432,6 +432,9 @@ struct State { + ground_queries: Vec<(i32, i32)>, + /// The game's answers to them. + ground: Vec<(i32, i32, i32)>, ++ /// `render.set-post`'s source, with a number that changes with it. ++ post: Option<(u64, String)>, ++ post_params: Vec, + input: InputState, + browser: BrowserState, + /// Capability `storage`'s folder; made on first `set`. +@@ -638,6 +641,8 @@ impl Mods { + models: Vec::new(), + ground_queries: Vec::new(), + ground: Vec::new(), ++ post: None, ++ post_params: Vec::new(), + input: InputState::default(), + browser: BrowserState::default(), + data_dir, +@@ -1212,6 +1217,14 @@ impl Mods { + }) + .collect() + } ++ /// The first running mod's post pass (version, WGSL) and its parameters. ++ pub fn post(&self) -> Option<(u64, &str, &[f32])> { ++ self.entries.iter().find_map(|e| { ++ let d = e.run.as_ref()?.store.data(); ++ let (v, src) = d.post.as_ref()?; ++ Some((*v, src.as_str(), d.post_params.as_slice())) ++ }) ++ } + /// Mod `i`'s answers to its ground queries, for its next calls. + pub fn answer_ground(&mut self, i: usize, ground: Vec<(i32, i32, i32)>) { + if let Some(run) = self.entries.get_mut(i).and_then(|e| e.run.as_mut()) { +@@ -1941,6 +1954,21 @@ impl render::Host for State { + self.out.push(Output::Particles { particles }); + } + } ++ fn set_post(&mut self, wgsl: String) { ++ static VERSION: std::sync::atomic::AtomicU64 = std::sync::atomic::AtomicU64::new(1); ++ let v = VERSION.fetch_add(1, std::sync::atomic::Ordering::Relaxed); ++ self.post = Some((v, clip_to(wgsl, 256 * 1024))); ++ } ++ fn clear_post(&mut self) { ++ self.post = None; ++ } ++ fn set_params(&mut self, params: Vec) { ++ self.post_params = params ++ .into_iter() ++ .take(1024) ++ .map(|v| if v.is_finite() { v } else { 0.0 }) ++ .collect(); ++ } + fn query_ground(&mut self, columns: Vec<(i32, i32)>) { + let room = 512usize.saturating_sub(self.ground_queries.len()); + self.ground_queries.extend(columns.into_iter().take(room)); +-- +2.54.0 (Apple Git-157) + diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..589c216 --- /dev/null +++ b/install.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# Для разработки: перегенерировать модели и звуки, собрать мод и поставить его в папку игры. +set -e +SRC="$(cd "$(dirname "$0")" && pwd)" +python3 "$SRC/tools/gen_models.py" +python3 "$SRC/tools/gen_sounds.py" +python3 "$SRC/tools/airdef.py" mod +python3 "$SRC/tools/airdef.py" install diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_front.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_front.json new file mode 100644 index 0000000..2d475c6 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_front.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_front"},"facing=east":{"model":"airdef:block/gepard_front","y":90},"facing=south":{"model":"airdef:block/gepard_front","y":180},"facing=west":{"model":"airdef:block/gepard_front","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_rear.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_rear.json new file mode 100644 index 0000000..df4fad1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_rear.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_rear"},"facing=east":{"model":"airdef:block/gepard_rear","y":90},"facing=south":{"model":"airdef:block/gepard_rear","y":180},"facing=west":{"model":"airdef:block/gepard_rear","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y0.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y0.json new file mode 100644 index 0000000..0ef1bd4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p0_y0"},"facing=east":{"model":"airdef:block/gepard_turret_p0_y0","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p0_y0","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p0_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y1.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y1.json new file mode 100644 index 0000000..184e44e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p0_y1"},"facing=east":{"model":"airdef:block/gepard_turret_p0_y1","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p0_y1","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p0_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y2.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y2.json new file mode 100644 index 0000000..d9098e1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p0_y2"},"facing=east":{"model":"airdef:block/gepard_turret_p0_y2","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p0_y2","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p0_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y3.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y3.json new file mode 100644 index 0000000..4c643a7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p0_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p0_y3"},"facing=east":{"model":"airdef:block/gepard_turret_p0_y3","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p0_y3","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p0_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y0.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y0.json new file mode 100644 index 0000000..634189b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p1_y0"},"facing=east":{"model":"airdef:block/gepard_turret_p1_y0","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p1_y0","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p1_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y1.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y1.json new file mode 100644 index 0000000..4a99e7e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p1_y1"},"facing=east":{"model":"airdef:block/gepard_turret_p1_y1","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p1_y1","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p1_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y2.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y2.json new file mode 100644 index 0000000..33a5a5f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p1_y2"},"facing=east":{"model":"airdef:block/gepard_turret_p1_y2","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p1_y2","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p1_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y3.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y3.json new file mode 100644 index 0000000..0666dcc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p1_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p1_y3"},"facing=east":{"model":"airdef:block/gepard_turret_p1_y3","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p1_y3","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p1_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y0.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y0.json new file mode 100644 index 0000000..c53ee66 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p2_y0"},"facing=east":{"model":"airdef:block/gepard_turret_p2_y0","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p2_y0","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p2_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y1.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y1.json new file mode 100644 index 0000000..1cb0317 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p2_y1"},"facing=east":{"model":"airdef:block/gepard_turret_p2_y1","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p2_y1","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p2_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y2.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y2.json new file mode 100644 index 0000000..477c7cc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p2_y2"},"facing=east":{"model":"airdef:block/gepard_turret_p2_y2","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p2_y2","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p2_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y3.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y3.json new file mode 100644 index 0000000..d7e926d --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p2_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p2_y3"},"facing=east":{"model":"airdef:block/gepard_turret_p2_y3","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p2_y3","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p2_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y0.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y0.json new file mode 100644 index 0000000..28a9090 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p3_y0"},"facing=east":{"model":"airdef:block/gepard_turret_p3_y0","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p3_y0","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p3_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y1.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y1.json new file mode 100644 index 0000000..8b9d9b6 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p3_y1"},"facing=east":{"model":"airdef:block/gepard_turret_p3_y1","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p3_y1","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p3_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y2.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y2.json new file mode 100644 index 0000000..40925ab --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p3_y2"},"facing=east":{"model":"airdef:block/gepard_turret_p3_y2","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p3_y2","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p3_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y3.json b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y3.json new file mode 100644 index 0000000..10cc515 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/gepard_turret_p3_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/gepard_turret_p3_y3"},"facing=east":{"model":"airdef:block/gepard_turret_p3_y3","y":90},"facing=south":{"model":"airdef:block/gepard_turret_p3_y3","y":180},"facing=west":{"model":"airdef:block/gepard_turret_p3_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y0.json new file mode 100644 index 0000000..83659b8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p0_y0"},"facing=east":{"model":"airdef:block/geran3_p0_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p0_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p0_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y1.json new file mode 100644 index 0000000..8b16563 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p0_y1"},"facing=east":{"model":"airdef:block/geran3_p0_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p0_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p0_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y2.json new file mode 100644 index 0000000..6b42f9e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p0_y2"},"facing=east":{"model":"airdef:block/geran3_p0_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p0_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p0_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y3.json new file mode 100644 index 0000000..dfea2d1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p0_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p0_y3"},"facing=east":{"model":"airdef:block/geran3_p0_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p0_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p0_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y0.json new file mode 100644 index 0000000..8fdec16 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p1_y0"},"facing=east":{"model":"airdef:block/geran3_p1_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p1_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p1_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y1.json new file mode 100644 index 0000000..a3003a0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p1_y1"},"facing=east":{"model":"airdef:block/geran3_p1_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p1_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p1_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y2.json new file mode 100644 index 0000000..face2c7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p1_y2"},"facing=east":{"model":"airdef:block/geran3_p1_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p1_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p1_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y3.json new file mode 100644 index 0000000..94207f8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p1_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p1_y3"},"facing=east":{"model":"airdef:block/geran3_p1_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p1_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p1_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y0.json new file mode 100644 index 0000000..dfb5df7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p2_y0"},"facing=east":{"model":"airdef:block/geran3_p2_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p2_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p2_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y1.json new file mode 100644 index 0000000..d3c9513 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p2_y1"},"facing=east":{"model":"airdef:block/geran3_p2_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p2_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p2_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y2.json new file mode 100644 index 0000000..b83d1a1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p2_y2"},"facing=east":{"model":"airdef:block/geran3_p2_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p2_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p2_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y3.json new file mode 100644 index 0000000..0a3ae2e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p2_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p2_y3"},"facing=east":{"model":"airdef:block/geran3_p2_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p2_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p2_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y0.json new file mode 100644 index 0000000..96c4ad5 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p3_y0"},"facing=east":{"model":"airdef:block/geran3_p3_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p3_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p3_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y1.json new file mode 100644 index 0000000..00d59b4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p3_y1"},"facing=east":{"model":"airdef:block/geran3_p3_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p3_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p3_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y2.json new file mode 100644 index 0000000..fdf2f08 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p3_y2"},"facing=east":{"model":"airdef:block/geran3_p3_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p3_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p3_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y3.json new file mode 100644 index 0000000..842ee23 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p3_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p3_y3"},"facing=east":{"model":"airdef:block/geran3_p3_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p3_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p3_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y0.json new file mode 100644 index 0000000..ed001dc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p4_y0"},"facing=east":{"model":"airdef:block/geran3_p4_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p4_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p4_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y1.json new file mode 100644 index 0000000..a51862e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p4_y1"},"facing=east":{"model":"airdef:block/geran3_p4_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p4_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p4_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y2.json new file mode 100644 index 0000000..b33809a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p4_y2"},"facing=east":{"model":"airdef:block/geran3_p4_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p4_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p4_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y3.json new file mode 100644 index 0000000..6a7fc3c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p4_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p4_y3"},"facing=east":{"model":"airdef:block/geran3_p4_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p4_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p4_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y0.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y0.json new file mode 100644 index 0000000..5b57349 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p5_y0"},"facing=east":{"model":"airdef:block/geran3_p5_y0","y":90},"facing=south":{"model":"airdef:block/geran3_p5_y0","y":180},"facing=west":{"model":"airdef:block/geran3_p5_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y1.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y1.json new file mode 100644 index 0000000..0b0f035 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p5_y1"},"facing=east":{"model":"airdef:block/geran3_p5_y1","y":90},"facing=south":{"model":"airdef:block/geran3_p5_y1","y":180},"facing=west":{"model":"airdef:block/geran3_p5_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y2.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y2.json new file mode 100644 index 0000000..80c185e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p5_y2"},"facing=east":{"model":"airdef:block/geran3_p5_y2","y":90},"facing=south":{"model":"airdef:block/geran3_p5_y2","y":180},"facing=west":{"model":"airdef:block/geran3_p5_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y3.json b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y3.json new file mode 100644 index 0000000..61c7eaf --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/geran3_p5_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/geran3_p5_y3"},"facing=east":{"model":"airdef:block/geran3_p5_y3","y":90},"facing=south":{"model":"airdef:block/geran3_p5_y3","y":180},"facing=west":{"model":"airdef:block/geran3_p5_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y0.json new file mode 100644 index 0000000..e296ce8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p0_y0"},"facing=east":{"model":"airdef:block/pac3_p0_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p0_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p0_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y1.json new file mode 100644 index 0000000..fc57e71 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p0_y1"},"facing=east":{"model":"airdef:block/pac3_p0_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p0_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p0_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y2.json new file mode 100644 index 0000000..46bd110 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p0_y2"},"facing=east":{"model":"airdef:block/pac3_p0_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p0_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p0_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y3.json new file mode 100644 index 0000000..d232726 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p0_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p0_y3"},"facing=east":{"model":"airdef:block/pac3_p0_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p0_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p0_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y0.json new file mode 100644 index 0000000..260db60 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p1_y0"},"facing=east":{"model":"airdef:block/pac3_p1_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p1_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p1_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y1.json new file mode 100644 index 0000000..44af804 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p1_y1"},"facing=east":{"model":"airdef:block/pac3_p1_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p1_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p1_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y2.json new file mode 100644 index 0000000..f5db72c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p1_y2"},"facing=east":{"model":"airdef:block/pac3_p1_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p1_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p1_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y3.json new file mode 100644 index 0000000..7915c91 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p1_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p1_y3"},"facing=east":{"model":"airdef:block/pac3_p1_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p1_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p1_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y0.json new file mode 100644 index 0000000..36e93ab --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p2_y0"},"facing=east":{"model":"airdef:block/pac3_p2_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p2_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p2_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y1.json new file mode 100644 index 0000000..ad61504 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p2_y1"},"facing=east":{"model":"airdef:block/pac3_p2_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p2_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p2_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y2.json new file mode 100644 index 0000000..2502fae --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p2_y2"},"facing=east":{"model":"airdef:block/pac3_p2_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p2_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p2_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y3.json new file mode 100644 index 0000000..3d5681d --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p2_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p2_y3"},"facing=east":{"model":"airdef:block/pac3_p2_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p2_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p2_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y0.json new file mode 100644 index 0000000..93c9763 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p3_y0"},"facing=east":{"model":"airdef:block/pac3_p3_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p3_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p3_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y1.json new file mode 100644 index 0000000..b5a2fe2 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p3_y1"},"facing=east":{"model":"airdef:block/pac3_p3_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p3_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p3_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y2.json new file mode 100644 index 0000000..06e5ebc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p3_y2"},"facing=east":{"model":"airdef:block/pac3_p3_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p3_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p3_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y3.json new file mode 100644 index 0000000..f923f91 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p3_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p3_y3"},"facing=east":{"model":"airdef:block/pac3_p3_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p3_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p3_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y0.json new file mode 100644 index 0000000..2be6ff8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p4_y0"},"facing=east":{"model":"airdef:block/pac3_p4_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p4_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p4_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y1.json new file mode 100644 index 0000000..b20caa7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p4_y1"},"facing=east":{"model":"airdef:block/pac3_p4_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p4_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p4_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y2.json new file mode 100644 index 0000000..44e0630 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p4_y2"},"facing=east":{"model":"airdef:block/pac3_p4_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p4_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p4_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y3.json new file mode 100644 index 0000000..d977651 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p4_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p4_y3"},"facing=east":{"model":"airdef:block/pac3_p4_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p4_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p4_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y0.json new file mode 100644 index 0000000..0785986 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p5_y0"},"facing=east":{"model":"airdef:block/pac3_p5_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p5_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p5_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y1.json new file mode 100644 index 0000000..967c07c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p5_y1"},"facing=east":{"model":"airdef:block/pac3_p5_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p5_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p5_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y2.json new file mode 100644 index 0000000..bcd7ddc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p5_y2"},"facing=east":{"model":"airdef:block/pac3_p5_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p5_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p5_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y3.json new file mode 100644 index 0000000..77798e6 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p5_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p5_y3"},"facing=east":{"model":"airdef:block/pac3_p5_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p5_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p5_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y0.json new file mode 100644 index 0000000..5c29713 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p6_y0"},"facing=east":{"model":"airdef:block/pac3_p6_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p6_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p6_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y1.json new file mode 100644 index 0000000..006e87a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p6_y1"},"facing=east":{"model":"airdef:block/pac3_p6_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p6_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p6_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y2.json new file mode 100644 index 0000000..eb1a610 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p6_y2"},"facing=east":{"model":"airdef:block/pac3_p6_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p6_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p6_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y3.json new file mode 100644 index 0000000..88f7cc3 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p6_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p6_y3"},"facing=east":{"model":"airdef:block/pac3_p6_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p6_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p6_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y0.json new file mode 100644 index 0000000..a888b8c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p7_y0"},"facing=east":{"model":"airdef:block/pac3_p7_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p7_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p7_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y1.json new file mode 100644 index 0000000..d8c2d30 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p7_y1"},"facing=east":{"model":"airdef:block/pac3_p7_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p7_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p7_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y2.json new file mode 100644 index 0000000..1e683c5 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p7_y2"},"facing=east":{"model":"airdef:block/pac3_p7_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p7_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p7_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y3.json new file mode 100644 index 0000000..3ff571e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p7_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p7_y3"},"facing=east":{"model":"airdef:block/pac3_p7_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p7_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p7_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y0.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y0.json new file mode 100644 index 0000000..8918c0b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p8_y0"},"facing=east":{"model":"airdef:block/pac3_p8_y0","y":90},"facing=south":{"model":"airdef:block/pac3_p8_y0","y":180},"facing=west":{"model":"airdef:block/pac3_p8_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y1.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y1.json new file mode 100644 index 0000000..c7cd457 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p8_y1"},"facing=east":{"model":"airdef:block/pac3_p8_y1","y":90},"facing=south":{"model":"airdef:block/pac3_p8_y1","y":180},"facing=west":{"model":"airdef:block/pac3_p8_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y2.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y2.json new file mode 100644 index 0000000..64fc246 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p8_y2"},"facing=east":{"model":"airdef:block/pac3_p8_y2","y":90},"facing=south":{"model":"airdef:block/pac3_p8_y2","y":180},"facing=west":{"model":"airdef:block/pac3_p8_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y3.json b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y3.json new file mode 100644 index 0000000..dfbe526 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/pac3_p8_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/pac3_p8_y3"},"facing=east":{"model":"airdef:block/pac3_p8_y3","y":90},"facing=south":{"model":"airdef:block/pac3_p8_y3","y":180},"facing=west":{"model":"airdef:block/pac3_p8_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y0.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y0.json new file mode 100644 index 0000000..85edcb4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_box_p0_y0"},"facing=east":{"model":"airdef:block/patriot_box_p0_y0","y":90},"facing=south":{"model":"airdef:block/patriot_box_p0_y0","y":180},"facing=west":{"model":"airdef:block/patriot_box_p0_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y1.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y1.json new file mode 100644 index 0000000..ce0a2dc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_box_p0_y1"},"facing=east":{"model":"airdef:block/patriot_box_p0_y1","y":90},"facing=south":{"model":"airdef:block/patriot_box_p0_y1","y":180},"facing=west":{"model":"airdef:block/patriot_box_p0_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y2.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y2.json new file mode 100644 index 0000000..0b70e29 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_box_p0_y2"},"facing=east":{"model":"airdef:block/patriot_box_p0_y2","y":90},"facing=south":{"model":"airdef:block/patriot_box_p0_y2","y":180},"facing=west":{"model":"airdef:block/patriot_box_p0_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y3.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y3.json new file mode 100644 index 0000000..3a91805 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_box_p0_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_box_p0_y3"},"facing=east":{"model":"airdef:block/patriot_box_p0_y3","y":90},"facing=south":{"model":"airdef:block/patriot_box_p0_y3","y":180},"facing=west":{"model":"airdef:block/patriot_box_p0_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_trailer.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_trailer.json new file mode 100644 index 0000000..f8cd50a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_trailer.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_trailer"},"facing=east":{"model":"airdef:block/patriot_trailer","y":90},"facing=south":{"model":"airdef:block/patriot_trailer","y":180},"facing=west":{"model":"airdef:block/patriot_trailer","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/patriot_truck.json b/legacy/airdef-content/assets/airdef/blockstates/patriot_truck.json new file mode 100644 index 0000000..2182451 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/patriot_truck.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/patriot_truck"},"facing=east":{"model":"airdef:block/patriot_truck","y":90},"facing=south":{"model":"airdef:block/patriot_truck","y":180},"facing=west":{"model":"airdef:block/patriot_truck","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y0.json new file mode 100644 index 0000000..607841b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p0_y0"},"facing=east":{"model":"airdef:block/shahed_p0_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p0_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p0_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y1.json new file mode 100644 index 0000000..b115667 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p0_y1"},"facing=east":{"model":"airdef:block/shahed_p0_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p0_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p0_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y2.json new file mode 100644 index 0000000..a44ec8c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p0_y2"},"facing=east":{"model":"airdef:block/shahed_p0_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p0_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p0_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y3.json new file mode 100644 index 0000000..eb9899a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p0_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p0_y3"},"facing=east":{"model":"airdef:block/shahed_p0_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p0_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p0_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y0.json new file mode 100644 index 0000000..9be0c6b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p1_y0"},"facing=east":{"model":"airdef:block/shahed_p1_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p1_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p1_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y1.json new file mode 100644 index 0000000..4069821 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p1_y1"},"facing=east":{"model":"airdef:block/shahed_p1_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p1_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p1_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y2.json new file mode 100644 index 0000000..b5cf4ed --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p1_y2"},"facing=east":{"model":"airdef:block/shahed_p1_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p1_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p1_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y3.json new file mode 100644 index 0000000..d640717 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p1_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p1_y3"},"facing=east":{"model":"airdef:block/shahed_p1_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p1_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p1_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y0.json new file mode 100644 index 0000000..a6e66e8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p2_y0"},"facing=east":{"model":"airdef:block/shahed_p2_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p2_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p2_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y1.json new file mode 100644 index 0000000..6591eac --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p2_y1"},"facing=east":{"model":"airdef:block/shahed_p2_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p2_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p2_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y2.json new file mode 100644 index 0000000..e311306 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p2_y2"},"facing=east":{"model":"airdef:block/shahed_p2_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p2_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p2_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y3.json new file mode 100644 index 0000000..81952cf --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p2_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p2_y3"},"facing=east":{"model":"airdef:block/shahed_p2_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p2_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p2_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y0.json new file mode 100644 index 0000000..4118f39 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p3_y0"},"facing=east":{"model":"airdef:block/shahed_p3_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p3_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p3_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y1.json new file mode 100644 index 0000000..1f87afd --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p3_y1"},"facing=east":{"model":"airdef:block/shahed_p3_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p3_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p3_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y2.json new file mode 100644 index 0000000..f496541 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p3_y2"},"facing=east":{"model":"airdef:block/shahed_p3_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p3_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p3_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y3.json new file mode 100644 index 0000000..c16741e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p3_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p3_y3"},"facing=east":{"model":"airdef:block/shahed_p3_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p3_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p3_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y0.json new file mode 100644 index 0000000..a4a804a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p4_y0"},"facing=east":{"model":"airdef:block/shahed_p4_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p4_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p4_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y1.json new file mode 100644 index 0000000..2f972b5 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p4_y1"},"facing=east":{"model":"airdef:block/shahed_p4_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p4_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p4_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y2.json new file mode 100644 index 0000000..96687b0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p4_y2"},"facing=east":{"model":"airdef:block/shahed_p4_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p4_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p4_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y3.json new file mode 100644 index 0000000..6768a93 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p4_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p4_y3"},"facing=east":{"model":"airdef:block/shahed_p4_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p4_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p4_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y0.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y0.json new file mode 100644 index 0000000..a66a81a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y0.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p5_y0"},"facing=east":{"model":"airdef:block/shahed_p5_y0","y":90},"facing=south":{"model":"airdef:block/shahed_p5_y0","y":180},"facing=west":{"model":"airdef:block/shahed_p5_y0","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y1.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y1.json new file mode 100644 index 0000000..20b0250 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y1.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p5_y1"},"facing=east":{"model":"airdef:block/shahed_p5_y1","y":90},"facing=south":{"model":"airdef:block/shahed_p5_y1","y":180},"facing=west":{"model":"airdef:block/shahed_p5_y1","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y2.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y2.json new file mode 100644 index 0000000..82003d9 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y2.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p5_y2"},"facing=east":{"model":"airdef:block/shahed_p5_y2","y":90},"facing=south":{"model":"airdef:block/shahed_p5_y2","y":180},"facing=west":{"model":"airdef:block/shahed_p5_y2","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y3.json b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y3.json new file mode 100644 index 0000000..d7623ef --- /dev/null +++ b/legacy/airdef-content/assets/airdef/blockstates/shahed_p5_y3.json @@ -0,0 +1 @@ +{"variants":{"facing=north":{"model":"airdef:block/shahed_p5_y3"},"facing=east":{"model":"airdef:block/shahed_p5_y3","y":90},"facing=south":{"model":"airdef:block/shahed_p5_y3","y":180},"facing=west":{"model":"airdef:block/shahed_p5_y3","y":270}}} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/lang/en_us.json b/legacy/airdef-content/assets/airdef/lang/en_us.json new file mode 100644 index 0000000..ed7a01f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/lang/en_us.json @@ -0,0 +1 @@ +{"block.airdef.shahed_p0_y0":"Шахед-136","block.airdef.shahed_p0_y1":"Шахед-136","block.airdef.shahed_p0_y2":"Шахед-136","block.airdef.shahed_p0_y3":"Шахед-136","block.airdef.shahed_p1_y0":"Шахед-136","block.airdef.shahed_p1_y1":"Шахед-136","block.airdef.shahed_p1_y2":"Шахед-136","block.airdef.shahed_p1_y3":"Шахед-136","block.airdef.shahed_p2_y0":"Шахед-136","block.airdef.shahed_p2_y1":"Шахед-136","block.airdef.shahed_p2_y2":"Шахед-136","block.airdef.shahed_p2_y3":"Шахед-136","block.airdef.shahed_p3_y0":"Шахед-136","block.airdef.shahed_p3_y1":"Шахед-136","block.airdef.shahed_p3_y2":"Шахед-136","block.airdef.shahed_p3_y3":"Шахед-136","block.airdef.shahed_p4_y0":"Шахед-136","block.airdef.shahed_p4_y1":"Шахед-136","block.airdef.shahed_p4_y2":"Шахед-136","block.airdef.shahed_p4_y3":"Шахед-136","block.airdef.shahed_p5_y0":"Шахед-136","block.airdef.shahed_p5_y1":"Шахед-136","block.airdef.shahed_p5_y2":"Шахед-136","block.airdef.shahed_p5_y3":"Шахед-136","block.airdef.geran3_p0_y0":"Герань-3","block.airdef.geran3_p0_y1":"Герань-3","block.airdef.geran3_p0_y2":"Герань-3","block.airdef.geran3_p0_y3":"Герань-3","block.airdef.geran3_p1_y0":"Герань-3","block.airdef.geran3_p1_y1":"Герань-3","block.airdef.geran3_p1_y2":"Герань-3","block.airdef.geran3_p1_y3":"Герань-3","block.airdef.geran3_p2_y0":"Герань-3","block.airdef.geran3_p2_y1":"Герань-3","block.airdef.geran3_p2_y2":"Герань-3","block.airdef.geran3_p2_y3":"Герань-3","block.airdef.geran3_p3_y0":"Герань-3","block.airdef.geran3_p3_y1":"Герань-3","block.airdef.geran3_p3_y2":"Герань-3","block.airdef.geran3_p3_y3":"Герань-3","block.airdef.geran3_p4_y0":"Герань-3","block.airdef.geran3_p4_y1":"Герань-3","block.airdef.geran3_p4_y2":"Герань-3","block.airdef.geran3_p4_y3":"Герань-3","block.airdef.geran3_p5_y0":"Герань-3","block.airdef.geran3_p5_y1":"Герань-3","block.airdef.geran3_p5_y2":"Герань-3","block.airdef.geran3_p5_y3":"Герань-3","block.airdef.pac3_p0_y0":"Ракета PAC-3","block.airdef.pac3_p0_y1":"Ракета PAC-3","block.airdef.pac3_p0_y2":"Ракета PAC-3","block.airdef.pac3_p0_y3":"Ракета PAC-3","block.airdef.pac3_p1_y0":"Ракета PAC-3","block.airdef.pac3_p1_y1":"Ракета PAC-3","block.airdef.pac3_p1_y2":"Ракета PAC-3","block.airdef.pac3_p1_y3":"Ракета PAC-3","block.airdef.pac3_p2_y0":"Ракета PAC-3","block.airdef.pac3_p2_y1":"Ракета PAC-3","block.airdef.pac3_p2_y2":"Ракета PAC-3","block.airdef.pac3_p2_y3":"Ракета PAC-3","block.airdef.pac3_p3_y0":"Ракета PAC-3","block.airdef.pac3_p3_y1":"Ракета PAC-3","block.airdef.pac3_p3_y2":"Ракета PAC-3","block.airdef.pac3_p3_y3":"Ракета PAC-3","block.airdef.pac3_p4_y0":"Ракета PAC-3","block.airdef.pac3_p4_y1":"Ракета PAC-3","block.airdef.pac3_p4_y2":"Ракета PAC-3","block.airdef.pac3_p4_y3":"Ракета PAC-3","block.airdef.pac3_p5_y0":"Ракета PAC-3","block.airdef.pac3_p5_y1":"Ракета PAC-3","block.airdef.pac3_p5_y2":"Ракета PAC-3","block.airdef.pac3_p5_y3":"Ракета PAC-3","block.airdef.pac3_p6_y0":"Ракета PAC-3","block.airdef.pac3_p6_y1":"Ракета PAC-3","block.airdef.pac3_p6_y2":"Ракета PAC-3","block.airdef.pac3_p6_y3":"Ракета PAC-3","block.airdef.pac3_p7_y0":"Ракета PAC-3","block.airdef.pac3_p7_y1":"Ракета PAC-3","block.airdef.pac3_p7_y2":"Ракета PAC-3","block.airdef.pac3_p7_y3":"Ракета PAC-3","block.airdef.pac3_p8_y0":"Ракета PAC-3","block.airdef.pac3_p8_y1":"Ракета PAC-3","block.airdef.pac3_p8_y2":"Ракета PAC-3","block.airdef.pac3_p8_y3":"Ракета PAC-3","block.airdef.patriot_box_p0_y0":"ПУ Patriot","block.airdef.patriot_box_p0_y1":"ПУ Patriot","block.airdef.patriot_box_p0_y2":"ПУ Patriot","block.airdef.patriot_box_p0_y3":"ПУ Patriot","block.airdef.gepard_turret_p0_y0":"Башня Гепарда","block.airdef.gepard_turret_p0_y1":"Башня Гепарда","block.airdef.gepard_turret_p0_y2":"Башня Гепарда","block.airdef.gepard_turret_p0_y3":"Башня Гепарда","block.airdef.gepard_turret_p1_y0":"Башня Гепарда","block.airdef.gepard_turret_p1_y1":"Башня Гепарда","block.airdef.gepard_turret_p1_y2":"Башня Гепарда","block.airdef.gepard_turret_p1_y3":"Башня Гепарда","block.airdef.gepard_turret_p2_y0":"Башня Гепарда","block.airdef.gepard_turret_p2_y1":"Башня Гепарда","block.airdef.gepard_turret_p2_y2":"Башня Гепарда","block.airdef.gepard_turret_p2_y3":"Башня Гепарда","block.airdef.gepard_turret_p3_y0":"Башня Гепарда","block.airdef.gepard_turret_p3_y1":"Башня Гепарда","block.airdef.gepard_turret_p3_y2":"Башня Гепарда","block.airdef.gepard_turret_p3_y3":"Башня Гепарда","block.airdef.patriot_truck":"Тягач Patriot","block.airdef.patriot_trailer":"Полуприцеп Patriot","block.airdef.gepard_front":"Корпус Гепарда (нос)","block.airdef.gepard_rear":"Корпус Гепарда (корма)"} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/lang/ru_ru.json b/legacy/airdef-content/assets/airdef/lang/ru_ru.json new file mode 100644 index 0000000..ed7a01f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/lang/ru_ru.json @@ -0,0 +1 @@ +{"block.airdef.shahed_p0_y0":"Шахед-136","block.airdef.shahed_p0_y1":"Шахед-136","block.airdef.shahed_p0_y2":"Шахед-136","block.airdef.shahed_p0_y3":"Шахед-136","block.airdef.shahed_p1_y0":"Шахед-136","block.airdef.shahed_p1_y1":"Шахед-136","block.airdef.shahed_p1_y2":"Шахед-136","block.airdef.shahed_p1_y3":"Шахед-136","block.airdef.shahed_p2_y0":"Шахед-136","block.airdef.shahed_p2_y1":"Шахед-136","block.airdef.shahed_p2_y2":"Шахед-136","block.airdef.shahed_p2_y3":"Шахед-136","block.airdef.shahed_p3_y0":"Шахед-136","block.airdef.shahed_p3_y1":"Шахед-136","block.airdef.shahed_p3_y2":"Шахед-136","block.airdef.shahed_p3_y3":"Шахед-136","block.airdef.shahed_p4_y0":"Шахед-136","block.airdef.shahed_p4_y1":"Шахед-136","block.airdef.shahed_p4_y2":"Шахед-136","block.airdef.shahed_p4_y3":"Шахед-136","block.airdef.shahed_p5_y0":"Шахед-136","block.airdef.shahed_p5_y1":"Шахед-136","block.airdef.shahed_p5_y2":"Шахед-136","block.airdef.shahed_p5_y3":"Шахед-136","block.airdef.geran3_p0_y0":"Герань-3","block.airdef.geran3_p0_y1":"Герань-3","block.airdef.geran3_p0_y2":"Герань-3","block.airdef.geran3_p0_y3":"Герань-3","block.airdef.geran3_p1_y0":"Герань-3","block.airdef.geran3_p1_y1":"Герань-3","block.airdef.geran3_p1_y2":"Герань-3","block.airdef.geran3_p1_y3":"Герань-3","block.airdef.geran3_p2_y0":"Герань-3","block.airdef.geran3_p2_y1":"Герань-3","block.airdef.geran3_p2_y2":"Герань-3","block.airdef.geran3_p2_y3":"Герань-3","block.airdef.geran3_p3_y0":"Герань-3","block.airdef.geran3_p3_y1":"Герань-3","block.airdef.geran3_p3_y2":"Герань-3","block.airdef.geran3_p3_y3":"Герань-3","block.airdef.geran3_p4_y0":"Герань-3","block.airdef.geran3_p4_y1":"Герань-3","block.airdef.geran3_p4_y2":"Герань-3","block.airdef.geran3_p4_y3":"Герань-3","block.airdef.geran3_p5_y0":"Герань-3","block.airdef.geran3_p5_y1":"Герань-3","block.airdef.geran3_p5_y2":"Герань-3","block.airdef.geran3_p5_y3":"Герань-3","block.airdef.pac3_p0_y0":"Ракета PAC-3","block.airdef.pac3_p0_y1":"Ракета PAC-3","block.airdef.pac3_p0_y2":"Ракета PAC-3","block.airdef.pac3_p0_y3":"Ракета PAC-3","block.airdef.pac3_p1_y0":"Ракета PAC-3","block.airdef.pac3_p1_y1":"Ракета PAC-3","block.airdef.pac3_p1_y2":"Ракета PAC-3","block.airdef.pac3_p1_y3":"Ракета PAC-3","block.airdef.pac3_p2_y0":"Ракета PAC-3","block.airdef.pac3_p2_y1":"Ракета PAC-3","block.airdef.pac3_p2_y2":"Ракета PAC-3","block.airdef.pac3_p2_y3":"Ракета PAC-3","block.airdef.pac3_p3_y0":"Ракета PAC-3","block.airdef.pac3_p3_y1":"Ракета PAC-3","block.airdef.pac3_p3_y2":"Ракета PAC-3","block.airdef.pac3_p3_y3":"Ракета PAC-3","block.airdef.pac3_p4_y0":"Ракета PAC-3","block.airdef.pac3_p4_y1":"Ракета PAC-3","block.airdef.pac3_p4_y2":"Ракета PAC-3","block.airdef.pac3_p4_y3":"Ракета PAC-3","block.airdef.pac3_p5_y0":"Ракета PAC-3","block.airdef.pac3_p5_y1":"Ракета PAC-3","block.airdef.pac3_p5_y2":"Ракета PAC-3","block.airdef.pac3_p5_y3":"Ракета PAC-3","block.airdef.pac3_p6_y0":"Ракета PAC-3","block.airdef.pac3_p6_y1":"Ракета PAC-3","block.airdef.pac3_p6_y2":"Ракета PAC-3","block.airdef.pac3_p6_y3":"Ракета PAC-3","block.airdef.pac3_p7_y0":"Ракета PAC-3","block.airdef.pac3_p7_y1":"Ракета PAC-3","block.airdef.pac3_p7_y2":"Ракета PAC-3","block.airdef.pac3_p7_y3":"Ракета PAC-3","block.airdef.pac3_p8_y0":"Ракета PAC-3","block.airdef.pac3_p8_y1":"Ракета PAC-3","block.airdef.pac3_p8_y2":"Ракета PAC-3","block.airdef.pac3_p8_y3":"Ракета PAC-3","block.airdef.patriot_box_p0_y0":"ПУ Patriot","block.airdef.patriot_box_p0_y1":"ПУ Patriot","block.airdef.patriot_box_p0_y2":"ПУ Patriot","block.airdef.patriot_box_p0_y3":"ПУ Patriot","block.airdef.gepard_turret_p0_y0":"Башня Гепарда","block.airdef.gepard_turret_p0_y1":"Башня Гепарда","block.airdef.gepard_turret_p0_y2":"Башня Гепарда","block.airdef.gepard_turret_p0_y3":"Башня Гепарда","block.airdef.gepard_turret_p1_y0":"Башня Гепарда","block.airdef.gepard_turret_p1_y1":"Башня Гепарда","block.airdef.gepard_turret_p1_y2":"Башня Гепарда","block.airdef.gepard_turret_p1_y3":"Башня Гепарда","block.airdef.gepard_turret_p2_y0":"Башня Гепарда","block.airdef.gepard_turret_p2_y1":"Башня Гепарда","block.airdef.gepard_turret_p2_y2":"Башня Гепарда","block.airdef.gepard_turret_p2_y3":"Башня Гепарда","block.airdef.gepard_turret_p3_y0":"Башня Гепарда","block.airdef.gepard_turret_p3_y1":"Башня Гепарда","block.airdef.gepard_turret_p3_y2":"Башня Гепарда","block.airdef.gepard_turret_p3_y3":"Башня Гепарда","block.airdef.patriot_truck":"Тягач Patriot","block.airdef.patriot_trailer":"Полуприцеп Patriot","block.airdef.gepard_front":"Корпус Гепарда (нос)","block.airdef.gepard_rear":"Корпус Гепарда (корма)"} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_front.json b/legacy/airdef-content/assets/airdef/models/block/gepard_front.json new file mode 100644 index 0000000..2d5f106 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_front.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","metal":"airdef:block/metal","track":"airdef:block/track","particle":"airdef:block/flecktarn"},"elements":[{"from":[-12,4,-12],"to":[28,18,32],"faces":{"north":{"uv":[0,0,16,14],"texture":"#flecktarn"},"south":{"uv":[0,0,16,14],"texture":"#flecktarn"},"east":{"uv":[0,0,16,14],"texture":"#flecktarn"},"west":{"uv":[0,0,16,14],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[-12,4,-16],"to":[28,13,-12],"faces":{"north":{"uv":[0,0,16,9],"texture":"#flecktarn"},"south":{"uv":[0,0,16,9],"texture":"#flecktarn"},"east":{"uv":[0,0,4,9],"texture":"#flecktarn"},"west":{"uv":[0,0,4,9],"texture":"#flecktarn"},"up":{"uv":[0,0,16,4],"texture":"#flecktarn"},"down":{"uv":[0,0,16,4],"texture":"#flecktarn"}}},{"from":[-10,18,20],"to":[26,19,32],"faces":{"north":{"uv":[0,0,16,1],"texture":"#metal"},"south":{"uv":[0,0,16,1],"texture":"#metal"},"east":{"uv":[0,0,12,1],"texture":"#metal"},"west":{"uv":[0,0,12,1],"texture":"#metal"},"up":{"uv":[0,0,16,12],"texture":"#metal"},"down":{"uv":[0,0,16,12],"texture":"#metal"}}},{"from":[-16,0,-14],"to":[-12,11,32],"faces":{"north":{"uv":[0,0,4,11],"texture":"#track"},"south":{"uv":[0,0,4,11],"texture":"#track"},"east":{"uv":[0,0,16,11],"texture":"#track"},"west":{"uv":[0,0,16,11],"texture":"#track"},"up":{"uv":[0,0,4,16],"texture":"#track"},"down":{"uv":[0,0,4,16],"texture":"#track"}}},{"from":[28,0,-14],"to":[32,11,32],"faces":{"north":{"uv":[0,0,4,11],"texture":"#track"},"south":{"uv":[0,0,4,11],"texture":"#track"},"east":{"uv":[0,0,16,11],"texture":"#track"},"west":{"uv":[0,0,16,11],"texture":"#track"},"up":{"uv":[0,0,4,16],"texture":"#track"},"down":{"uv":[0,0,4,16],"texture":"#track"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_rear.json b/legacy/airdef-content/assets/airdef/models/block/gepard_rear.json new file mode 100644 index 0000000..2fc9c17 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_rear.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","metal":"airdef:block/metal","track":"airdef:block/track","particle":"airdef:block/flecktarn"},"elements":[{"from":[-12,4,-16],"to":[28,18,26],"faces":{"north":{"uv":[0,0,16,14],"texture":"#flecktarn"},"south":{"uv":[0,0,16,14],"texture":"#flecktarn"},"east":{"uv":[0,0,16,14],"texture":"#flecktarn"},"west":{"uv":[0,0,16,14],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[-10,18,-16],"to":[26,19,20],"faces":{"north":{"uv":[0,0,16,1],"texture":"#flecktarn"},"south":{"uv":[0,0,16,1],"texture":"#flecktarn"},"east":{"uv":[0,0,16,1],"texture":"#flecktarn"},"west":{"uv":[0,0,16,1],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[-6,18,4],"to":[22,19.5,18],"faces":{"north":{"uv":[0,0,16,1.5],"texture":"#metal"},"south":{"uv":[0,0,16,1.5],"texture":"#metal"},"east":{"uv":[0,0,14,1.5],"texture":"#metal"},"west":{"uv":[0,0,14,1.5],"texture":"#metal"},"up":{"uv":[0,0,16,14],"texture":"#metal"},"down":{"uv":[0,0,16,14],"texture":"#metal"}}},{"from":[-16,0,-16],"to":[-12,11,28],"faces":{"north":{"uv":[0,0,4,11],"texture":"#track"},"south":{"uv":[0,0,4,11],"texture":"#track"},"east":{"uv":[0,0,16,11],"texture":"#track"},"west":{"uv":[0,0,16,11],"texture":"#track"},"up":{"uv":[0,0,4,16],"texture":"#track"},"down":{"uv":[0,0,4,16],"texture":"#track"}}},{"from":[28,0,-16],"to":[32,11,28],"faces":{"north":{"uv":[0,0,4,11],"texture":"#track"},"south":{"uv":[0,0,4,11],"texture":"#track"},"east":{"uv":[0,0,16,11],"texture":"#track"},"west":{"uv":[0,0,16,11],"texture":"#track"},"up":{"uv":[0,0,4,16],"texture":"#track"},"down":{"uv":[0,0,4,16],"texture":"#track"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y0.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y0.json new file mode 100644 index 0000000..cccf5d7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y0.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y1.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y1.json new file mode 100644 index 0000000..c6a24a4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y1.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-22.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-22.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-22.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y2.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y2.json new file mode 100644 index 0000000..f1d9cd1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y2.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-45}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-45}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-45}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y3.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y3.json new file mode 100644 index 0000000..0a77a5e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p0_y3.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-67.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":75,"y":-67.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-67.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":75,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y0.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y0.json new file mode 100644 index 0000000..05e0e07 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y0.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y1.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y1.json new file mode 100644 index 0000000..8bf0b74 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y1.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-22.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-22.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-22.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y2.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y2.json new file mode 100644 index 0000000..49de0c0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y2.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-45}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-45}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-45}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y3.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y3.json new file mode 100644 index 0000000..58efde0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p1_y3.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-67.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":50,"y":-67.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-67.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":50,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y0.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y0.json new file mode 100644 index 0000000..09c0d55 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y0.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y1.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y1.json new file mode 100644 index 0000000..e25f953 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y1.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-22.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-22.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-22.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y2.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y2.json new file mode 100644 index 0000000..310edab --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y2.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-45}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-45}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-45}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y3.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y3.json new file mode 100644 index 0000000..ba344ca --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p2_y3.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-67.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"x":25,"y":-67.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-67.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"x":25,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y0.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y0.json new file mode 100644 index 0000000..40885d8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y0.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y1.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y1.json new file mode 100644 index 0000000..6d52b0c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y1.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y2.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y2.json new file mode 100644 index 0000000..4e67dfc --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y2.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y3.json b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y3.json new file mode 100644 index 0000000..89c76de --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/gepard_turret_p3_y3.json @@ -0,0 +1 @@ +{"textures":{"flecktarn":"airdef:block/flecktarn","radar":"airdef:block/radar","metal":"airdef:block/metal","barrel":"airdef:block/barrel","particle":"airdef:block/flecktarn"},"elements":[{"from":[-3,2,-2],"to":[19,14,20],"faces":{"north":{"uv":[0,0,16,12],"texture":"#flecktarn"},"south":{"uv":[0,0,16,12],"texture":"#flecktarn"},"east":{"uv":[0,0,16,12],"texture":"#flecktarn"},"west":{"uv":[0,0,16,12],"texture":"#flecktarn"},"up":{"uv":[0,0,16,16],"texture":"#flecktarn"},"down":{"uv":[0,0,16,16],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,14,4],"to":[15,16,16],"faces":{"north":{"uv":[0,0,14,2],"texture":"#flecktarn"},"south":{"uv":[0,0,14,2],"texture":"#flecktarn"},"east":{"uv":[0,0,12,2],"texture":"#flecktarn"},"west":{"uv":[0,0,12,2],"texture":"#flecktarn"},"up":{"uv":[0,0,14,12],"texture":"#flecktarn"},"down":{"uv":[0,0,14,12],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[4,6,-6],"to":[12,13,-2],"faces":{"north":{"uv":[0,0,8,7],"texture":"#radar"},"south":{"uv":[0,0,8,7],"texture":"#radar"},"east":{"uv":[0,0,4,7],"texture":"#radar"},"west":{"uv":[0,0,4,7],"texture":"#radar"},"up":{"uv":[0,0,8,4],"texture":"#radar"},"down":{"uv":[0,0,8,4],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.5,16,15],"to":[8.5,22,16],"faces":{"north":{"uv":[0,0,1.0,6],"texture":"#metal"},"south":{"uv":[0,0,1.0,6],"texture":"#metal"},"east":{"uv":[0,0,1,6],"texture":"#metal"},"west":{"uv":[0,0,1,6],"texture":"#metal"},"up":{"uv":[0,0,1.0,1],"texture":"#metal"},"down":{"uv":[0,0,1.0,1],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1,21,14],"to":[15,24,16],"faces":{"north":{"uv":[0,0,14,3],"texture":"#radar"},"south":{"uv":[0,0,14,3],"texture":"#radar"},"east":{"uv":[0,0,2,3],"texture":"#radar"},"west":{"uv":[0,0,2,3],"texture":"#radar"},"up":{"uv":[0,0,14,2],"texture":"#radar"},"down":{"uv":[0,0,14,2],"texture":"#radar"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7,7,-16],"to":[-4.5,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[20.5,7,-16],"to":[23,9.5,10],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"south":{"uv":[0,0,2.5,2.5],"texture":"#barrel"},"east":{"uv":[0,0,16,2.5],"texture":"#barrel"},"west":{"uv":[0,0,16,2.5],"texture":"#barrel"},"up":{"uv":[0,0,2.5,16],"texture":"#barrel"},"down":{"uv":[0,0,2.5,16],"texture":"#barrel"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-8,5.5,2],"to":[-3,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[19,5.5,2],"to":[24,11,12],"faces":{"north":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"south":{"uv":[0,0,5,5.5],"texture":"#flecktarn"},"east":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"west":{"uv":[0,0,10,5.5],"texture":"#flecktarn"},"up":{"uv":[0,0,5,10],"texture":"#flecktarn"},"down":{"uv":[0,0,5,10],"texture":"#flecktarn"}},"rotation":{"origin":[8,8,8],"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y0.json new file mode 100644 index 0000000..7dd98be --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y1.json new file mode 100644 index 0000000..d0e9955 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y2.json new file mode 100644 index 0000000..db1b3c8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y3.json new file mode 100644 index 0000000..e448960 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p0_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y0.json new file mode 100644 index 0000000..8997aa4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y1.json new file mode 100644 index 0000000..a519143 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y2.json new file mode 100644 index 0000000..9573138 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y3.json new file mode 100644 index 0000000..0c68361 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p1_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y0.json new file mode 100644 index 0000000..8ce016f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y1.json new file mode 100644 index 0000000..f4a7533 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y2.json new file mode 100644 index 0000000..56abce9 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y3.json new file mode 100644 index 0000000..9b1e38f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p2_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y0.json new file mode 100644 index 0000000..768046e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y1.json new file mode 100644 index 0000000..76280f7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y2.json new file mode 100644 index 0000000..db50c84 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y3.json new file mode 100644 index 0000000..0b0e4be --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p3_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y0.json new file mode 100644 index 0000000..3506872 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y1.json new file mode 100644 index 0000000..3fe6938 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y2.json new file mode 100644 index 0000000..0c9e9a8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y3.json new file mode 100644 index 0000000..131d665 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p4_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y0.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y0.json new file mode 100644 index 0000000..0a3df1f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y0.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y1.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y1.json new file mode 100644 index 0000000..b6253e3 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y1.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y2.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y2.json new file mode 100644 index 0000000..7659e2b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y2.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y3.json b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y3.json new file mode 100644 index 0000000..36bc26f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/geran3_p5_y3.json @@ -0,0 +1 @@ +{"textures":{"geran":"airdef:block/geran","geran_engine":"airdef:block/geran_engine","nozzle":"airdef:block/nozzle","particle":"airdef:block/geran"},"elements":[{"from":[6.5,6.5,-12],"to":[9.5,9.5,20],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"south":{"uv":[0,0,3.0,3.0],"texture":"#geran"},"east":{"uv":[0,0,16,3.0],"texture":"#geran"},"west":{"uv":[0,0,16,3.0],"texture":"#geran"},"up":{"uv":[0,0,3.0,16],"texture":"#geran"},"down":{"uv":[0,0,3.0,16],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[7,7,-15],"to":[9,9,-12],"faces":{"north":{"uv":[0,0,2,2],"texture":"#geran_engine"},"south":{"uv":[0,0,2,2],"texture":"#geran_engine"},"east":{"uv":[0,0,3,2],"texture":"#geran_engine"},"west":{"uv":[0,0,3,2],"texture":"#geran_engine"},"up":{"uv":[0,0,2,3],"texture":"#geran_engine"},"down":{"uv":[0,0,2,3],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[6,9.5,6],"to":[10,12.5,22],"faces":{"north":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"south":{"uv":[0,0,4,3.0],"texture":"#geran_engine"},"east":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"west":{"uv":[0,0,16,3.0],"texture":"#geran_engine"},"up":{"uv":[0,0,4,16],"texture":"#geran_engine"},"down":{"uv":[0,0,4,16],"texture":"#geran_engine"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[6.5,10,22],"to":[9.5,12,23],"faces":{"north":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"south":{"uv":[0,0,3.0,2],"texture":"#nozzle"},"east":{"uv":[0,0,1,2],"texture":"#nozzle"},"west":{"uv":[0,0,1,2],"texture":"#nozzle"},"up":{"uv":[0,0,3.0,1],"texture":"#nozzle"},"down":{"uv":[0,0,3.0,1],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[5.0,7.4,-2.0],"to":[11.0,8.2,1.0],"faces":{"north":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,6.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,6.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,6.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[2.0,7.4,1.0],"to":[14.0,8.2,4.0],"faces":{"north":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,12.0,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,12.0,3.0],"texture":"#geran"},"down":{"uv":[0,0,12.0,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-1.0,7.4,4.0],"to":[17.0,8.2,7.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-4.0,7.4,7.0],"to":[20.0,8.2,10.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-7.0,7.4,10.0],"to":[23.0,8.2,13.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,3.0],"texture":"#geran"},"down":{"uv":[0,0,16,3.0],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-7,7.4,13],"to":[23,8.2,19],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#geran"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#geran"},"up":{"uv":[0,0,16,6],"texture":"#geran"},"down":{"uv":[0,0,16,6],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-7.5,7,12],"to":[-6.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[22.5,7,12],"to":[23.5,11,19],"faces":{"north":{"uv":[0,0,1.0,4],"texture":"#geran"},"south":{"uv":[0,0,1.0,4],"texture":"#geran"},"east":{"uv":[0,0,7,4],"texture":"#geran"},"west":{"uv":[0,0,7,4],"texture":"#geran"},"up":{"uv":[0,0,1.0,7],"texture":"#geran"},"down":{"uv":[0,0,1.0,7],"texture":"#geran"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y0.json new file mode 100644 index 0000000..23261cb --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":90}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":90}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y1.json new file mode 100644 index 0000000..7a3c431 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y2.json new file mode 100644 index 0000000..3a59d2f --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y3.json new file mode 100644 index 0000000..b0b33c9 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p0_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":90,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y0.json new file mode 100644 index 0000000..4d41278 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y1.json new file mode 100644 index 0000000..424fa7a --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y2.json new file mode 100644 index 0000000..0acebcb --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y3.json new file mode 100644 index 0000000..f7e488d --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p1_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":67.5,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y0.json new file mode 100644 index 0000000..b6bd92c --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y1.json new file mode 100644 index 0000000..175bdda --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y2.json new file mode 100644 index 0000000..df974c2 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y3.json new file mode 100644 index 0000000..1d8b298 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p2_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":45,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y0.json new file mode 100644 index 0000000..30ecde6 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y1.json new file mode 100644 index 0000000..aa5da25 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y2.json new file mode 100644 index 0000000..a0d5588 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y3.json new file mode 100644 index 0000000..5da66c0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p3_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":22.5,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y0.json new file mode 100644 index 0000000..3db4216 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y1.json new file mode 100644 index 0000000..49a0cfa --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y2.json new file mode 100644 index 0000000..f958e6e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y3.json new file mode 100644 index 0000000..e5b32b0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p4_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y0.json new file mode 100644 index 0000000..91ac7d3 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y1.json new file mode 100644 index 0000000..042114b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y2.json new file mode 100644 index 0000000..2144dcf --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y3.json new file mode 100644 index 0000000..a504aad --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p5_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-22.5,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y0.json new file mode 100644 index 0000000..e638a9d --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y1.json new file mode 100644 index 0000000..921c087 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y2.json new file mode 100644 index 0000000..d052b5b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y3.json new file mode 100644 index 0000000..c292893 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p6_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-45,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y0.json new file mode 100644 index 0000000..ce30eb0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y1.json new file mode 100644 index 0000000..ccee5a8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y2.json new file mode 100644 index 0000000..f54046e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y3.json new file mode 100644 index 0000000..9920814 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p7_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-67.5,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y0.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y0.json new file mode 100644 index 0000000..6302a64 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y0.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-90}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-90}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y1.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y1.json new file mode 100644 index 0000000..f0215ac --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y1.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y2.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y2.json new file mode 100644 index 0000000..761fd81 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y2.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y3.json b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y3.json new file mode 100644 index 0000000..9d99e54 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/pac3_p8_y3.json @@ -0,0 +1 @@ +{"textures":{"missile":"airdef:block/missile","nozzle":"airdef:block/nozzle","flame":"airdef:block/flame","particle":"airdef:block/missile"},"elements":[{"from":[6.75,6.75,-13],"to":[9.25,9.25,14],"faces":{"north":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"south":{"uv":[0,0,2.5,2.5],"texture":"#missile"},"east":{"uv":[0,0,16,2.5],"texture":"#missile"},"west":{"uv":[0,0,16,2.5],"texture":"#missile"},"up":{"uv":[0,0,2.5,16],"texture":"#missile"},"down":{"uv":[0,0,2.5,16],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}},{"from":[7.25,7.25,-16],"to":[8.75,8.75,-13],"faces":{"north":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"south":{"uv":[0,0,1.5,1.5],"texture":"#missile"},"east":{"uv":[0,0,3,1.5],"texture":"#missile"},"west":{"uv":[0,0,3,1.5],"texture":"#missile"},"up":{"uv":[0,0,1.5,3],"texture":"#missile"},"down":{"uv":[0,0,1.5,3],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}},{"from":[7.1,7.1,14],"to":[8.9,8.9,16],"faces":{"north":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"south":{"uv":[0,0,1.8000000000000007,1.8000000000000007],"texture":"#nozzle"},"east":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"west":{"uv":[0,0,2,1.8000000000000007],"texture":"#nozzle"},"up":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"},"down":{"uv":[0,0,1.8000000000000007,2],"texture":"#nozzle"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}},{"from":[7.3,7.3,16],"to":[8.7,8.7,23],"faces":{"north":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"south":{"uv":[0,0,1.3999999999999995,1.3999999999999995],"texture":"#flame"},"east":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"west":{"uv":[0,0,7,1.3999999999999995],"texture":"#flame"},"up":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"},"down":{"uv":[0,0,1.3999999999999995,7],"texture":"#flame"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}},{"from":[3.5,7.75,9],"to":[12.5,8.25,14],"faces":{"north":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"south":{"uv":[0,0,9.0,0.5],"texture":"#missile"},"east":{"uv":[0,0,5,0.5],"texture":"#missile"},"west":{"uv":[0,0,5,0.5],"texture":"#missile"},"up":{"uv":[0,0,9.0,5],"texture":"#missile"},"down":{"uv":[0,0,9.0,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}},{"from":[7.75,3.5,9],"to":[8.25,12.5,14],"faces":{"north":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"south":{"uv":[0,0,0.5,9.0],"texture":"#missile"},"east":{"uv":[0,0,5,9.0],"texture":"#missile"},"west":{"uv":[0,0,5,9.0],"texture":"#missile"},"up":{"uv":[0,0,0.5,5],"texture":"#missile"},"down":{"uv":[0,0,0.5,5],"texture":"#missile"}},"rotation":{"origin":[8,8,8],"x":-90,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y0.json b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y0.json new file mode 100644 index 0000000..d69c59e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y0.json @@ -0,0 +1 @@ +{"textures":{"canister":"airdef:block/canister","canister_front":"airdef:block/canister_front","metal":"airdef:block/metal","particle":"airdef:block/canister"},"elements":[{"from":[-3,2,-14],"to":[19,22,28],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister"},"south":{"uv":[0,0,16,16],"texture":"#canister"},"east":{"uv":[0,0,16,16],"texture":"#canister"},"west":{"uv":[0,0,16,16],"texture":"#canister"},"up":{"uv":[0,0,16,16],"texture":"#canister"},"down":{"uv":[0,0,16,16],"texture":"#canister"}},"rotation":{"origin":[8,8,8],"x":38}},{"from":[-3.2,1.8,-14.4],"to":[19.2,22.2,-14],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister_front"},"south":{"uv":[0,0,16,16],"texture":"#canister_front"},"east":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"west":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"up":{"uv":[0,0,16,0.5],"texture":"#canister_front"},"down":{"uv":[0,0,16,0.5],"texture":"#canister_front"}},"rotation":{"origin":[8,8,8],"x":38}},{"from":[-4,11.5,-14],"to":[20,12.5,28],"faces":{"north":{"uv":[0,0,16,1.0],"texture":"#metal"},"south":{"uv":[0,0,16,1.0],"texture":"#metal"},"east":{"uv":[0,0,16,1.0],"texture":"#metal"},"west":{"uv":[0,0,16,1.0],"texture":"#metal"},"up":{"uv":[0,0,16,16],"texture":"#metal"},"down":{"uv":[0,0,16,16],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"x":38}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y1.json b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y1.json new file mode 100644 index 0000000..95a80b5 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y1.json @@ -0,0 +1 @@ +{"textures":{"canister":"airdef:block/canister","canister_front":"airdef:block/canister_front","metal":"airdef:block/metal","particle":"airdef:block/canister"},"elements":[{"from":[-3,2,-14],"to":[19,22,28],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister"},"south":{"uv":[0,0,16,16],"texture":"#canister"},"east":{"uv":[0,0,16,16],"texture":"#canister"},"west":{"uv":[0,0,16,16],"texture":"#canister"},"up":{"uv":[0,0,16,16],"texture":"#canister"},"down":{"uv":[0,0,16,16],"texture":"#canister"}},"rotation":{"origin":[8,8,8],"x":38,"y":-22.5}},{"from":[-3.2,1.8,-14.4],"to":[19.2,22.2,-14],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister_front"},"south":{"uv":[0,0,16,16],"texture":"#canister_front"},"east":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"west":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"up":{"uv":[0,0,16,0.5],"texture":"#canister_front"},"down":{"uv":[0,0,16,0.5],"texture":"#canister_front"}},"rotation":{"origin":[8,8,8],"x":38,"y":-22.5}},{"from":[-4,11.5,-14],"to":[20,12.5,28],"faces":{"north":{"uv":[0,0,16,1.0],"texture":"#metal"},"south":{"uv":[0,0,16,1.0],"texture":"#metal"},"east":{"uv":[0,0,16,1.0],"texture":"#metal"},"west":{"uv":[0,0,16,1.0],"texture":"#metal"},"up":{"uv":[0,0,16,16],"texture":"#metal"},"down":{"uv":[0,0,16,16],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"x":38,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y2.json b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y2.json new file mode 100644 index 0000000..e9428e2 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y2.json @@ -0,0 +1 @@ +{"textures":{"canister":"airdef:block/canister","canister_front":"airdef:block/canister_front","metal":"airdef:block/metal","particle":"airdef:block/canister"},"elements":[{"from":[-3,2,-14],"to":[19,22,28],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister"},"south":{"uv":[0,0,16,16],"texture":"#canister"},"east":{"uv":[0,0,16,16],"texture":"#canister"},"west":{"uv":[0,0,16,16],"texture":"#canister"},"up":{"uv":[0,0,16,16],"texture":"#canister"},"down":{"uv":[0,0,16,16],"texture":"#canister"}},"rotation":{"origin":[8,8,8],"x":38,"y":-45}},{"from":[-3.2,1.8,-14.4],"to":[19.2,22.2,-14],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister_front"},"south":{"uv":[0,0,16,16],"texture":"#canister_front"},"east":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"west":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"up":{"uv":[0,0,16,0.5],"texture":"#canister_front"},"down":{"uv":[0,0,16,0.5],"texture":"#canister_front"}},"rotation":{"origin":[8,8,8],"x":38,"y":-45}},{"from":[-4,11.5,-14],"to":[20,12.5,28],"faces":{"north":{"uv":[0,0,16,1.0],"texture":"#metal"},"south":{"uv":[0,0,16,1.0],"texture":"#metal"},"east":{"uv":[0,0,16,1.0],"texture":"#metal"},"west":{"uv":[0,0,16,1.0],"texture":"#metal"},"up":{"uv":[0,0,16,16],"texture":"#metal"},"down":{"uv":[0,0,16,16],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"x":38,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y3.json b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y3.json new file mode 100644 index 0000000..0fdf079 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_box_p0_y3.json @@ -0,0 +1 @@ +{"textures":{"canister":"airdef:block/canister","canister_front":"airdef:block/canister_front","metal":"airdef:block/metal","particle":"airdef:block/canister"},"elements":[{"from":[-3,2,-14],"to":[19,22,28],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister"},"south":{"uv":[0,0,16,16],"texture":"#canister"},"east":{"uv":[0,0,16,16],"texture":"#canister"},"west":{"uv":[0,0,16,16],"texture":"#canister"},"up":{"uv":[0,0,16,16],"texture":"#canister"},"down":{"uv":[0,0,16,16],"texture":"#canister"}},"rotation":{"origin":[8,8,8],"x":38,"y":-67.5}},{"from":[-3.2,1.8,-14.4],"to":[19.2,22.2,-14],"faces":{"north":{"uv":[0,0,16,16],"texture":"#canister_front"},"south":{"uv":[0,0,16,16],"texture":"#canister_front"},"east":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"west":{"uv":[0,0,0.5,16],"texture":"#canister_front"},"up":{"uv":[0,0,16,0.5],"texture":"#canister_front"},"down":{"uv":[0,0,16,0.5],"texture":"#canister_front"}},"rotation":{"origin":[8,8,8],"x":38,"y":-67.5}},{"from":[-4,11.5,-14],"to":[20,12.5,28],"faces":{"north":{"uv":[0,0,16,1.0],"texture":"#metal"},"south":{"uv":[0,0,16,1.0],"texture":"#metal"},"east":{"uv":[0,0,16,1.0],"texture":"#metal"},"west":{"uv":[0,0,16,1.0],"texture":"#metal"},"up":{"uv":[0,0,16,16],"texture":"#metal"},"down":{"uv":[0,0,16,16],"texture":"#metal"}},"rotation":{"origin":[8,8,8],"x":38,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_trailer.json b/legacy/airdef-content/assets/airdef/models/block/patriot_trailer.json new file mode 100644 index 0000000..32c647e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_trailer.json @@ -0,0 +1 @@ +{"textures":{"nato_green":"airdef:block/nato_green","metal":"airdef:block/metal","tire":"airdef:block/tire","particle":"airdef:block/nato_green"},"elements":[{"from":[-6,5,-16],"to":[22,10,32],"faces":{"north":{"uv":[0,0,16,5],"texture":"#nato_green"},"south":{"uv":[0,0,16,5],"texture":"#nato_green"},"east":{"uv":[0,0,16,5],"texture":"#nato_green"},"west":{"uv":[0,0,16,5],"texture":"#nato_green"},"up":{"uv":[0,0,16,16],"texture":"#nato_green"},"down":{"uv":[0,0,16,16],"texture":"#nato_green"}}},{"from":[2,10,10],"to":[14,14,22],"faces":{"north":{"uv":[0,0,12,4],"texture":"#metal"},"south":{"uv":[0,0,12,4],"texture":"#metal"},"east":{"uv":[0,0,12,4],"texture":"#metal"},"west":{"uv":[0,0,12,4],"texture":"#metal"},"up":{"uv":[0,0,12,12],"texture":"#metal"},"down":{"uv":[0,0,12,12],"texture":"#metal"}}},{"from":[-6,2,-16],"to":[22,6,-12],"faces":{"north":{"uv":[0,0,16,4],"texture":"#metal"},"south":{"uv":[0,0,16,4],"texture":"#metal"},"east":{"uv":[0,0,4,4],"texture":"#metal"},"west":{"uv":[0,0,4,4],"texture":"#metal"},"up":{"uv":[0,0,16,4],"texture":"#metal"},"down":{"uv":[0,0,16,4],"texture":"#metal"}}},{"from":[-8,0,14],"to":[-5,8,21],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[21,0,14],"to":[24,8,21],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[-8,0,23],"to":[-5,8,30],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[21,0,23],"to":[24,8,30],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/patriot_truck.json b/legacy/airdef-content/assets/airdef/models/block/patriot_truck.json new file mode 100644 index 0000000..374c749 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/patriot_truck.json @@ -0,0 +1 @@ +{"textures":{"nato_green":"airdef:block/nato_green","glass":"airdef:block/glass","tire":"airdef:block/tire","particle":"airdef:block/nato_green"},"elements":[{"from":[-6,5,-16],"to":[22,9,32],"faces":{"north":{"uv":[0,0,16,4],"texture":"#nato_green"},"south":{"uv":[0,0,16,4],"texture":"#nato_green"},"east":{"uv":[0,0,16,4],"texture":"#nato_green"},"west":{"uv":[0,0,16,4],"texture":"#nato_green"},"up":{"uv":[0,0,16,16],"texture":"#nato_green"},"down":{"uv":[0,0,16,16],"texture":"#nato_green"}}},{"from":[-6,9,-15.5],"to":[22,24,-2],"faces":{"north":{"uv":[0,0,16,15],"texture":"#nato_green"},"south":{"uv":[0,0,16,15],"texture":"#nato_green"},"east":{"uv":[0,0,13.5,15],"texture":"#nato_green"},"west":{"uv":[0,0,13.5,15],"texture":"#nato_green"},"up":{"uv":[0,0,16,13.5],"texture":"#nato_green"},"down":{"uv":[0,0,16,13.5],"texture":"#nato_green"}}},{"from":[-5,15,-16],"to":[21,22,-15.5],"faces":{"north":{"uv":[0,0,16,7],"texture":"#glass"},"south":{"uv":[0,0,16,7],"texture":"#glass"},"east":{"uv":[0,0,0.5,7],"texture":"#glass"},"west":{"uv":[0,0,0.5,7],"texture":"#glass"},"up":{"uv":[0,0,16,0.5],"texture":"#glass"},"down":{"uv":[0,0,16,0.5],"texture":"#glass"}}},{"from":[-6.2,15,-14],"to":[-5.8,22,-6],"faces":{"north":{"uv":[0,0,0.5,7],"texture":"#glass"},"south":{"uv":[0,0,0.5,7],"texture":"#glass"},"east":{"uv":[0,0,8,7],"texture":"#glass"},"west":{"uv":[0,0,8,7],"texture":"#glass"},"up":{"uv":[0,0,0.5,8],"texture":"#glass"},"down":{"uv":[0,0,0.5,8],"texture":"#glass"}}},{"from":[21.8,15,-14],"to":[22.2,22,-6],"faces":{"north":{"uv":[0,0,0.5,7],"texture":"#glass"},"south":{"uv":[0,0,0.5,7],"texture":"#glass"},"east":{"uv":[0,0,8,7],"texture":"#glass"},"west":{"uv":[0,0,8,7],"texture":"#glass"},"up":{"uv":[0,0,0.5,8],"texture":"#glass"},"down":{"uv":[0,0,0.5,8],"texture":"#glass"}}},{"from":[-4,9,0],"to":[20,16,10],"faces":{"north":{"uv":[0,0,16,7],"texture":"#nato_green"},"south":{"uv":[0,0,16,7],"texture":"#nato_green"},"east":{"uv":[0,0,10,7],"texture":"#nato_green"},"west":{"uv":[0,0,10,7],"texture":"#nato_green"},"up":{"uv":[0,0,16,10],"texture":"#nato_green"},"down":{"uv":[0,0,16,10],"texture":"#nato_green"}}},{"from":[-8,0,-12],"to":[-5,8,-5],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[21,0,-12],"to":[24,8,-5],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[-8,0,16],"to":[-5,8,23],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[21,0,16],"to":[24,8,23],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[-8,0,25],"to":[-5,8,32],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}},{"from":[21,0,25],"to":[24,8,32],"faces":{"north":{"uv":[0,0,3,8],"texture":"#tire"},"south":{"uv":[0,0,3,8],"texture":"#tire"},"east":{"uv":[0,0,7,8],"texture":"#tire"},"west":{"uv":[0,0,7,8],"texture":"#tire"},"up":{"uv":[0,0,3,7],"texture":"#tire"},"down":{"uv":[0,0,3,7],"texture":"#tire"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y0.json new file mode 100644 index 0000000..eb87ec1 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y1.json new file mode 100644 index 0000000..d6889ed --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y2.json new file mode 100644 index 0000000..731e818 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y3.json new file mode 100644 index 0000000..d172908 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p0_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":20,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y0.json new file mode 100644 index 0000000..c24bd21 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y1.json new file mode 100644 index 0000000..4e7e110 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y2.json new file mode 100644 index 0000000..e7e6315 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y3.json new file mode 100644 index 0000000..388ccf7 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p1_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y0.json new file mode 100644 index 0000000..9c2444b --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y1.json new file mode 100644 index 0000000..dcb9db0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y2.json new file mode 100644 index 0000000..aa31f34 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y3.json new file mode 100644 index 0000000..4b8dfa0 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p2_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-20,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y0.json new file mode 100644 index 0000000..f6592d4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y1.json new file mode 100644 index 0000000..aabcf04 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y2.json new file mode 100644 index 0000000..591d83e --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y3.json new file mode 100644 index 0000000..2d4f64d --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p3_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-40,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y0.json new file mode 100644 index 0000000..d8c7e41 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y1.json new file mode 100644 index 0000000..dd53cb4 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y2.json new file mode 100644 index 0000000..a607bad --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y3.json new file mode 100644 index 0000000..fc32dff --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p4_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-60,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y0.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y0.json new file mode 100644 index 0000000..19f08b8 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y0.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y1.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y1.json new file mode 100644 index 0000000..5518e54 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y1.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-22.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y2.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y2.json new file mode 100644 index 0000000..f569e34 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y2.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-45}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y3.json b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y3.json new file mode 100644 index 0000000..3f86780 --- /dev/null +++ b/legacy/airdef-content/assets/airdef/models/block/shahed_p5_y3.json @@ -0,0 +1 @@ +{"textures":{"shahed":"airdef:block/shahed","shahed_nose":"airdef:block/shahed_nose","prop":"airdef:block/prop","particle":"airdef:block/shahed"},"elements":[{"from":[6.5,6.5,-11],"to":[9.5,9.5,21],"faces":{"north":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"south":{"uv":[0,0,3.0,3.0],"texture":"#shahed"},"east":{"uv":[0,0,16,3.0],"texture":"#shahed"},"west":{"uv":[0,0,16,3.0],"texture":"#shahed"},"up":{"uv":[0,0,3.0,16],"texture":"#shahed"},"down":{"uv":[0,0,3.0,16],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[7,7,-14],"to":[9,9,-11],"faces":{"north":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"south":{"uv":[0,0,2,2],"texture":"#shahed_nose"},"east":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"west":{"uv":[0,0,3,2],"texture":"#shahed_nose"},"up":{"uv":[0,0,2,3],"texture":"#shahed_nose"},"down":{"uv":[0,0,2,3],"texture":"#shahed_nose"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[6.8,6.8,21],"to":[9.2,9.2,24],"faces":{"north":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"south":{"uv":[0,0,2.3999999999999995,2.3999999999999995],"texture":"#prop"},"east":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"west":{"uv":[0,0,3,2.3999999999999995],"texture":"#prop"},"up":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"},"down":{"uv":[0,0,2.3999999999999995,3],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[7.6,2.5,24],"to":[8.4,13.5,24.6],"faces":{"north":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"south":{"uv":[0,0,0.8000000000000007,11.0],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,11.0],"texture":"#prop"},"up":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,0.8000000000000007,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[2.5,7.6,24],"to":[13.5,8.4,24.6],"faces":{"north":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"south":{"uv":[0,0,11.0,0.8000000000000007],"texture":"#prop"},"east":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"west":{"uv":[0,0,0.6000000000000014,0.8000000000000007],"texture":"#prop"},"up":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"},"down":{"uv":[0,0,11.0,0.6000000000000014],"texture":"#prop"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[4.833333333333334,7.4,-3.0],"to":[11.166666666666666,8.2,0.0],"faces":{"north":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,6.333333333333332,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"},"down":{"uv":[0,0,6.333333333333332,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[1.666666666666667,7.4,0.0],"to":[14.333333333333332,8.2,3.0],"faces":{"north":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,12.666666666666664,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"},"down":{"uv":[0,0,12.666666666666664,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-1.5,7.4,3.0],"to":[17.5,8.2,6.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-4.666666666666666,7.4,6.0],"to":[20.666666666666664,8.2,9.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-7.833333333333334,7.4,9.0],"to":[23.833333333333336,8.2,12.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-11.0,7.4,12.0],"to":[27.0,8.2,15.0],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,3.0,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,3.0],"texture":"#shahed"},"down":{"uv":[0,0,16,3.0],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-11,7.4,15],"to":[27,8.2,21],"faces":{"north":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"south":{"uv":[0,0,16,0.7999999999999989],"texture":"#shahed"},"east":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"west":{"uv":[0,0,6,0.7999999999999989],"texture":"#shahed"},"up":{"uv":[0,0,16,6],"texture":"#shahed"},"down":{"uv":[0,0,16,6],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[-11.5,7,13],"to":[-10.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}},{"from":[26.5,7,13],"to":[27.5,12,21],"faces":{"north":{"uv":[0,0,1.0,5],"texture":"#shahed"},"south":{"uv":[0,0,1.0,5],"texture":"#shahed"},"east":{"uv":[0,0,8,5],"texture":"#shahed"},"west":{"uv":[0,0,8,5],"texture":"#shahed"},"up":{"uv":[0,0,1.0,8],"texture":"#shahed"},"down":{"uv":[0,0,1.0,8],"texture":"#shahed"}},"rotation":{"origin":[8,8,8],"x":-80,"y":-67.5}}]} \ No newline at end of file diff --git a/legacy/airdef-content/assets/airdef/textures/block/barrel.png b/legacy/airdef-content/assets/airdef/textures/block/barrel.png new file mode 100644 index 0000000..ea7d9a2 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/barrel.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/canister.png b/legacy/airdef-content/assets/airdef/textures/block/canister.png new file mode 100644 index 0000000..98beedc Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/canister.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/canister_front.png b/legacy/airdef-content/assets/airdef/textures/block/canister_front.png new file mode 100644 index 0000000..e919b3c Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/canister_front.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/flame.png b/legacy/airdef-content/assets/airdef/textures/block/flame.png new file mode 100644 index 0000000..0243138 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/flame.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/flecktarn.png b/legacy/airdef-content/assets/airdef/textures/block/flecktarn.png new file mode 100644 index 0000000..4d696c1 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/flecktarn.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/geran.png b/legacy/airdef-content/assets/airdef/textures/block/geran.png new file mode 100644 index 0000000..f91d743 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/geran.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/geran_engine.png b/legacy/airdef-content/assets/airdef/textures/block/geran_engine.png new file mode 100644 index 0000000..b6a1341 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/geran_engine.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/glass.png b/legacy/airdef-content/assets/airdef/textures/block/glass.png new file mode 100644 index 0000000..178017a Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/glass.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/metal.png b/legacy/airdef-content/assets/airdef/textures/block/metal.png new file mode 100644 index 0000000..a024edd Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/metal.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/missile.png b/legacy/airdef-content/assets/airdef/textures/block/missile.png new file mode 100644 index 0000000..1af8deb Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/missile.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/nato_green.png b/legacy/airdef-content/assets/airdef/textures/block/nato_green.png new file mode 100644 index 0000000..5596141 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/nato_green.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/nozzle.png b/legacy/airdef-content/assets/airdef/textures/block/nozzle.png new file mode 100644 index 0000000..005c52d Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/nozzle.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/prop.png b/legacy/airdef-content/assets/airdef/textures/block/prop.png new file mode 100644 index 0000000..24dc05f Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/prop.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/radar.png b/legacy/airdef-content/assets/airdef/textures/block/radar.png new file mode 100644 index 0000000..c430359 Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/radar.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/shahed.png b/legacy/airdef-content/assets/airdef/textures/block/shahed.png new file mode 100644 index 0000000..28edeed Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/shahed.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/shahed_nose.png b/legacy/airdef-content/assets/airdef/textures/block/shahed_nose.png new file mode 100644 index 0000000..f0ea76b Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/shahed_nose.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/tire.png b/legacy/airdef-content/assets/airdef/textures/block/tire.png new file mode 100644 index 0000000..5f57dbc Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/tire.png differ diff --git a/legacy/airdef-content/assets/airdef/textures/block/track.png b/legacy/airdef-content/assets/airdef/textures/block/track.png new file mode 100644 index 0000000..5e9e5ed Binary files /dev/null and b/legacy/airdef-content/assets/airdef/textures/block/track.png differ diff --git a/legacy/airdef-content/horizon-mod.toml b/legacy/airdef-content/horizon-mod.toml new file mode 100644 index 0000000..01f8f50 --- /dev/null +++ b/legacy/airdef-content/horizon-mod.toml @@ -0,0 +1,8 @@ +id = "airdef" +name = "AirDef: модели" +version = "0.1.0" +description = "Модели дронов и комплексов ПВО для датапака AirDef" +authors = ["chexit"] +api = "0.2" +side = "both" +capabilities = ["registries"] diff --git a/legacy/airdef-datapack/data/airdef/function/alert/show.mcfunction b/legacy/airdef-datapack/data/airdef/function/alert/show.mcfunction new file mode 100644 index 0000000..ba5236f --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/alert/show.mcfunction @@ -0,0 +1,2 @@ +$bossbar set airdef:alert name [{"text":"ВОЗДУШНАЯ ТРЕВОГА","color":"red","bold":true},{"text":" — целей в воздухе: $(n)","color":"white","bold":false}] +bossbar set airdef:alert players @a diff --git a/legacy/airdef-datapack/data/airdef/function/alert/update.mcfunction b/legacy/airdef-datapack/data/airdef/function/alert/update.mcfunction new file mode 100644 index 0000000..4fa31a6 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/alert/update.mcfunction @@ -0,0 +1,5 @@ +execute store result score $air airdef.tmp if entity @e[type=marker,tag=airdef.drone,tag=!airdef.falling] +execute store result storage airdef:alert n int 1 run scoreboard players get $air airdef.tmp +execute store result bossbar airdef:alert value run scoreboard players get $air airdef.tmp +execute if score $air airdef.tmp matches 1.. run function airdef:alert/show with storage airdef:alert +execute if score $air airdef.tmp matches 0 run bossbar set airdef:alert players diff --git a/legacy/airdef-datapack/data/airdef/function/clear_all.mcfunction b/legacy/airdef-datapack/data/airdef/function/clear_all.mcfunction new file mode 100644 index 0000000..a1ceab5 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/clear_all.mcfunction @@ -0,0 +1,3 @@ +execute as @e[type=marker,tag=airdef.drone] run function airdef:drone/remove +execute as @e[type=marker,tag=airdef.missile] run function airdef:drone/remove +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Небо очищено","color":"gray"}] diff --git a/legacy/airdef-datapack/data/airdef/function/drone/common.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/common.mcfunction new file mode 100644 index 0000000..8fb4248 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/common.mcfunction @@ -0,0 +1,9 @@ +# вызывается как новый дрон: id, координаты ближайшей цели +function airdef:new_id +execute as @e[type=marker,tag=airdef.target,sort=nearest,limit=1] run tag @s add airdef.tsel +execute store result score @s airdef.tx run data get entity @e[tag=airdef.tsel,limit=1] Pos[0] +execute store result score @s airdef.ty run data get entity @e[tag=airdef.tsel,limit=1] Pos[1] +execute store result score @s airdef.tz run data get entity @e[tag=airdef.tsel,limit=1] Pos[2] +tag @e[tag=airdef.tsel] remove airdef.tsel +scoreboard players operation @s airdef.cy = @s airdef.ty +tp @s ~ ~ ~ ~ ~ diff --git a/legacy/airdef-datapack/data/airdef/function/drone/crash.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/crash.mcfunction new file mode 100644 index 0000000..5296d95 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/crash.mcfunction @@ -0,0 +1,7 @@ +# обломки на земле: в 30 % случаев детонирует БЧ +execute store result score $r airdef.tmp run random value 1..100 +execute if score $r airdef.tmp matches ..30 run summon tnt ~ ~ ~ {fuse:0} +particle minecraft:explosion ~ ~ ~ 1 0.5 1 0 6 force +particle minecraft:campfire_cosy_smoke ~ ~ ~ 1 0.3 1 0.01 20 force +playsound minecraft:entity.generic.explode master @a ~ ~ ~ 4 1.3 +function airdef:drone/remove diff --git a/legacy/airdef-datapack/data/airdef/function/drone/fall.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/fall.mcfunction new file mode 100644 index 0000000..c156370 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/fall.mcfunction @@ -0,0 +1,8 @@ +# сбитый дрон: штопор вниз, горит, на земле — взрыв +execute if score @s airdef.life matches ..0 run return run function airdef:drone/remove +execute rotated ~18 ~ run tp @s ^ ^ ^0.35 ~ ~5 +tp @s ~ ~-0.45 ~ +execute at @s run function airdef:visual/update +execute at @s run particle minecraft:large_smoke ~ ~ ~ 0.2 0.2 0.2 0.02 2 force +execute at @s run particle minecraft:flame ~ ~ ~ 0.15 0.15 0.15 0.02 2 force +execute at @s unless block ~ ~-0.6 ~ #minecraft:air run function airdef:drone/crash diff --git a/legacy/airdef-datapack/data/airdef/function/drone/impact.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/impact.mcfunction new file mode 100644 index 0000000..13b1e0d --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/impact.mcfunction @@ -0,0 +1,10 @@ +# попадание в цель / землю +summon tnt ~ ~ ~ {fuse:0} +execute if entity @s[tag=airdef.heavy] run summon tnt ~ ~1 ~ {fuse:0} +execute if entity @s[tag=airdef.heavy] run summon tnt ~ ~-1 ~ {fuse:0} +particle minecraft:explosion_emitter ~ ~ ~ 1 1 1 0 3 force +particle minecraft:lava ~ ~ ~ 2 2 2 0 40 force +particle minecraft:campfire_signal_smoke ~ ~ ~ 1.5 0.5 1.5 0.02 40 force +particle minecraft:flame ~ ~ ~ 2 1 2 0.15 60 force +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"nbt":"data.name","entity":"@s","color":"red"},{"text":" поразил цель","color":"red"}] +function airdef:drone/remove diff --git a/legacy/airdef-datapack/data/airdef/function/drone/launch.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/launch.mcfunction new file mode 100644 index 0000000..ef58419 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/launch.mcfunction @@ -0,0 +1,5 @@ +# запуск дрона с позиции игрока на ближайшую цель. Аргумент: type +execute unless entity @e[type=marker,tag=airdef.target] run return run tellraw @s [{"text":"[AirDef] ","color":"gold"},{"text":"Сначала отметьте цель (Целеуказатель или /function airdef:target/here)","color":"red"}] +$execute positioned ~ ~3 ~ rotated ~ -30 run function airdef:drone/spawn_$(type) +playsound minecraft:entity.firework_rocket.launch master @a ~ ~ ~ 3 0.5 +particle minecraft:large_smoke ~ ~1 ~ 0.5 0.5 0.5 0.05 30 force diff --git a/legacy/airdef-datapack/data/airdef/function/drone/move.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/move.mcfunction new file mode 100644 index 0000000..d584a47 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/move.mcfunction @@ -0,0 +1,3 @@ +$execute positioned $(x) ~ $(z) if entity @s[distance=..$(dr)] run tag @s add airdef.dive +$execute facing $(x) $(y) $(z) run tp @s ^ ^ ^$(s) ~ ~ +$execute if entity @s[tag=airdef.dive] positioned $(x) $(y) $(z) if entity @s[distance=..2] run tag @s add airdef.boom diff --git a/legacy/airdef-datapack/data/airdef/function/drone/remove.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/remove.mcfunction new file mode 100644 index 0000000..e06eec1 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/remove.mcfunction @@ -0,0 +1 @@ +kill @s diff --git a/legacy/airdef-datapack/data/airdef/function/drone/shot.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/shot.mcfunction new file mode 100644 index 0000000..9400239 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/shot.mcfunction @@ -0,0 +1,10 @@ +# поражён ПВО в воздухе: вспышка, дальше падает горящим +particle minecraft:explosion_emitter ~ ~ ~ 0 0 0 0 1 force +particle minecraft:flash{color:[1.0,0.85,0.5,1.0]} ~ ~ ~ 0 0 0 0 1 force +particle minecraft:large_smoke ~ ~ ~ 1 1 1 0.05 30 force +particle minecraft:flame ~ ~ ~ 1 1 1 0.15 30 force +playsound minecraft:entity.generic.explode master @a ~ ~ ~ 10 0.8 +scoreboard players add $kills airdef.kills 1 +tag @s add airdef.falling +tag @s remove airdef.engaged +scoreboard players set @s airdef.life 300 diff --git a/legacy/airdef-datapack/data/airdef/function/drone/spawn_geran3.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/spawn_geran3.mcfunction new file mode 100644 index 0000000..a7ca2a4 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/spawn_geran3.mcfunction @@ -0,0 +1,8 @@ +# Герань-3: реактивный, быстрый, лёгкая БЧ +summon marker ~ ~ ~ {Tags:["airdef.drone","airdef.geran3","airdef.new"],data:{prefix:"geran3",dy:-0.5d,top:200,step:200,np:6,name:"Герань-3"}} +execute as @e[type=marker,tag=airdef.new] run function airdef:drone/common +scoreboard players add @e[type=marker,tag=airdef.new] airdef.cy 60 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.spd 160 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.dr 45 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.life 1200 +tag @e[type=marker,tag=airdef.new] remove airdef.new diff --git a/legacy/airdef-datapack/data/airdef/function/drone/spawn_shahed.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/spawn_shahed.mcfunction new file mode 100644 index 0000000..04ca86e --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/spawn_shahed.mcfunction @@ -0,0 +1,8 @@ +# Шахед-136 / Герань-2: медленный, тяжёлая БЧ, пикирует на цель +summon marker ~ ~ ~ {Tags:["airdef.drone","airdef.shahed","airdef.heavy","airdef.new"],data:{prefix:"shahed",dy:-0.5d,top:200,step:200,np:6,name:"Шахед-136"}} +execute as @e[type=marker,tag=airdef.new] run function airdef:drone/common +scoreboard players add @e[type=marker,tag=airdef.new] airdef.cy 45 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.spd 60 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.dr 28 +scoreboard players set @e[type=marker,tag=airdef.new] airdef.life 2400 +tag @e[type=marker,tag=airdef.new] remove airdef.new diff --git a/legacy/airdef-datapack/data/airdef/function/drone/tick.mcfunction b/legacy/airdef-datapack/data/airdef/function/drone/tick.mcfunction new file mode 100644 index 0000000..84335ef --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/drone/tick.mcfunction @@ -0,0 +1,21 @@ +scoreboard players remove @s airdef.life 1 +execute if entity @s[tag=airdef.falling] run return run function airdef:drone/fall +execute if score @s airdef.life matches ..0 run return run function airdef:drone/impact +execute store result storage airdef:args x double 1 run scoreboard players get @s airdef.tx +execute store result storage airdef:args z double 1 run scoreboard players get @s airdef.tz +execute store result storage airdef:args y double 1 run scoreboard players get @s airdef.cy +execute if entity @s[tag=airdef.dive] store result storage airdef:args y double 1 run scoreboard players get @s airdef.ty +execute store result storage airdef:args s double 0.01 run scoreboard players get @s airdef.spd +execute store result storage airdef:args dr int 1 run scoreboard players get @s airdef.dr +function airdef:drone/move with storage airdef:args +execute at @s unless block ~ ~ ~ #minecraft:air run tag @s add airdef.boom +execute if entity @s[tag=airdef.boom] at @s run return run function airdef:drone/impact +execute at @s run function airdef:visual/update +# выхлоп и звук двигателя +execute at @s if entity @s[tag=airdef.shahed] run particle minecraft:smoke ^ ^ ^-1.6 0.03 0.03 0.03 0 1 force +execute at @s if entity @s[tag=airdef.geran3] run particle minecraft:small_flame ^ ^0.3 ^-1.4 0.02 0.02 0.02 0 1 force +execute at @s if entity @s[tag=airdef.geran3] run particle minecraft:smoke ^ ^0.3 ^-1.8 0.05 0.05 0.05 0 2 force +scoreboard players operation $m airdef.tmp = @s airdef.life +scoreboard players operation $m airdef.tmp %= $20 airdef.tmp +execute if score $m airdef.tmp matches 0 if entity @s[tag=airdef.shahed] at @s run playsound minecraft:entity.bee.loop hostile @a ~ ~ ~ 6 0.5 +execute if score $m airdef.tmp matches 0 if entity @s[tag=airdef.geran3] at @s run playsound minecraft:entity.elytra.flying hostile @a ~ ~ ~ 4 1.6 diff --git a/legacy/airdef-datapack/data/airdef/function/give.mcfunction b/legacy/airdef-datapack/data/airdef/function/give.mcfunction new file mode 100644 index 0000000..bc99295 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/give.mcfunction @@ -0,0 +1,5 @@ +give @s carrot_on_a_stick[custom_name={"text":"Целеуказатель","color":"red","italic":false},lore=[{"text":"Q (бросить): отметить цель для дронов","color":"gray"}],custom_data={airdef:"target"}] +give @s carrot_on_a_stick[custom_name={"text":"Пуск: Шахед-136","color":"yellow","italic":false},lore=[{"text":"Q (бросить): запустить дрон на ближайшую цель","color":"gray"}],custom_data={airdef:"shahed"}] +give @s carrot_on_a_stick[custom_name={"text":"Пуск: Герань-3 (реактивный)","color":"yellow","italic":false},lore=[{"text":"Q (бросить): быстрый реактивный дрон","color":"gray"}],custom_data={airdef:"geran3"}] +give @s carrot_on_a_stick[custom_name={"text":"Развернуть: Patriot","color":"aqua","italic":false},lore=[{"text":"Q (бросить): ЗРК большой дальности перед вами","color":"gray"}],custom_data={airdef:"patriot"}] +give @s carrot_on_a_stick[custom_name={"text":"Развернуть: Гепард","color":"aqua","italic":false},lore=[{"text":"Q (бросить): ЗСУ ближнего рубежа перед вами","color":"gray"}],custom_data={airdef:"gepard"}] diff --git a/legacy/airdef-datapack/data/airdef/function/load.mcfunction b/legacy/airdef-datapack/data/airdef/function/load.mcfunction new file mode 100644 index 0000000..43f7d5e --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/load.mcfunction @@ -0,0 +1,31 @@ +# AirDef: дальнобойные дроны и ПВО +scoreboard objectives add airdef.t dummy +scoreboard objectives add airdef.tmp dummy +scoreboard objectives add airdef.id dummy +scoreboard objectives add airdef.tid dummy +scoreboard objectives add airdef.life dummy +scoreboard objectives add airdef.spd dummy +scoreboard objectives add airdef.tx dummy +scoreboard objectives add airdef.ty dummy +scoreboard objectives add airdef.tz dummy +scoreboard objectives add airdef.cy dummy +scoreboard objectives add airdef.dr dummy +scoreboard objectives add airdef.cd dummy +scoreboard objectives add airdef.ammo dummy +scoreboard objectives add airdef.pk dummy +scoreboard objectives add airdef.px dummy +scoreboard objectives add airdef.py dummy +scoreboard objectives add airdef.pz dummy +scoreboard objectives add airdef.kills dummy +scoreboard players set $2 airdef.tmp 2 +scoreboard players set $4 airdef.tmp 4 +scoreboard players set $10 airdef.tmp 10 +scoreboard players set $20 airdef.tmp 20 +scoreboard players set $225 airdef.tmp 225 +scoreboard players set $3600 airdef.tmp 3600 +execute unless score $next airdef.id matches 1.. run scoreboard players set $next airdef.id 1 +bossbar add airdef:alert "Воздушная тревога" +bossbar set airdef:alert color red +bossbar set airdef:alert style notched_10 +bossbar set airdef:alert max 10 +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"загружен. Меню: ","color":"gray"},{"text":"/function airdef:menu","color":"yellow","click_event":{"action":"run_command","command":"/function airdef:menu"}}] diff --git a/legacy/airdef-datapack/data/airdef/function/menu.mcfunction b/legacy/airdef-datapack/data/airdef/function/menu.mcfunction new file mode 100644 index 0000000..a74fe8c --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/menu.mcfunction @@ -0,0 +1,5 @@ +tellraw @s {"text":"===== AirDef =====","color":"gold"} +tellraw @s [{"text":"[Выдать пульты] ","color":"green","click_event":{"action":"run_command","command":"/function airdef:give"}},{"text":"[Цель здесь] ","color":"red","click_event":{"action":"run_command","command":"/function airdef:target/here"}},{"text":"[Убрать цели]","color":"gray","click_event":{"action":"run_command","command":"/function airdef:target/clear"}}] +tellraw @s [{"text":"Налёт: ","color":"gray"},{"text":"[3 Шахеда] ","color":"yellow","click_event":{"action":"run_command","command":"/function airdef:wave/start {type:\"shahed\",count:3,dist:150}"}},{"text":"[8 Шахедов] ","color":"yellow","click_event":{"action":"run_command","command":"/function airdef:wave/start {type:\"shahed\",count:8,dist:160}"}},{"text":"[4 Герань-3] ","color":"yellow","click_event":{"action":"run_command","command":"/function airdef:wave/start {type:\"geran3\",count:4,dist:180}"}}] +tellraw @s [{"text":"ПВО (перед вами): ","color":"gray"},{"text":"[Patriot] ","color":"aqua","click_event":{"action":"run_command","command":"/function airdef:sam/place {type:\"patriot\"}"}},{"text":"[Гепард] ","color":"aqua","click_event":{"action":"run_command","command":"/function airdef:sam/place {type:\"gepard\"}"}},{"text":"[Свернуть ближайший]","color":"gray","click_event":{"action":"run_command","command":"/function airdef:sam/remove_nearest"}}] +tellraw @s [{"text":"[Очистить небо] ","color":"dark_red","click_event":{"action":"run_command","command":"/function airdef:clear_all"}},{"text":"[Статистика]","color":"gray","click_event":{"action":"run_command","command":"/function airdef:stats"}}] diff --git a/legacy/airdef-datapack/data/airdef/function/missile/fizzle.mcfunction b/legacy/airdef-datapack/data/airdef/function/missile/fizzle.mcfunction new file mode 100644 index 0000000..cf77019 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/missile/fizzle.mcfunction @@ -0,0 +1,5 @@ +tag @e[tag=airdef.cur] remove airdef.engaged +tag @e[tag=airdef.cur] remove airdef.cur +particle minecraft:explosion ~ ~ ~ 0.5 0.5 0.5 0 3 force +playsound minecraft:entity.firework_rocket.blast master @a ~ ~ ~ 6 0.6 +kill @s diff --git a/legacy/airdef-datapack/data/airdef/function/missile/hit.mcfunction b/legacy/airdef-datapack/data/airdef/function/missile/hit.mcfunction new file mode 100644 index 0000000..040da5f --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/missile/hit.mcfunction @@ -0,0 +1,4 @@ +execute store result score $r airdef.tmp run random value 1..100 +execute if score $r airdef.tmp <= @s airdef.pk as @e[tag=airdef.cur,limit=1] at @s run function airdef:drone/shot +execute if score $r airdef.tmp > @s airdef.pk run tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Промах перехватчика","color":"gray"}] +function airdef:missile/fizzle diff --git a/legacy/airdef-datapack/data/airdef/function/missile/move.mcfunction b/legacy/airdef-datapack/data/airdef/function/missile/move.mcfunction new file mode 100644 index 0000000..f449a94 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/missile/move.mcfunction @@ -0,0 +1 @@ +$execute facing entity @e[tag=airdef.cur,limit=1] feet run tp @s ^ ^ ^$(s) ~ ~ diff --git a/legacy/airdef-datapack/data/airdef/function/missile/tick.mcfunction b/legacy/airdef-datapack/data/airdef/function/missile/tick.mcfunction new file mode 100644 index 0000000..411002b --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/missile/tick.mcfunction @@ -0,0 +1,16 @@ +scoreboard players remove @s airdef.life 1 +execute if score @s airdef.life matches ..0 run return run function airdef:missile/fizzle +# своя цель по id +tag @e[tag=airdef.cur] remove airdef.cur +scoreboard players operation $t airdef.tmp = @s airdef.tid +execute as @e[type=marker,tag=airdef.drone,tag=!airdef.falling] if score @s airdef.id = $t airdef.tmp run tag @s add airdef.cur +execute unless entity @e[tag=airdef.cur] run return run function airdef:missile/fizzle +execute if entity @e[tag=airdef.cur,distance=..3] run return run function airdef:missile/hit +# 8 тиков вертикальный старт, потом наведение +execute if score @s airdef.life matches 193.. run tp @s ~ ~1.5 ~ ~ -90 +execute store result storage airdef:args s double 0.01 run scoreboard players get @s airdef.spd +execute if score @s airdef.life matches ..192 run function airdef:missile/move with storage airdef:args +execute at @s run function airdef:visual/update +execute at @s run particle minecraft:flame ^ ^ ^-1.2 0.05 0.05 0.05 0.01 2 force +execute at @s run particle minecraft:cloud ^ ^ ^-1.6 0.1 0.1 0.1 0.01 3 force +execute at @s if entity @e[tag=airdef.cur,distance=..3] run function airdef:missile/hit diff --git a/legacy/airdef-datapack/data/airdef/function/new_id.mcfunction b/legacy/airdef-datapack/data/airdef/function/new_id.mcfunction new file mode 100644 index 0000000..8006176 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/new_id.mcfunction @@ -0,0 +1,3 @@ +scoreboard players operation @s airdef.id = $next airdef.id +scoreboard players add $next airdef.id 1 +tag @s add airdef.logic diff --git a/legacy/airdef-datapack/data/airdef/function/player/act.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/act.mcfunction new file mode 100644 index 0000000..82398e7 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/act.mcfunction @@ -0,0 +1 @@ +$execute on origin at @s run function airdef:player/use_$(airdef) diff --git a/legacy/airdef-datapack/data/airdef/function/player/dropped.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/dropped.mcfunction new file mode 100644 index 0000000..332bcea --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/dropped.mcfunction @@ -0,0 +1,6 @@ +# Пульт срабатывает, если его бросить (Q), и сразу возвращается бросившему: +# ПКМ и Shift в тиковых функциях Horizon пока не видны. +tag @s add airdef.used +function airdef:player/act with entity @s Item.components."minecraft:custom_data" +data modify entity @s PickupDelay set value 0s +execute on origin at @s run tp @e[type=item,tag=airdef.used,sort=nearest,limit=1] ~ ~ ~ diff --git a/legacy/airdef-datapack/data/airdef/function/player/use_gepard.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/use_gepard.mcfunction new file mode 100644 index 0000000..c4ecd45 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/use_gepard.mcfunction @@ -0,0 +1 @@ +function airdef:sam/place {type:"gepard"} diff --git a/legacy/airdef-datapack/data/airdef/function/player/use_geran3.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/use_geran3.mcfunction new file mode 100644 index 0000000..7d7c576 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/use_geran3.mcfunction @@ -0,0 +1 @@ +function airdef:drone/launch {type:"geran3"} diff --git a/legacy/airdef-datapack/data/airdef/function/player/use_patriot.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/use_patriot.mcfunction new file mode 100644 index 0000000..8c55ad9 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/use_patriot.mcfunction @@ -0,0 +1 @@ +function airdef:sam/place {type:"patriot"} diff --git a/legacy/airdef-datapack/data/airdef/function/player/use_shahed.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/use_shahed.mcfunction new file mode 100644 index 0000000..2a4d477 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/use_shahed.mcfunction @@ -0,0 +1 @@ +function airdef:drone/launch {type:"shahed"} diff --git a/legacy/airdef-datapack/data/airdef/function/player/use_target.mcfunction b/legacy/airdef-datapack/data/airdef/function/player/use_target.mcfunction new file mode 100644 index 0000000..5fdf2fa --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/player/use_target.mcfunction @@ -0,0 +1 @@ +function airdef:target/look diff --git a/legacy/airdef-datapack/data/airdef/function/sam/build_gepard.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/build_gepard.mcfunction new file mode 100644 index 0000000..1591d10 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/build_gepard.mcfunction @@ -0,0 +1,10 @@ +# ЗСУ Gepard: корпус из двух блоков, башня с пушками — поворотная модель +$summon marker ~ ~ ~ {Tags:["airdef.sam","airdef.gepard","airdef.new"],Rotation:[$(yaw)f,0f],data:{prefix:"gepard_turret",dy:1.0d,top:750,step:250,np:4,byaw:$(yaw),kind:"gepard"}} +$execute rotated $(yaw) 0 run setblock ^ ^ ^1 airdef:gepard_front[facing=$(f)] +$execute rotated $(yaw) 0 run setblock ^ ^ ^-2 airdef:gepard_rear[facing=$(f)] +execute as @e[type=marker,tag=airdef.new] run function airdef:new_id +scoreboard players set @e[tag=airdef.new] airdef.ammo 60 +scoreboard players set @e[tag=airdef.new] airdef.cd 20 +tag @e[tag=airdef.new] remove airdef.new +playsound minecraft:block.anvil.place master @a ~ ~ ~ 2 0.8 +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Гепард развёрнут: дальность 40, 2×35 мм","color":"aqua"}] diff --git a/legacy/airdef-datapack/data/airdef/function/sam/build_patriot.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/build_patriot.mcfunction new file mode 100644 index 0000000..ee19899 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/build_patriot.mcfunction @@ -0,0 +1,10 @@ +# ПУ M903: тягач + полуприцеп (блоки), пакет ТПК — поворотная модель +$summon marker ~ ~ ~ {Tags:["airdef.sam","airdef.patriot","airdef.new"],Rotation:[$(yaw)f,0f],data:{prefix:"patriot_box",dy:1.0d,top:0,step:100,np:1,byaw:$(yaw),kind:"patriot"}} +$execute rotated $(yaw) 0 run setblock ^ ^ ^ airdef:patriot_trailer[facing=$(f)] +$execute rotated $(yaw) 0 run setblock ^ ^ ^3 airdef:patriot_truck[facing=$(f)] +execute as @e[type=marker,tag=airdef.new] run function airdef:new_id +scoreboard players set @e[tag=airdef.new] airdef.ammo 4 +scoreboard players set @e[tag=airdef.new] airdef.cd 40 +tag @e[tag=airdef.new] remove airdef.new +playsound minecraft:block.anvil.place master @a ~ ~ ~ 2 0.6 +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Patriot развёрнут: дальность 160, 4 ракеты PAC-3","color":"aqua"}] diff --git a/legacy/airdef-datapack/data/airdef/function/sam/gepard.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/gepard.mcfunction new file mode 100644 index 0000000..7b061c3 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/gepard.mcfunction @@ -0,0 +1,6 @@ +# сопровождение ближайшей цели башней, огонь на дальности 40 +execute as @e[type=marker,tag=airdef.drone,tag=!airdef.falling,distance=..48,sort=nearest,limit=1] run tag @s add airdef.pick +execute if entity @e[tag=airdef.pick] positioned ~ ~1.6 ~ facing entity @e[tag=airdef.pick,limit=1] feet positioned ~ ~-1.6 ~ run tp @s ~ ~ ~ ~ ~ +execute if score @s airdef.cd matches ..0 if score @s airdef.ammo matches ..0 run function airdef:sam/reload {ammo:60,time:240,name:"Гепард"} +execute if score @s airdef.cd matches ..0 if entity @e[tag=airdef.pick,distance=..40] run function airdef:sam/gepard_fire +tag @e[tag=airdef.pick] remove airdef.pick diff --git a/legacy/airdef-datapack/data/airdef/function/sam/gepard_fire.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/gepard_fire.mcfunction new file mode 100644 index 0000000..d913b3e --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/gepard_fire.mcfunction @@ -0,0 +1,14 @@ +# очередь из двух стволов: трассеры, шанс поражения 10 % за очередь +scoreboard players set $d airdef.tmp 22 +execute positioned ~ ~1.6 ~ positioned ^0.9 ^ ^1.4 facing entity @e[tag=airdef.pick,limit=1] feet run function airdef:sam/tracer +scoreboard players set $d airdef.tmp 22 +execute positioned ~ ~1.6 ~ positioned ^-0.9 ^ ^1.4 facing entity @e[tag=airdef.pick,limit=1] feet run function airdef:sam/tracer +execute positioned ~ ~1.6 ~ positioned ^0.9 ^ ^1.6 run particle minecraft:flash{color:[1.0,0.85,0.4,1.0]} ~ ~ ~ 0 0 0 0 1 force +execute positioned ~ ~1.6 ~ positioned ^-0.9 ^ ^1.6 run particle minecraft:flash{color:[1.0,0.85,0.4,1.0]} ~ ~ ~ 0 0 0 0 1 force +execute positioned ~ ~1.6 ~ run particle minecraft:smoke ^ ^ ^1.6 0.4 0.2 0.4 0.02 6 force +playsound minecraft:entity.generic.explode master @a ~ ~ ~ 3 2 +playsound minecraft:block.note_block.snare master @a ~ ~ ~ 6 0.5 +execute store result score $r airdef.tmp run random value 1..100 +execute if score $r airdef.tmp matches ..10 as @e[tag=airdef.pick,limit=1] at @s run function airdef:drone/shot +scoreboard players remove @s airdef.ammo 1 +scoreboard players set @s airdef.cd 3 diff --git a/legacy/airdef-datapack/data/airdef/function/sam/patriot.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/patriot.mcfunction new file mode 100644 index 0000000..0bfde7d --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/patriot.mcfunction @@ -0,0 +1,5 @@ +execute if score @s airdef.cd matches 1.. run return 0 +execute if score @s airdef.ammo matches ..0 run return run function airdef:sam/reload {ammo:4,time:300,name:"Patriot"} +execute as @e[type=marker,tag=airdef.drone,tag=!airdef.falling,tag=!airdef.engaged,distance=8..160,sort=nearest,limit=1] run tag @s add airdef.pick +execute if entity @e[tag=airdef.pick] run function airdef:sam/patriot_fire +tag @e[tag=airdef.pick] remove airdef.pick diff --git a/legacy/airdef-datapack/data/airdef/function/sam/patriot_fire.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/patriot_fire.mcfunction new file mode 100644 index 0000000..f25bd47 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/patriot_fire.mcfunction @@ -0,0 +1,18 @@ +# развернуть ПУ на цель и пустить ракету из пакета +execute facing entity @e[tag=airdef.pick,limit=1] feet run tp @s ~ ~ ~ ~ 0 +scoreboard players operation $t airdef.tmp = @e[tag=airdef.pick,limit=1] airdef.id +tag @e[tag=airdef.pick] add airdef.engaged +execute rotated ~ 0 positioned ^ ^2.4 ^-0.6 run summon marker ~ ~ ~ {Tags:["airdef.missile","airdef.new"],Rotation:[0f,-90f],data:{prefix:"pac3",dy:-0.5d,top:900,step:225,np:9}} +execute as @e[type=marker,tag=airdef.new] run function airdef:new_id +scoreboard players operation @e[tag=airdef.new] airdef.tid = $t airdef.tmp +scoreboard players set @e[tag=airdef.new] airdef.life 200 +scoreboard players set @e[tag=airdef.new] airdef.pk 90 +scoreboard players set @e[tag=airdef.new] airdef.spd 300 +tag @e[tag=airdef.new] remove airdef.new +scoreboard players remove @s airdef.ammo 1 +scoreboard players set @s airdef.cd 30 +playsound minecraft:entity.firework_rocket.launch master @a ~ ~ ~ 10 0.5 +playsound minecraft:entity.generic.explode master @a ~ ~ ~ 6 1.6 +execute rotated ~ 0 positioned ^ ^2.4 ^-0.6 run particle minecraft:flash{color:[1.0,0.9,0.6,1.0]} ~ ~ ~ 0 0 0 0 1 force +execute rotated ~ 0 positioned ^ ^1.5 ^1 run particle minecraft:cloud ~ ~ ~ 1.2 0.6 1.2 0.08 80 force +execute rotated ~ 0 positioned ^ ^1 ^2 run particle minecraft:campfire_cosy_smoke ~ ~ ~ 1 0.3 1 0.02 25 force diff --git a/legacy/airdef-datapack/data/airdef/function/sam/place.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/place.mcfunction new file mode 100644 index 0000000..3bbfc89 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/place.mcfunction @@ -0,0 +1,11 @@ +# развернуть комплекс в 7 блоках перед игроком, носом по взгляду (4 стороны). Аргумент: type +execute store result score $yaw airdef.tmp run data get entity @s Rotation[0] 10 +scoreboard players add $yaw airdef.tmp 5850 +scoreboard players operation $yaw airdef.tmp %= $3600 airdef.tmp +scoreboard players set $900 airdef.tmp 900 +scoreboard players operation $yaw airdef.tmp /= $900 airdef.tmp +execute if score $yaw airdef.tmp matches 0 run data modify storage airdef:b f set value {f:"north",yaw:180} +execute if score $yaw airdef.tmp matches 1 run data modify storage airdef:b f set value {f:"east",yaw:-90} +execute if score $yaw airdef.tmp matches 2 run data modify storage airdef:b f set value {f:"south",yaw:0} +execute if score $yaw airdef.tmp matches 3 run data modify storage airdef:b f set value {f:"west",yaw:90} +$execute rotated ~ 0 positioned ^ ^ ^7 align xyz positioned ~0.5 ~ ~0.5 run function airdef:sam/build_$(type) with storage airdef:b f diff --git a/legacy/airdef-datapack/data/airdef/function/sam/reload.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/reload.mcfunction new file mode 100644 index 0000000..294582b --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/reload.mcfunction @@ -0,0 +1,3 @@ +$scoreboard players set @s airdef.ammo $(ammo) +$scoreboard players set @s airdef.cd $(time) +$tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"$(name): перезарядка","color":"gray"}] diff --git a/legacy/airdef-datapack/data/airdef/function/sam/remove.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/remove.mcfunction new file mode 100644 index 0000000..7013896 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/remove.mcfunction @@ -0,0 +1,3 @@ +function airdef:sam/remove_blocks with entity @s data +kill @s +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Комплекс ПВО свёрнут","color":"gray"}] diff --git a/legacy/airdef-datapack/data/airdef/function/sam/remove_blocks.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/remove_blocks.mcfunction new file mode 100644 index 0000000..f3d17f5 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/remove_blocks.mcfunction @@ -0,0 +1,4 @@ +$execute if data entity @s {data:{kind:"patriot"}} rotated $(byaw) 0 run setblock ^ ^ ^ air +$execute if data entity @s {data:{kind:"patriot"}} rotated $(byaw) 0 run setblock ^ ^ ^3 air +$execute if data entity @s {data:{kind:"gepard"}} rotated $(byaw) 0 run setblock ^ ^ ^1 air +$execute if data entity @s {data:{kind:"gepard"}} rotated $(byaw) 0 run setblock ^ ^ ^-2 air diff --git a/legacy/airdef-datapack/data/airdef/function/sam/remove_nearest.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/remove_nearest.mcfunction new file mode 100644 index 0000000..750650a --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/remove_nearest.mcfunction @@ -0,0 +1 @@ +execute as @e[type=marker,tag=airdef.sam,sort=nearest,limit=1] at @s run function airdef:sam/remove diff --git a/legacy/airdef-datapack/data/airdef/function/sam/tick.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/tick.mcfunction new file mode 100644 index 0000000..cc30425 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/tick.mcfunction @@ -0,0 +1,4 @@ +scoreboard players remove @s[scores={airdef.cd=1..}] airdef.cd 1 +execute if entity @s[tag=airdef.patriot] run function airdef:sam/patriot +execute if entity @s[tag=airdef.gepard] run function airdef:sam/gepard +function airdef:visual/update diff --git a/legacy/airdef-datapack/data/airdef/function/sam/tracer.mcfunction b/legacy/airdef-datapack/data/airdef/function/sam/tracer.mcfunction new file mode 100644 index 0000000..cc7b8d7 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/sam/tracer.mcfunction @@ -0,0 +1,4 @@ +particle minecraft:dust{color:[1.0,0.75,0.3],scale:0.7} ~ ~ ~ 0 0 0 0 1 force +scoreboard players remove $d airdef.tmp 1 +execute if entity @e[tag=airdef.pick,distance=..2] run return run particle minecraft:crit ~ ~ ~ 0.5 0.5 0.5 0.3 8 force +execute if score $d airdef.tmp matches 1.. positioned ^ ^ ^2 run function airdef:sam/tracer diff --git a/legacy/airdef-datapack/data/airdef/function/stats.mcfunction b/legacy/airdef-datapack/data/airdef/function/stats.mcfunction new file mode 100644 index 0000000..0b85309 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/stats.mcfunction @@ -0,0 +1,2 @@ +execute store result score $air airdef.tmp if entity @e[type=marker,tag=airdef.drone,tag=!airdef.falling] +tellraw @s [{"text":"[AirDef] ","color":"gold"},{"text":"Сбито: ","color":"gray"},{"score":{"name":"$kills","objective":"airdef.kills"},"color":"green"},{"text":" | в воздухе: ","color":"gray"},{"score":{"name":"$air","objective":"airdef.tmp"},"color":"red"}] diff --git a/legacy/airdef-datapack/data/airdef/function/target/clear.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/clear.mcfunction new file mode 100644 index 0000000..3f6a8f6 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/clear.mcfunction @@ -0,0 +1,2 @@ +kill @e[type=marker,tag=airdef.target] +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Цели убраны","color":"gray"}] diff --git a/legacy/airdef-datapack/data/airdef/function/target/here.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/here.mcfunction new file mode 100644 index 0000000..5abea5b --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/here.mcfunction @@ -0,0 +1 @@ +execute align xyz positioned ~0.5 ~ ~0.5 run function airdef:target/make diff --git a/legacy/airdef-datapack/data/airdef/function/target/look.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/look.mcfunction new file mode 100644 index 0000000..318c2ed --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/look.mcfunction @@ -0,0 +1,3 @@ +# луч из глаз до первого твёрдого блока, максимум 256 блоков +scoreboard players set $ray airdef.tmp 256 +execute anchored eyes positioned ^ ^ ^ run function airdef:target/ray diff --git a/legacy/airdef-datapack/data/airdef/function/target/make.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/make.mcfunction new file mode 100644 index 0000000..2a68bc4 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/make.mcfunction @@ -0,0 +1,4 @@ +summon marker ~ ~ ~ {Tags:["airdef.target"]} +playsound minecraft:block.note_block.bit master @a ~ ~ ~ 2 0.6 +particle minecraft:dust{color:[1.0,0.1,0.1],scale:3.0} ~ ~1 ~ 0.2 2 0.2 0 60 force +tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"Цель отмечена","color":"red"}] diff --git a/legacy/airdef-datapack/data/airdef/function/target/ray.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/ray.mcfunction new file mode 100644 index 0000000..dfc6872 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/ray.mcfunction @@ -0,0 +1,3 @@ +scoreboard players remove $ray airdef.tmp 1 +execute unless block ~ ~ ~ #minecraft:air align xyz positioned ~0.5 ~1 ~0.5 run return run function airdef:target/make +execute if score $ray airdef.tmp matches 1.. positioned ^ ^ ^1 run function airdef:target/ray diff --git a/legacy/airdef-datapack/data/airdef/function/target/tick.mcfunction b/legacy/airdef-datapack/data/airdef/function/target/tick.mcfunction new file mode 100644 index 0000000..4573336 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/target/tick.mcfunction @@ -0,0 +1 @@ +particle minecraft:dust{color:[1.0,0.1,0.1],scale:2.0} ~ ~0.5 ~ 0.3 0.6 0.3 0 6 force diff --git a/legacy/airdef-datapack/data/airdef/function/tick.mcfunction b/legacy/airdef-datapack/data/airdef/function/tick.mcfunction new file mode 100644 index 0000000..74f047c --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/tick.mcfunction @@ -0,0 +1,9 @@ +scoreboard players add $tick airdef.t 1 +scoreboard players operation $m10 airdef.tmp = $tick airdef.t +scoreboard players operation $m10 airdef.tmp %= $10 airdef.tmp +execute as @e[type=item,tag=!airdef.used] if data entity @s Item.components."minecraft:custom_data".airdef run function airdef:player/dropped +execute if score $m10 airdef.tmp matches 0 as @e[type=marker,tag=airdef.target] at @s run function airdef:target/tick +execute as @e[type=marker,tag=airdef.drone] at @s run function airdef:drone/tick +execute as @e[type=marker,tag=airdef.sam] at @s run function airdef:sam/tick +execute as @e[type=marker,tag=airdef.missile] at @s run function airdef:missile/tick +execute if score $m10 airdef.tmp matches 0 run function airdef:alert/update diff --git a/legacy/airdef-datapack/data/airdef/function/visual/still.mcfunction b/legacy/airdef-datapack/data/airdef/function/visual/still.mcfunction new file mode 100644 index 0000000..3a6c4be --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/visual/still.mcfunction @@ -0,0 +1,3 @@ +scoreboard players set $mx airdef.tmp 0 +scoreboard players set $my airdef.tmp 0 +scoreboard players set $mz airdef.tmp 0 diff --git a/legacy/airdef-datapack/data/airdef/function/visual/summon.mcfunction b/legacy/airdef-datapack/data/airdef/function/visual/summon.mcfunction new file mode 100644 index 0000000..2f0f1da --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/visual/summon.mcfunction @@ -0,0 +1 @@ +$summon falling_block ~ ~$(dy) ~ {NoGravity:1b,Time:599,DropItem:0b,Motion:[$(mx)d,$(my)d,$(mz)d],BlockState:{Name:"airdef:$(prefix)_p$(i)_y$(j)",Properties:{facing:"$(f)"}}} diff --git a/legacy/airdef-datapack/data/airdef/function/visual/update.mcfunction b/legacy/airdef-datapack/data/airdef/function/visual/update.mcfunction new file mode 100644 index 0000000..ed4c081 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/visual/update.mcfunction @@ -0,0 +1,57 @@ +# Модель объекта — falling_block с моделью блока airdef:_p_y[facing]. +# В Horizon falling_block не виден селекторам (его нельзя ни сдвинуть, ни убить), +# зато он читает Time и Motion и исчезает при Time > 600. Поэтому каждый тик ставится новый +# с Time:599 и скоростью объекта: он живёт один тик и плавно интерполируется. +# Вызывается как логический маркер после движения. Параметры — в data маркера: +# prefix, dy (смещение по высоте), top/step/np (тангаж: верхний угол ×10, шаг ×10, число ступеней). +execute store result score $yaw airdef.tmp run data get entity @s Rotation[0] 10 +execute store result score $pit airdef.tmp run data get entity @s Rotation[1] 10 +# курс модели = yaw - 180°, 16 секторов по 22.5°: facing (по 90°) + доворот j +scoreboard players add $yaw airdef.tmp 5512 +scoreboard players operation $yaw airdef.tmp %= $3600 airdef.tmp +scoreboard players operation $yaw airdef.tmp /= $225 airdef.tmp +scoreboard players operation $f airdef.tmp = $yaw airdef.tmp +scoreboard players operation $f airdef.tmp /= $4 airdef.tmp +execute store result storage airdef:v j int 1 run scoreboard players operation $yaw airdef.tmp %= $4 airdef.tmp +# тангаж: индекс ступени = round((top + pitch) / step) +execute store result score $vtop airdef.tmp run data get entity @s data.top +execute store result score $vstep airdef.tmp run data get entity @s data.step +execute store result score $vnp airdef.tmp run data get entity @s data.np +scoreboard players operation $pit airdef.tmp += $vtop airdef.tmp +scoreboard players operation $h airdef.tmp = $vstep airdef.tmp +scoreboard players operation $h airdef.tmp /= $2 airdef.tmp +scoreboard players operation $pit airdef.tmp += $h airdef.tmp +execute if score $pit airdef.tmp matches ..-1 run scoreboard players set $pit airdef.tmp 0 +scoreboard players operation $pit airdef.tmp /= $vstep airdef.tmp +scoreboard players remove $vnp airdef.tmp 1 +execute if score $pit airdef.tmp > $vnp airdef.tmp run scoreboard players operation $pit airdef.tmp = $vnp airdef.tmp +execute store result storage airdef:v i int 1 run scoreboard players get $pit airdef.tmp +execute if score $f airdef.tmp matches 0 run data modify storage airdef:v f set value "north" +execute if score $f airdef.tmp matches 1 run data modify storage airdef:v f set value "east" +execute if score $f airdef.tmp matches 2 run data modify storage airdef:v f set value "south" +execute if score $f airdef.tmp matches 3 run data modify storage airdef:v f set value "west" +# скорость = смещение с прошлого тика (×1000), телепорты и первый тик — без скорости +execute store result score $x airdef.tmp run data get entity @s Pos[0] 1000 +execute store result score $y airdef.tmp run data get entity @s Pos[1] 1000 +execute store result score $z airdef.tmp run data get entity @s Pos[2] 1000 +scoreboard players operation $mx airdef.tmp = $x airdef.tmp +scoreboard players operation $mx airdef.tmp -= @s airdef.px +scoreboard players operation $my airdef.tmp = $y airdef.tmp +scoreboard players operation $my airdef.tmp -= @s airdef.py +scoreboard players operation $mz airdef.tmp = $z airdef.tmp +scoreboard players operation $mz airdef.tmp -= @s airdef.pz +execute unless score @s airdef.px matches -2147483648.. run function airdef:visual/still +execute unless score $mx airdef.tmp matches -5000..5000 run function airdef:visual/still +execute unless score $my airdef.tmp matches -5000..5000 run function airdef:visual/still +execute unless score $mz airdef.tmp matches -5000..5000 run function airdef:visual/still +# у земли не опускать: иначе блок «приземлится» и встанет в мир +execute if score $my airdef.tmp matches ..-1 unless block ~ ~-1.5 ~ #minecraft:air run scoreboard players set $my airdef.tmp 0 +scoreboard players operation @s airdef.px = $x airdef.tmp +scoreboard players operation @s airdef.py = $y airdef.tmp +scoreboard players operation @s airdef.pz = $z airdef.tmp +execute store result storage airdef:v mx double 0.001 run scoreboard players get $mx airdef.tmp +execute store result storage airdef:v my double 0.001 run scoreboard players get $my airdef.tmp +execute store result storage airdef:v mz double 0.001 run scoreboard players get $mz airdef.tmp +data modify storage airdef:v prefix set from entity @s data.prefix +data modify storage airdef:v dy set from entity @s data.dy +function airdef:visual/summon with storage airdef:v diff --git a/legacy/airdef-datapack/data/airdef/function/wave/loop.mcfunction b/legacy/airdef-datapack/data/airdef/function/wave/loop.mcfunction new file mode 100644 index 0000000..8322668 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/wave/loop.mcfunction @@ -0,0 +1,6 @@ +# случайный азимут и разброс по дальности +execute store result storage airdef:wave a.yaw int 1 run random value 0..359 +execute store result storage airdef:wave a.extra int 1 run random value 0..40 +function airdef:wave/one with storage airdef:wave a +scoreboard players remove $wave airdef.tmp 1 +execute if score $wave airdef.tmp matches 1.. run function airdef:wave/loop diff --git a/legacy/airdef-datapack/data/airdef/function/wave/one.mcfunction b/legacy/airdef-datapack/data/airdef/function/wave/one.mcfunction new file mode 100644 index 0000000..9e79715 --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/wave/one.mcfunction @@ -0,0 +1 @@ +$execute rotated $(yaw) 0 positioned ^ ^ ^$(dist) positioned ^ ^ ^$(extra) positioned ~ ~50 ~ rotated ~180 0 run function airdef:drone/spawn_$(type) diff --git a/legacy/airdef-datapack/data/airdef/function/wave/start.mcfunction b/legacy/airdef-datapack/data/airdef/function/wave/start.mcfunction new file mode 100644 index 0000000..0a3668b --- /dev/null +++ b/legacy/airdef-datapack/data/airdef/function/wave/start.mcfunction @@ -0,0 +1,7 @@ +# налёт к ближайшей цели. Аргументы: type, count, dist +execute unless entity @e[type=marker,tag=airdef.target] run return run tellraw @s [{"text":"[AirDef] ","color":"gold"},{"text":"Сначала отметьте цель","color":"red"}] +$scoreboard players set $wave airdef.tmp $(count) +$data modify storage airdef:wave a set value {type:"$(type)",dist:$(dist)} +execute as @e[type=marker,tag=airdef.target,sort=nearest,limit=1] at @s run function airdef:wave/loop +$tellraw @a [{"text":"[AirDef] ","color":"gold"},{"text":"ВОЗДУШНАЯ ТРЕВОГА: $(count) × $(type)","color":"red","bold":true}] +playsound minecraft:event.raid.horn master @a ~ ~ ~ 1000 1 diff --git a/legacy/airdef-datapack/data/minecraft/tags/function/load.json b/legacy/airdef-datapack/data/minecraft/tags/function/load.json new file mode 100644 index 0000000..0c692ad --- /dev/null +++ b/legacy/airdef-datapack/data/minecraft/tags/function/load.json @@ -0,0 +1 @@ +{ "values": ["airdef:load"] } diff --git a/legacy/airdef-datapack/data/minecraft/tags/function/tick.json b/legacy/airdef-datapack/data/minecraft/tags/function/tick.json new file mode 100644 index 0000000..1066f6f --- /dev/null +++ b/legacy/airdef-datapack/data/minecraft/tags/function/tick.json @@ -0,0 +1 @@ +{ "values": ["airdef:tick"] } diff --git a/legacy/airdef-datapack/pack.mcmeta b/legacy/airdef-datapack/pack.mcmeta new file mode 100644 index 0000000..99b74eb --- /dev/null +++ b/legacy/airdef-datapack/pack.mcmeta @@ -0,0 +1,8 @@ +{ + "pack": { + "description": "AirDef: дальнобойные дроны и ПВО", + "pack_format": 88, + "min_format": 88, + "max_format": 999 + } +} diff --git a/legacy/gen_content.py b/legacy/gen_content.py new file mode 100644 index 0000000..078fad9 --- /dev/null +++ b/legacy/gen_content.py @@ -0,0 +1,361 @@ +#!/usr/bin/env python3 +"""Генерирует контент-мод airdef-content: текстуры, модели и блоки с вариантами поворота. + +Horizon не рисует display-сущности, но рисует falling_block с моделью любого блока. +Поэтому каждый поворот дрона/ракеты/башни — отдельный блок: модель повёрнута элементами +(rotation x/y), а блокстейт facing докручивает по 90°. Итог: 16 курсов × N углов тангажа. + +Запуск: python3 tools/gen_content.py +""" +import json +import os +import random +import shutil + +from PIL import Image + +ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "airdef-content")) +NS = "airdef" + +# Знаки поворота элементов подобраны по скриншотам в игре. +PITCH_SIGN = 1 +YAW_SIGN = -1 + +YAW_OFFS = [0, 22.5, 45, 67.5] +DRONE_PITCH = [20, 0, -20, -40, -60, -80] +MISSILE_PITCH = [90, 67.5, 45, 22.5, 0, -22.5, -45, -67.5, -90] +GEPARD_ELEV = [75, 50, 25, 0] +PATRIOT_ELEV = 38 + +FACINGS = [("north", 0), ("east", 90), ("south", 180), ("west", 270)] + + +# ---------------------------------------------------------------- текстуры +def noise(base, amp, seed, size=16): + rnd = random.Random(seed) + im = Image.new("RGBA", (size, size)) + for y in range(size): + for x in range(size): + d = rnd.randint(-amp, amp) + im.putpixel((x, y), tuple(max(0, min(255, c + d)) for c in base) + (255,)) + return im + + +def tex_panels(base, seed): + im = noise(base, 5, seed) + line = tuple(max(0, c - 18) for c in base) + (255,) + for i in range(16): + im.putpixel((i, 5), line) + im.putpixel((11, i), line) + return im + + +def tex_camo(colors, seed): + rnd = random.Random(seed) + im = noise(colors[0], 4, seed) + for col in colors[1:]: + for _ in range(5): + cx, cy, r = rnd.randint(0, 15), rnd.randint(0, 15), rnd.randint(1, 3) + for y in range(cy - r, cy + r + 1): + for x in range(cx - r - 1, cx + r + 2): + if (x - cx) ** 2 / 1.6 + (y - cy) ** 2 <= r * r: + im.putpixel((x % 16, y % 16), tuple(max(0, min(255, c + rnd.randint(-4, 4))) for c in col) + (255,)) + return im + + +def tex_track(): + im = noise((38, 38, 36), 4, 7) + for y in range(0, 16, 3): + for x in range(16): + im.putpixel((x, y), (70, 70, 66, 255)) + return im + + +def tex_canister_front(): + im = noise((96, 104, 74), 4, 11) + for cx in (4, 11): + for cy in (4, 11): + for y in range(cy - 3, cy + 3): + for x in range(cx - 3, cx + 3): + im.putpixel((x, y), (40, 42, 34, 255)) + return im + + +def tex_flame(): + im = Image.new("RGBA", (16, 16)) + for y in range(16): + for x in range(16): + t = y / 15 + im.putpixel((x, y), (255, int(230 - 120 * t), int(120 - 100 * t), 255)) + return im + + +def tex_missile(): + im = noise((228, 228, 222), 3, 21) + for x in range(16): + im.putpixel((x, 2), (180, 40, 40, 255)) + im.putpixel((x, 3), (180, 40, 40, 255)) + return im + + +def tex_glass(): + im = noise((44, 62, 82), 6, 31) + for i in range(16): + im.putpixel((i, 15 - i), (120, 150, 170, 255)) + return im + + +TEXTURES = { + "shahed": lambda: tex_panels((64, 66, 68), 1), + "shahed_nose": lambda: noise((96, 98, 100), 4, 2), + "geran": lambda: tex_panels((30, 30, 33), 3), + "geran_engine": lambda: noise((52, 52, 56), 5, 4), + "prop": lambda: noise((18, 18, 18), 3, 5), + "missile": tex_missile, + "flame": tex_flame, + "nozzle": lambda: noise((40, 40, 40), 4, 6), + "nato_green": lambda: tex_camo([(76, 84, 58), (58, 66, 44), (40, 44, 32)], 8), + "flecktarn": lambda: tex_camo([(92, 98, 62), (64, 74, 44), (100, 82, 54), (32, 34, 28)], 9), + "track": tex_track, + "tire": lambda: noise((26, 26, 26), 3, 10), + "canister": lambda: tex_panels((96, 104, 74), 12), + "canister_front": tex_canister_front, + "glass": tex_glass, + "metal": lambda: noise((122, 124, 126), 6, 13), + "radar": lambda: noise((160, 162, 160), 5, 14), + "barrel": lambda: noise((44, 46, 42), 3, 15), +} + + +# ---------------------------------------------------------------- модели +def el(frm, to, tex, group="body"): + return {"from": list(frm), "to": list(to), "tex": tex, "group": group} + + +def mirror_x(e): + """Зеркальная копия элемента относительно центра блока (x=8).""" + return {**e, "from": [16 - e["to"][0], e["from"][1], e["from"][2]], "to": [16 - e["from"][0], e["to"][1], e["to"][2]]} + + +def face_uv(frm, to, face): + dx, dy, dz = (abs(to[i] - frm[i]) for i in range(3)) + w, h = {"north": (dx, dy), "south": (dx, dy), "east": (dz, dy), "west": (dz, dy), "up": (dx, dz), "down": (dx, dz)}[face] + return [0, 0, max(0.5, min(16, w)), max(0.5, min(16, h))] + + +def build_model(parts, rot_for_group, origin=(8, 8, 8)): + textures = {} + elements = [] + for p in parts: + textures[p["tex"]] = f"{NS}:block/{p['tex']}" + faces = {f: {"uv": face_uv(p["from"], p["to"], f), "texture": "#" + p["tex"]} + for f in ("north", "south", "east", "west", "up", "down")} + e = {"from": p["from"], "to": p["to"], "faces": faces} + rx, ry = rot_for_group(p["group"]) + if rx or ry: + rot = {"origin": list(origin)} + if rx: + rot["x"] = rx + if ry: + rot["y"] = ry + e["rotation"] = rot + elements.append(e) + textures["particle"] = f"{NS}:block/{parts[0]['tex']}" + return {"textures": textures, "elements": elements} + + +def delta_wing(tex, z_lead, z_tip, z_trail, half_span, steps=6, y0=7.4, y1=8.2): + """Дельта-крыло лесенкой: передняя кромка от (8, z_lead) до законцовки half_span на z_tip.""" + parts = [] + for i in range(steps): + za = z_lead + (z_tip - z_lead) * i / steps + zb = z_lead + (z_tip - z_lead) * (i + 1) / steps + s = half_span * (i + 1) / steps + parts.append(el((8 - s, y0, za), (8 + s, y1, zb), tex)) + parts.append(el((8 - half_span, y0, z_tip), (8 + half_span, y1, z_trail), tex)) + return parts + + +def shahed_parts(): + p = [ + el((6.5, 6.5, -11), (9.5, 9.5, 21), "shahed"), + el((7, 7, -14), (9, 9, -11), "shahed_nose"), + el((6.8, 6.8, 21), (9.2, 9.2, 24), "prop"), + el((7.6, 2.5, 24), (8.4, 13.5, 24.6), "prop"), + el((2.5, 7.6, 24), (13.5, 8.4, 24.6), "prop"), + ] + p += delta_wing("shahed", -3, 15, 21, 19) + fin = el((-11.5, 7, 13), (-10.5, 12, 21), "shahed") + p += [fin, mirror_x(fin)] + return p + + +def geran3_parts(): + p = [ + el((6.5, 6.5, -12), (9.5, 9.5, 20), "geran"), + el((7, 7, -15), (9, 9, -12), "geran_engine"), + el((6, 9.5, 6), (10, 12.5, 22), "geran_engine"), + el((6.5, 10, 22), (9.5, 12, 23), "nozzle"), + ] + p += delta_wing("geran", -2, 13, 19, 15, steps=5) + fin = el((-7.5, 7, 12), (-6.5, 11, 19), "geran") + p += [fin, mirror_x(fin)] + return p + + +def pac3_parts(): + p = [ + el((6.75, 6.75, -13), (9.25, 9.25, 14), "missile"), + el((7.25, 7.25, -16), (8.75, 8.75, -13), "missile"), + el((7.1, 7.1, 14), (8.9, 8.9, 16), "nozzle"), + el((7.3, 7.3, 16), (8.7, 8.7, 23), "flame"), + el((3.5, 7.75, 9), (12.5, 8.25, 14), "missile"), + el((7.75, 3.5, 9), (8.25, 12.5, 14), "missile"), + ] + return p + + +def patriot_box_parts(): + """Пакет из 4 ТПК: ось вращения — центр блока, наклон задаётся тангажом.""" + return [ + el((-3, 2, -14), (19, 22, 28), "canister"), + el((-3.2, 1.8, -14.4), (19.2, 22.2, -14), "canister_front"), + el((-4, 11.5, -14), (20, 12.5, 28), "metal"), + ] + + +def gepard_turret_parts(): + turret = [ + el((-3, 2, -2), (19, 14, 20), "flecktarn"), + el((1, 14, 4), (15, 16, 16), "flecktarn"), + el((4, 6, -6), (12, 13, -2), "radar", "turret"), + el((7.5, 16, 15), (8.5, 22, 16), "metal"), + el((1, 21, 14), (15, 24, 16), "radar"), + ] + for e in turret: + e["group"] = "turret" + gun = el((-7, 7, -16), (-4.5, 9.5, 10), "barrel", "gun") + mount = el((-8, 5.5, 2), (-3, 11, 12), "flecktarn", "gun") + return turret + [gun, mirror_x(gun), mount, mirror_x(mount)] + + +def patriot_truck_parts(): + p = [ + el((-6, 5, -16), (22, 9, 32), "nato_green"), + el((-6, 9, -15.5), (22, 24, -2), "nato_green"), + el((-5, 15, -16), (21, 22, -15.5), "glass"), + el((-6.2, 15, -14), (-5.8, 22, -6), "glass"), + el((21.8, 15, -14), (22.2, 22, -6), "glass"), + el((-4, 9, 0), (20, 16, 10), "nato_green"), + ] + for z in (-12, 16, 25): + w = el((-8, 0, z), (-5, 8, z + 7), "tire") + p += [w, mirror_x(w)] + return p + + +def patriot_trailer_parts(): + p = [ + el((-6, 5, -16), (22, 10, 32), "nato_green"), + el((2, 10, 10), (14, 14, 22), "metal"), + el((-6, 2, -16), (22, 6, -12), "metal"), + ] + for z in (14, 23): + w = el((-8, 0, z), (-5, 8, z + 7), "tire") + p += [w, mirror_x(w)] + return p + + +def gepard_front_parts(): + p = [ + el((-12, 4, -12), (28, 18, 32), "flecktarn"), + el((-12, 4, -16), (28, 13, -12), "flecktarn"), + el((-10, 18, 20), (26, 19, 32), "metal"), + ] + t = el((-16, 0, -14), (-12, 11, 32), "track") + return p + [t, mirror_x(t)] + + +def gepard_rear_parts(): + p = [ + el((-12, 4, -16), (28, 18, 26), "flecktarn"), + el((-10, 18, -16), (26, 19, 20), "flecktarn"), + el((-6, 18, 4), (22, 19.5, 18), "metal"), + ] + t = el((-16, 0, -16), (-12, 11, 28), "track") + return p + [t, mirror_x(t)] + + +# ---------------------------------------------------------------- запись +blocks = {} # имя -> (model, rotate_with_facing) +names = {} + + +def rot_all(pitch, yaw): + return lambda group: (PITCH_SIGN * pitch, YAW_SIGN * yaw) + + +def add_rotating(prefix, parts, pitches, title, origin=(8, 8, 8), pitch_groups=None): + """Блоки prefix_p{i}_y{j}: тангаж pitches[i], доворот курса YAW_OFFS[j].""" + for i, pitch in enumerate(pitches): + for j, yaw in enumerate(YAW_OFFS): + if pitch_groups is None: + rot = rot_all(pitch, yaw) + else: + rot = (lambda pi, ya: lambda g: (PITCH_SIGN * pi if g in pitch_groups else 0, YAW_SIGN * ya))(pitch, yaw) + name = f"{prefix}_p{i}_y{j}" + blocks[name] = build_model(parts, rot, origin) + names[name] = title + + +def add_static(name, parts, title): + blocks[name] = build_model(parts, lambda g: (0, 0)) + names[name] = title + + +add_rotating("shahed", shahed_parts(), DRONE_PITCH, "Шахед-136") +add_rotating("geran3", geran3_parts(), DRONE_PITCH, "Герань-3") +add_rotating("pac3", pac3_parts(), MISSILE_PITCH, "Ракета PAC-3") +add_rotating("patriot_box", patriot_box_parts(), [PATRIOT_ELEV], "ПУ Patriot") +add_rotating("gepard_turret", gepard_turret_parts(), GEPARD_ELEV, "Башня Гепарда", pitch_groups={"gun"}) +add_static("patriot_truck", patriot_truck_parts(), "Тягач Patriot") +add_static("patriot_trailer", patriot_trailer_parts(), "Полуприцеп Patriot") +add_static("gepard_front", gepard_front_parts(), "Корпус Гепарда (нос)") +add_static("gepard_rear", gepard_rear_parts(), "Корпус Гепарда (корма)") + + +def write_json(path, obj): + os.makedirs(os.path.dirname(path), exist_ok=True) + with open(path, "w", encoding="utf-8") as f: + json.dump(obj, f, ensure_ascii=False, separators=(",", ":")) + + +def main(): + for sub in ("assets", "data"): + shutil.rmtree(os.path.join(ROOT, sub), ignore_errors=True) + tex_dir = os.path.join(ROOT, "assets", NS, "textures", "block") + os.makedirs(tex_dir, exist_ok=True) + for name, fn in TEXTURES.items(): + fn().save(os.path.join(tex_dir, name + ".png")) + + lang = {} + for name, model in blocks.items(): + write_json(os.path.join(ROOT, "assets", NS, "models", "block", name + ".json"), model) + variants = {} + for facing, y in FACINGS: + v = {"model": f"{NS}:block/{name}"} + if y: + v["y"] = y + variants[f"facing={facing}"] = v + write_json(os.path.join(ROOT, "assets", NS, "blockstates", name + ".json"), {"variants": variants}) + write_json(os.path.join(ROOT, "data", NS, "horizon", "block", name + ".json"), + {"template": "minecraft:carved_pumpkin", "item": False, + "properties": {"hardness": 2.0, "sounds": "minecraft:iron_block"}}) + lang[f"block.{NS}.{name}"] = names[name] + write_json(os.path.join(ROOT, "assets", NS, "lang", "en_us.json"), lang) + write_json(os.path.join(ROOT, "assets", NS, "lang", "ru_ru.json"), lang) + print(f"{len(blocks)} блоков, {len(TEXTURES)} текстур -> {ROOT}") + + +if __name__ == "__main__": + main() diff --git a/play.sh b/play.sh new file mode 100755 index 0000000..a2a7a9a --- /dev/null +++ b/play.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Запуск форка Horizon на твоей папке игры (macOS/Linux). То же, что python3 tools/airdef.py play. +exec python3 "$(dirname "$0")/tools/airdef.py" play "$@" diff --git a/screenshots/air-defence.jpg b/screenshots/air-defence.jpg new file mode 100644 index 0000000..d9e2bd9 Binary files /dev/null and b/screenshots/air-defence.jpg differ diff --git a/screenshots/blast-fireball.jpg b/screenshots/blast-fireball.jpg new file mode 100644 index 0000000..2b1f69b Binary files /dev/null and b/screenshots/blast-fireball.jpg differ diff --git a/screenshots/blast-flash.jpg b/screenshots/blast-flash.jpg new file mode 100644 index 0000000..8ada4b9 Binary files /dev/null and b/screenshots/blast-flash.jpg differ diff --git a/screenshots/blast-smoke.jpg b/screenshots/blast-smoke.jpg new file mode 100644 index 0000000..7a55a43 Binary files /dev/null and b/screenshots/blast-smoke.jpg differ diff --git a/screenshots/hud.jpg b/screenshots/hud.jpg new file mode 100644 index 0000000..448b812 Binary files /dev/null and b/screenshots/hud.jpg differ diff --git a/screenshots/intercepts.jpg b/screenshots/intercepts.jpg new file mode 100644 index 0000000..aff2708 Binary files /dev/null and b/screenshots/intercepts.jpg differ diff --git a/screenshots/menu.jpg b/screenshots/menu.jpg new file mode 100644 index 0000000..75a54a9 Binary files /dev/null and b/screenshots/menu.jpg differ diff --git a/screenshots/monitor.jpg b/screenshots/monitor.jpg new file mode 100644 index 0000000..6ab05e3 Binary files /dev/null and b/screenshots/monitor.jpg differ diff --git a/screenshots/night-tracers.jpg b/screenshots/night-tracers.jpg new file mode 100644 index 0000000..b80803f Binary files /dev/null and b/screenshots/night-tracers.jpg differ diff --git a/screenshots/s400-cold-launch.jpg b/screenshots/s400-cold-launch.jpg new file mode 100644 index 0000000..a60342b Binary files /dev/null and b/screenshots/s400-cold-launch.jpg differ diff --git a/screenshots/shahed-intercept.jpg b/screenshots/shahed-intercept.jpg new file mode 100644 index 0000000..2104c2a Binary files /dev/null and b/screenshots/shahed-intercept.jpg differ diff --git a/screenshots/systems.jpg b/screenshots/systems.jpg new file mode 100644 index 0000000..65a0add Binary files /dev/null and b/screenshots/systems.jpg differ diff --git a/tools/airdef.py b/tools/airdef.py new file mode 100644 index 0000000..b2779d3 --- /dev/null +++ b/tools/airdef.py @@ -0,0 +1,153 @@ +#!/usr/bin/env python3 +"""AirDef: сборка, установка и запуск на Windows, macOS и Linux. Только стандартная библиотека Python. + + python3 tools/airdef.py fork # скачать Horizon нужной версии и наложить патчи форка (horizon/) + python3 tools/airdef.py game # собрать игру (форк) — нужен Rust + python3 tools/airdef.py mod # собрать мод airdef.hmod — нужен Rust с wasm32 + python3 tools/airdef.py install # положить мод в папку игры и включить + python3 tools/airdef.py play [аргументы игры] # запустить форк на папке игры + python3 tools/airdef.py all # всё по порядку: fork, game, mod, install + +Переменные окружения: HORIZON_HOME (папка игры), HORIZON_RESOURCES (подготовленные ресурсы +Minecraft 26.3), AIRDEF_GAME (готовый horizon-client вместо собранного). +""" +import glob +import os +import platform +import shutil +import subprocess +import sys +from pathlib import Path + +ROOT = Path(__file__).resolve().parent.parent +FORK = ROOT / "horizon" +UPSTREAM = "https://github.com/ludovic111/horizon.git" +EXE = ".exe" if os.name == "nt" else "" + + +def data_dir() -> Path: + """Как `dirs::data_dir()` в Horizon.""" + system = platform.system() + if system == "Windows": + return Path(os.environ["APPDATA"]) + if system == "Darwin": + return Path.home() / "Library" / "Application Support" + return Path(os.environ.get("XDG_DATA_HOME", Path.home() / ".local" / "share")) + + +def game_home() -> Path: + return Path(os.environ.get("HORIZON_HOME") or data_dir() / "horizon") + + +def run(cmd, cwd=None, env=None): + print("+", " ".join(str(c) for c in cmd), flush=True) + subprocess.run([str(c) for c in cmd], cwd=cwd, env=env, check=True) + + +def cargo() -> str: + found = shutil.which("cargo") or str(Path.home() / ".cargo" / "bin" / ("cargo" + EXE)) + if not Path(found).exists() and not shutil.which("cargo"): + sys.exit("Нужен Rust: https://rustup.rs (затем: rustup target add wasm32-unknown-unknown)") + return found + + +def fork(): + """horizon/ = апстрим на коммите HORIZON_COMMIT + патчи horizon-patches/.""" + commit = (ROOT / "HORIZON_COMMIT").read_text().strip() + patches = sorted((ROOT / "horizon-patches").glob("*.patch")) + if not (FORK / ".git").exists(): + run(["git", "clone", "--filter=blob:none", UPSTREAM, FORK]) + branch = subprocess.run(["git", "-C", FORK, "branch", "--show-current"], capture_output=True, text=True).stdout.strip() + if branch == "airdef": + print("horizon/: ветка airdef уже есть") + return + run(["git", "-C", FORK, "fetch", "--quiet", "origin", commit]) + run(["git", "-C", FORK, "checkout", "-B", "airdef", commit]) + if patches: + run(["git", "-C", FORK, "-c", "user.name=airdef", "-c", "user.email=airdef@localhost", + "am", "--3way", *patches]) + + +def game(): + if not (FORK / "Cargo.toml").exists(): + fork() + run([cargo(), "build", "--profile", "fast", "-p", "horizon-client", "--features", "mods"], cwd=FORK) + + +def built_game() -> Path: + if os.environ.get("AIRDEF_GAME"): + return Path(os.environ["AIRDEF_GAME"]) + for name in (FORK / "target" / "fast" / ("horizon-client" + EXE), ROOT / ("horizon-client" + EXE)): + if name.exists(): + return name + sys.exit("Нет собранной игры: python3 tools/airdef.py game (или AIRDEF_GAME=путь к horizon-client)") + + +def mod(): + tool = shutil.which("cargo-horizon-mod") or Path.home() / ".cargo" / "bin" / ("cargo-horizon-mod" + EXE) + if not Path(tool).exists(): + if not (FORK / "Cargo.toml").exists(): + fork() + run([cargo(), "install", "--locked", "--path", FORK / "crates" / "cargo-horizon-mod"]) + run([cargo(), "horizon-mod", "build"], cwd=ROOT / "airdef-mod") + + +def hmod() -> Path: + for p in (ROOT / "airdef-mod" / "target" / "horizon-mod" / "airdef.hmod", ROOT / "airdef.hmod"): + if p.exists(): + return p + sys.exit("Нет airdef.hmod: python3 tools/airdef.py mod") + + +def install(): + home = game_home() + mods = home / "horizon-mods" + mods.mkdir(parents=True, exist_ok=True) + shutil.rmtree(mods / "airdef", ignore_errors=True) # первая версия мода была папкой + shutil.copy2(hmod(), mods / "airdef.hmod") + listing = home / "horizon-mods.txt" + lines = listing.read_text().splitlines() if listing.exists() else [] + lines = [l for l in lines if not l.startswith("mod.airdef:")] + ["mod.airdef:true"] + listing.write_text("\n".join(lines) + "\n") + print(f"Мод установлен в {mods} и включён") + + +def resources() -> Path: + if os.environ.get("HORIZON_RESOURCES"): + return Path(os.environ["HORIZON_RESOURCES"]) + found = sorted(glob.glob(str(data_dir() / "horizon-launcher" / "versions" / "*" / ".local" / "horizon-client" / "26.3"))) + local = FORK / ".local" / "horizon-client" / "26.3" + if local.exists(): + found.append(str(local)) + if not found: + sys.exit("Не найдены ресурсы игры. Установи Horizon через лаунчер и запусти его один раз " + "(он подготовит ресурсы из твоего Minecraft 26.3), либо задай HORIZON_RESOURCES.") + return Path(found[-1]) + + +def play(args): + exe = built_game().resolve() + home = game_home() + home.mkdir(parents=True, exist_ok=True) + # Игра хранит настройки, моды и миры в текущей папке. + run([exe, "--resources", resources(), *args], cwd=home) + + +def main(): + if len(sys.argv) < 2: + sys.exit(__doc__) + cmd, rest = sys.argv[1], sys.argv[2:] + steps = {"fork": fork, "game": game, "mod": mod, "install": install} + if cmd == "play": + play(rest) + elif cmd == "all": + for step in ("fork", "game", "mod", "install"): + steps[step]() + elif cmd in steps: + steps[cmd]() + else: + sys.exit(__doc__) + + +if __name__ == "__main__": + main() diff --git a/tools/gen_models.py b/tools/gen_models.py new file mode 100644 index 0000000..1a24ffc --- /dev/null +++ b/tools/gen_models.py @@ -0,0 +1,759 @@ +#!/usr/bin/env python3 +"""Генерирует контент мода AirDef (airdef-mod/assets и data): текстуры, модели частей, предметы. + +Каждая часть — блок со своей моделью в одной ориентации: нос смотрит на север (-z), центр — (8, 8, 8). +Поворачивает и масштабирует их движок форка (render.set-models), так что ракурсы больше не нужны. +Координаты элементов — в пределах -16..32 (иначе Horizon отбрасывает модель). + +Запуск: python3 tools/gen_models.py +""" +import json +import os +import random +import shutil + +from PIL import Image + +ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "airdef-mod")) +NS = "airdef" + + +# ---------------------------------------------------------------- текстуры +def clamp(v): + return max(0, min(255, int(v))) + + +def noise(base, amp, seed, size=16): + rnd = random.Random(seed) + im = Image.new("RGBA", (size, size)) + for y in range(size): + for x in range(size): + d = rnd.randint(-amp, amp) + im.putpixel((x, y), tuple(clamp(c + d) for c in base) + (255,)) + return im + + +def panels(base, seed, size=16, every=8): + im = noise(base, 4, seed, size) + line = tuple(clamp(c - 16) for c in base) + (255,) + lite = tuple(clamp(c + 10) for c in base) + (255,) + for i in range(size): + for k in range(0, size, every): + im.putpixel((i, k), line) + im.putpixel((k, i), line) + if k + 1 < size: + im.putpixel((i, k + 1), lite) + rnd = random.Random(seed + 99) + for _ in range(size // 2): # заклёпки + x, y = rnd.randrange(size), rnd.randrange(size) + im.putpixel((x, y), lite) + return im + + +def camo(colors, seed, size=32, blobs=7): + rnd = random.Random(seed) + im = noise(colors[0], 4, seed, size) + for col in colors[1:]: + for _ in range(blobs): + cx, cy = rnd.randrange(size), rnd.randrange(size) + rx, ry = rnd.randint(2, 6), rnd.randint(1, 4) + for y in range(cy - ry, cy + ry + 1): + for x in range(cx - rx, cx + rx + 1): + if ((x - cx) / rx) ** 2 + ((y - cy) / ry) ** 2 <= 1 + rnd.random() * 0.3: + im.putpixel((x % size, y % size), tuple(clamp(c + rnd.randint(-5, 5)) for c in col) + (255,)) + return im + + +def stripes(base, line, step, seed, size=16): + im = noise(base, 3, seed, size) + for y in range(0, size, step): + for x in range(size): + im.putpixel((x, y), line + (255,)) + return im + + +def gradient(top, bottom, size=16): + im = Image.new("RGBA", (size, size)) + for y in range(size): + t = y / (size - 1) + c = tuple(clamp(top[i] + (bottom[i] - top[i]) * t) for i in range(3)) + for x in range(size): + im.putpixel((x, y), c + (255,)) + return im + + +def canister_front(): + im = noise((92, 100, 72), 3, 11) + for cx in (4, 11): + for cy in (4, 11): + for y in range(16): + for x in range(16): + d = (x - cx + 0.5) ** 2 + (y - cy + 0.5) ** 2 + if d <= 9: + im.putpixel((x, y), (36, 38, 30, 255)) + elif d <= 12: + im.putpixel((x, y), (120, 124, 100, 255)) + return im + + +def radar_face(): + im = noise((70, 76, 56), 3, 17) + for y in range(1, 15): + for x in range(1, 15): + if (x + y) % 3 == 0: + im.putpixel((x, y), (54, 58, 44, 255)) + return im + + +def glass(): + im = noise((40, 58, 78), 5, 31) + for i in range(16): + im.putpixel((i, 15 - i), (130, 160, 180, 255)) + if i < 15: + im.putpixel((i + 1, 15 - i), (100, 130, 150, 255)) + return im + + +def missile(): + im = noise((232, 232, 226), 3, 21) + for x in range(16): + for y in (3, 4): + im.putpixel((x, y), (40, 40, 40, 255)) + return im + + +def target(): + im = Image.new("RGBA", (16, 16)) + for y in range(16): + for x in range(16): + d = abs(x - 7.5) + abs(y - 7.5) + im.putpixel((x, y), (255, clamp(40 + d * 12), 40, 255)) + return im + + +def fire(seed): + rnd = random.Random(seed) + im = Image.new("RGBA", (16, 16)) + for y in range(16): + for x in range(16): + t = rnd.random() + im.putpixel((x, y), (255, clamp(140 + 110 * t), clamp(30 + 120 * t * t), 255)) + return im + + +def missile_ru(): + im = noise((226, 228, 222), 3, 49) + for x in range(16): + im.putpixel((x, 5), (180, 40, 40, 255)) + im.putpixel((x, 11), (40, 40, 40, 255)) + return im + + +def tube_cap(): + im = noise((80, 88, 60), 3, 50) + for y in range(16): + for x in range(16): + d = (x - 7.5) ** 2 + (y - 7.5) ** 2 + if d <= 36: + im.putpixel((x, y), (44, 48, 36, 255)) + elif d <= 48: + im.putpixel((x, y), (120, 128, 96, 255)) + return im + + +def tubes6(): + im = noise((82, 96, 60), 3, 51) + for cx in (3, 8, 13): + for cy in (4, 11): + for y in range(16): + for x in range(16): + if (x - cx) ** 2 + (y - cy) ** 2 <= 4: + im.putpixel((x, y), (30, 32, 26, 255)) + return im + + +def radar_big(): + im = noise((92, 100, 70), 3, 52) + for y in range(16): + for x in range(16): + if x % 2 == 0 and y % 2 == 0: + im.putpixel((x, y), (60, 66, 46, 255)) + return im + + +TEXTURES = { + "shahed": lambda: panels((66, 68, 70), 1), + "shahed_nose": lambda: noise((104, 106, 108), 4, 2), + "geran": lambda: panels((28, 28, 31), 3), + "geran_engine": lambda: panels((60, 60, 64), 4), + "intake": lambda: noise((14, 14, 14), 2, 5), + "prop": lambda: noise((22, 22, 22), 3, 6), + "missile": missile, + "nozzle": lambda: noise((44, 42, 40), 4, 7), + "flame": lambda: gradient((255, 250, 210), (255, 120, 20)), + "fire": lambda: fire(8), + "nato_green": lambda: camo([(76, 86, 58), (58, 68, 44), (44, 48, 34)], 9), + "flecktarn": lambda: camo([(92, 100, 62), (62, 74, 44), (104, 84, 54), (30, 32, 26)], 10), + "track": lambda: stripes((36, 36, 34), (74, 74, 70), 3, 11), + "tire": lambda: stripes((24, 24, 24), (40, 40, 40), 4, 12), + "canister": lambda: panels((94, 102, 74), 13), + "canister_front": canister_front, + "radar_face": radar_face, + "glass": glass, + "metal": lambda: panels((118, 120, 122), 14), + "dark_metal": lambda: panels((52, 54, 52), 15), + "barrel": lambda: noise((40, 42, 38), 3, 16), + "dish": lambda: noise((176, 178, 174), 5, 18), + "target": target, + "foam": lambda: panels((196, 180, 150), 40), + "kh101": lambda: panels((84, 88, 92), 41), + "kh101_belly": lambda: noise((150, 152, 150), 4, 42), + "lancet": lambda: panels((70, 78, 66), 43), + "ru_green": lambda: camo([(82, 96, 60), (54, 70, 40), (110, 96, 64), (34, 36, 28)], 44, blobs=6), + "ru_khaki": lambda: camo([(108, 110, 80), (84, 90, 60), (60, 64, 44)], 45, blobs=5), + "missile_ru": missile_ru, + "missile_grey": lambda: panels((150, 154, 156), 46), + "booster": lambda: noise((60, 62, 58), 3, 47), + "tube": lambda: stripes((96, 106, 74), (70, 78, 54), 4, 48), + "tube_cap": tube_cap, + "tubes6": tubes6, + "radar_big": radar_big, + "tracer": lambda: noise((255, 40, 20), 6, 60), + "tracer_hot": lambda: noise((255, 190, 150), 6, 61), + "white": lambda: noise((250, 250, 246), 2, 19), +} + + +# ---------------------------------------------------------------- модели +def el(frm, to, tex, faces=None, rot=None): + """Элемент; rot = (ось, угол) — поворот вокруг центра элемента.""" + return {"from": [float(v) for v in frm], "to": [float(v) for v in to], "tex": tex, "faces": faces, "rot": rot} + + +def mx(e): + """Зеркальная копия относительно x = 8.""" + rot = e.get("rot") + if rot and rot[0] in ("y", "z"): + rot = (rot[0], -rot[1]) + return {**e, "from": [16 - e["to"][0], e["from"][1], e["from"][2]], + "to": [16 - e["from"][0], e["to"][1], e["to"][2]], "rot": rot} + + +def both(e): + return [e, mx(e)] + + +def face_uv(frm, to, face): + dx, dy, dz = (abs(to[i] - frm[i]) for i in range(3)) + w, h = {"north": (dx, dy), "south": (dx, dy), "east": (dz, dy), "west": (dz, dy), + "up": (dx, dz), "down": (dx, dz)}[face] + return [0, 0, max(0.25, min(16, w)), max(0.25, min(16, h))] + + +def model(parts): + for p in parts: + for i in range(3): + assert -16 <= p["from"][i] <= 32 and -16 <= p["to"][i] <= 32, p + textures, elements = {}, [] + for p in parts: + textures[p["tex"]] = f"{NS}:block/{p['tex']}" + faces = {} + for f in ("north", "south", "east", "west", "up", "down"): + tex = (p["faces"] or {}).get(f, p["tex"]) + textures[tex] = f"{NS}:block/{tex}" + faces[f] = {"uv": face_uv(p["from"], p["to"], f), "texture": "#" + tex} + e = {"from": p["from"], "to": p["to"], "faces": faces} + if p.get("rot"): + axis, angle = p["rot"] + origin = [(p["from"][i] + p["to"][i]) / 2 for i in range(3)] + e["rotation"] = {"angle": angle, "axis": axis, "origin": origin} + elements.append(e) + textures["particle"] = f"{NS}:block/{parts[0]['tex']}" + return {"ambientocclusion": False, "textures": textures, "elements": elements} + + +def taper(tex, z0, z1, w0, w1, h0, h1, steps, y=8.0): + """Корпус-веретено лесенкой: ширина w0→w1 и высота h0→h1 вдоль z0→z1.""" + out = [] + for i in range(steps): + za = z0 + (z1 - z0) * i / steps + zb = z0 + (z1 - z0) * (i + 1) / steps + t = (i + 0.5) / steps + w, h = w0 + (w1 - w0) * t, h0 + (h1 - h0) * t + out.append(el((8 - w / 2, y - h / 2, za), (8 + w / 2, y + h / 2, zb), tex)) + return out + + +def delta(tex, z_root, z_tip, z_trail, half, steps, y0, y1): + """Дельта-крыло: передняя кромка от корня (z_root) к законцовке (half, z_tip), задняя кромка — z_trail.""" + out = [] + for i in range(steps): + za = z_root + (z_tip - z_root) * i / steps + s = half * (i + 1) / steps + out.append(el((8 - s, y0, za), (8 + s, y1, z_trail), tex)) + return out + + +def shahed(): + p = taper("shahed_nose", -16, -10, 2.5, 5, 2.5, 5, 3) + p += [el((5.5, 5.5, -10), (10.5, 10.5, 24), "shahed")] + p += [el((6, 10.5, -6), (10, 11.5, 4), "dark_metal")] # люк ГСН/антенны + p += delta("shahed", -2, 21, 26, 21, 9, 7.2, 8.4) + p += both(el((-13.6, 6.5, 17), (-12.6, 14, 26), "shahed")) # законцовки-кили + p += [el((6, 6, 24), (10, 10, 29), "dark_metal")] # двигатель + p += both(el((6.5, 4, 25), (7.5, 6, 28), "dark_metal")) # выхлопы + return p + + +def shahed_prop(): + return [el((7.6, -4, 7.5), (8.4, 20, 8.5), "prop"), el((-4, 7.6, 7.5), (20, 8.4, 8.5), "prop"), + el((7, 7, 7), (9, 9, 9.5), "dark_metal")] + + +def geran3(): + p = taper("geran", -16, -9, 2.5, 5.5, 2.5, 5.5, 3) + p += [el((5, 5, -9), (11, 11, 26), "geran")] + p += delta("geran", 0, 20, 26, 18, 8, 7.2, 8.4) + p += both(el((-10.6, 6.5, 18), (-9.6, 13, 26), "geran")) + p += [el((4.5, 11, 6), (11.5, 16, 28), "geran_engine"), # реактивный двигатель сверху + el((5, 11.5, 5), (11, 15.5, 6), "intake"), + el((5.5, 11.5, 28), (10.5, 15.5, 30), "nozzle")] + return p + + +def geran3_flame(): + return taper("flame", 6, 24, 4, 1, 4, 1, 5) + + +def pac3(): + p = taper("missile", -16, -11, 1, 3, 1, 3, 3) + p += [el((6.5, 6.5, -11), (9.5, 9.5, 26), "missile")] + p += both(el((1.5, 7.6, 20), (6.5, 8.4, 26), "missile")) + p += [el((7.6, 1.5, 20), (8.4, 6.5, 26), "missile"), el((7.6, 9.5, 20), (8.4, 14.5, 26), "missile")] + p += both(el((4.5, 7.7, -6), (6.5, 8.3, -2), "missile")) # рули ГСН + p += [el((7, 7, 26), (9, 9, 28), "nozzle")] + return p + + +def flame(): + """Факел двигателя: светящаяся «капля», хвост — на юг (+z).""" + return taper("flame", -8, 26, 5, 1, 5, 1, 8) + + +def patriot_launcher(): + """Пакет 4 ТПК M903. Ось качания — задняя нижняя кромка (z = 30, y = 0).""" + p = [el((-6, 1, -14), (22, 19, 30), "canister", {"north": "canister_front"})] + p += [el((-6.5, 9.5, -14), (22.5, 10.5, 30), "dark_metal"), + el((7.5, 1, -14), (8.5, 19, 30), "dark_metal"), + el((-7, 0, 24), (23, 2, 30), "metal")] + p += both(el((-8, 2, -10), (-6, 17, -6), "metal")) + both(el((-8, 2, 20), (-6, 17, 24), "metal")) + return p + + +def patriot_truck(): + """Тягач (HEMTT): кабина, рама, колёса. Длина 3 блока при масштабе 1.""" + p = [el((-6, 5, -16), (22, 9, 32), "nato_green"), + el((-6, 9, -15), (22, 24, -1), "nato_green"), + el((-5, 16, -16), (21, 23, -15), "glass"), + el((-6.2, 16, -13), (-6, 23, -4), "glass"), el((22, 16, -13), (22.2, 23, -4), "glass"), + el((-6, 9, 2), (22, 15, 16), "nato_green"), + el((-2, 24, -12), (18, 25, -4), "dark_metal"), + el((2, 9, 20), (14, 13, 30), "metal")] + for z in (-12, 14, 23): + p += both(el((-9, 0, z), (-5.5, 9, z + 8), "tire")) + return p + + +def patriot_trailer(): + p = [el((-7, 6, -16), (23, 11, 32), "nato_green"), + el((-1, 11, 14), (17, 16, 30), "metal"), + el((-8, 3, -16), (24, 7, -12), "dark_metal")] + for z in (14, 23): + p += both(el((-10, 0, z), (-6.5, 9, z + 8), "tire")) + p += both(el((-9, 0, -6), (-7, 6, -4), "metal")) # опоры + return p + + +def patriot_radar(): + """РЛС AN/MPQ-65: фазированная решётка на прицепе.""" + p = [el((-6, 6, -10), (22, 10, 26), "nato_green"), + el((-4, 10, -6), (20, 26, 8), "nato_green"), + el((-5, 12, -7), (21, 30, -6), "radar_face"), + el((-2, 10, 10), (18, 18, 24), "metal")] + for z in (14,): + p += both(el((-9, 0, z), (-5.5, 9, z + 8), "tire")) + return p + + +def gepard_hull(): + p = [el((-10, 4, -12), (26, 17, 30), "flecktarn"), + el((-10, 4, -16), (26, 12, -12), "flecktarn"), + el((-8, 17, 18), (24, 18, 30), "dark_metal"), + el((-6, 17, -10), (4, 18, -4), "metal")] + p += both(el((-14, 0, -14), (-10, 10, 31), "track")) + p += both(el((-14.5, 6, -14), (-10, 11, 31), "flecktarn")) # надгусеничные полки + return p + + +def gepard_turret(): + p = [el((-4, 0, -6), (20, 12, 16), "flecktarn"), + el((-2, 12, -2), (18, 14, 14), "flecktarn"), + el((3, 4, -10), (13, 12, -6), "radar_face"), # РЛС сопровождения + el((7, 14, 10), (9, 18, 12), "metal")] + return p + + +def gepard_guns(): + """Две 35-мм пушки по бортам башни; ось качания — центр модели.""" + p = both(el((-8, 5, -16), (-5.5, 7.5, 12), "barrel")) + p += both(el((-9, 3.5, 2), (-4, 9, 14), "flecktarn")) + p += both(el((-8.5, 4.5, -16), (-5, 8, -13), "dark_metal")) # дульные тормоза + return p + + +def gepard_dish(): + """Обзорная РЛС: вращается вокруг вертикальной оси.""" + return [el((-4, 6, 6), (20, 14, 8), "dish"), el((7, 0, 6), (9, 8, 8), "metal")] + + +def target_marker(): + return [el((7, -8, 7), (9, 24, 9), "target"), + el((2, 7.5, 2), (14, 8.5, 14), "target"), + el((5, 3, 5), (11, 13, 11), "target")] + + +def fireball(): + return [el((2, 2, 2), (14, 14, 14), "fire"), el((0, 4, 4), (16, 12, 12), "fire"), + el((4, 0, 4), (12, 16, 12), "fire"), el((4, 4, 0), (12, 12, 16), "fire")] + + +def flash(): + return [el((7, 7, -4), (9, 9, 20), "white"), el((-4, 7, 7), (20, 9, 9), "white"), + el((7, -4, 7), (9, 20, 9), "white"), el((5, 5, 5), (11, 11, 11), "flame")] + + +def debris(): + return [el((5, 6, 3), (11, 9, 13), "dark_metal"), el((2, 7, 6), (14, 8, 10), "shahed")] + + +def lancet(): + p = taper("lancet", -16, -10, 2, 3.5, 2, 3.5, 3) + p += [el((6.2, 6.2, -10), (9.8, 9.8, 20), "lancet"), + el((6.8, 4.8, -9), (9.2, 6.2, -5), "intake")] # оптика + for z0, z1, half in ((-5, 1, 13), (12, 18, 11)): # Х-образные крылья + for ang in (45, -45): + p.append(el((8 - half, 7.7, z0), (8 + half, 8.3, z1), "lancet", rot=("z", ang))) + p += [el((6.8, 6.8, 20), (9.2, 9.2, 22), "dark_metal")] + return p + + +def gerbera(): + p = taper("foam", -15, -10, 2.5, 4.5, 2.5, 4.5, 3) + p += [el((5.8, 5.8, -10), (10.2, 10.2, 20), "foam")] + p += delta("foam", 0, 18, 22, 17, 7, 7.3, 8.5) + p += both(el((-9.6, 6.5, 15), (-8.6, 13, 22), "foam")) + p += [el((6.5, 6.5, 20), (9.5, 9.5, 24), "dark_metal")] + return p + + +def kh101(): + p = taper("kh101", -16, -9, 2, 6, 2, 4.5, 4, y=7.5) + p += [el((5, 5.5, -9), (11, 8, 30), "kh101", {"down": "kh101_belly"}), + el((6, 8, -6), (10, 10.5, 28), "kh101")] + p += [el((-12, 7.1, 4), (28, 7.7, 10), "kh101")] # крылья + p += [el((7.6, 10.5, 24), (8.4, 15, 30), "kh101")] # киль + p += both(el((1, 7.2, 25), (6, 7.8, 30), "kh101")) + p += [el((6, 2, 15), (10, 5.5, 28), "dark_metal"), # двигатель под хвостом + el((6.5, 2.5, 14), (9.5, 5, 15), "intake"), + el((6.5, 2.5, 28), (9.5, 5, 29.5), "nozzle")] + return p + + +def wheels(zs, x0=-9, x1=-5.5, tex="tire"): + out = [] + for z in zs: + out += both(el((x0, 0, z), (x1, 9, z + 7), tex)) + return out + + +def pantsir_truck(): + p = [el((-6, 5, -16), (22, 9, 32), "ru_green"), + el((-6, 9, -16), (22, 21, -6), "ru_green", {"north": "glass"}), + el((-5, 13, -16), (21, 20, -15.9), "glass"), + el((-5, 9, -5), (21, 18, 6), "ru_green"), + el((-4, 9, 8), (20, 12, 30), "dark_metal"), + el((-6.5, 3, 26), (22.5, 6, 32), "dark_metal")] + return p + wheels((-13, -4, 16, 24)) + + +def pantsir_turret(): + return [el((-2, 0, -6), (18, 10, 16), "ru_green"), + el((1, 1, -11), (15, 11, -6), "radar_face"), + el((7, 10, 4), (9, 17, 6), "metal"), + el((0, 10, 8), (16, 12, 16), "ru_green")] + + +def pantsir_pack(): + """Пакеты ракет 57Э6 по бортам и спаренные 30-мм пушки над ними; ось качания — центр.""" + p = both(el((-11, 2, -16), (-3, 12, 12), "ru_green", {"north": "tubes6"})) + p += both(el((-9.5, 12.5, -16), (-8, 14, 6), "barrel")) + p += both(el((-6.5, 12.5, -16), (-5, 14, 6), "barrel")) + p += both(el((-10, 12, 2), (-4, 15, 10), "dark_metal")) + return p + + +def flat_radar(tex="radar_face"): + """Плоская вращающаяся антенна (ось — вертикаль через центр модели).""" + return [el((-6, 2, 7), (22, 16, 9), tex), el((-6.5, 1.5, 9), (22.5, 16.5, 10), "dark_metal"), + el((7, -8, 8), (9, 2, 10), "metal")] + + +def maz_chassis(tex): + """8×8 шасси МАЗ-543/БАЗ с раздельными кабинами; рама под пусковой контейнер.""" + p = [el((-6, 5, -16), (22, 10, 32), tex), + el((-6, 10, -16), (3, 19, -7), tex, {"north": "glass"}), + el((13, 10, -16), (22, 19, -7), tex, {"north": "glass"}), + el((3, 10, -16), (13, 15, -6), "dark_metal"), + el((-5, 10, -6), (21, 13, 4), tex), + el((-3, 10, 26), (19, 14, 32), "dark_metal")] + p += both(el((-8, 0, 28), (-6, 6, 31), "metal")) # опоры + return p + wheels((-14, -5, 13, 22)) + + +def tubes(n_wide, n_high, size, tex="tube"): + """Пакет ТПК: n_wide × n_high труб сечением size, от z=-16 до 32. Ось подъёма — задняя нижняя кромка.""" + p = [] + w = n_wide * size + (n_wide - 1) + x0 = 8 - w / 2 + for i in range(n_wide): + for j in range(n_high): + x = x0 + i * (size + 1) + y = j * (size + 1) + p.append(el((x, y, -16), (x + size, y + size, 32), tex, {"north": "tube_cap", "south": "tube_cap"})) + p += [el((x0 - 1, 0, 26), (x0 + w + 1, n_high * (size + 1) - 1, 28), "dark_metal"), + el((x0 - 1, 0, -2), (x0 + w + 1, n_high * (size + 1) - 1, 0), "dark_metal")] + return p + + +def radar_trailer(): + p = [el((-6, 5, -12), (22, 10, 26), "ru_khaki"), + el((2, 10, 2), (14, 16, 14), "dark_metal"), + el((-5, 10, 16), (21, 18, 26), "ru_khaki")] + return p + wheels((-9, 17)) + + +def big_radar_panel(): + return [el((-10, 0, 7), (26, 26, 9), "radar_big"), el((-10.5, -0.5, 9), (26.5, 26.5, 10), "dark_metal"), + el((6, -6, 8), (10, 0, 12), "metal")] + + +def missile_57e6(): + p = taper("missile_ru", -16, -12, 0.5, 2, 0.5, 2, 2) + p += [el((7, 7, -12), (9, 9, 4), "missile_ru"), el((6.4, 6.4, 4), (9.6, 9.6, 28), "booster")] + p += both(el((3.5, 7.7, 22), (6.4, 8.3, 28), "booster")) + p += [el((7.7, 3.5, 22), (8.3, 6.4, 28), "booster"), el((7.7, 9.6, 22), (8.3, 12.5, 28), "booster")] + return p + + +def missile_48n6(): + p = taper("missile_ru", -16, -11, 1, 3.5, 1, 3.5, 3) + p += [el((6.25, 6.25, -11), (9.75, 9.75, 28), "missile_ru"), + el((6.5, 6.5, 28), (9.5, 9.5, 30), "nozzle")] + p += both(el((1.5, 7.7, 20), (6.25, 8.3, 28), "missile_ru")) + p += [el((7.7, 1.5, 20), (8.3, 6.25, 28), "missile_ru"), el((7.7, 9.75, 20), (8.3, 14.5, 28), "missile_ru")] + return p + + +def missile_77n6(): + p = taper("missile_grey", -16, -10, 1, 4, 1, 4, 3) + p += [el((6, 6, -10), (10, 10, 30), "missile_grey"), + el((6, 6, 4), (10, 10, 5), "booster"), + el((6.5, 6.5, 30), (9.5, 9.5, 32), "nozzle")] + p += both(el((3, 7.7, 24), (6, 8.3, 30), "missile_grey")) + p += [el((7.7, 3, 24), (8.3, 6, 30), "missile_grey"), el((7.7, 10, 24), (8.3, 13, 30), "missile_grey")] + return p + + +def kalibr(): + p = taper("missile_grey", -16, -11, 1.5, 4.5, 1.5, 4.5, 3) + p += [el((5.75, 5.75, -11), (10.25, 10.25, 30), "missile_grey"), + el((-6, 7.6, 6), (22, 8.4, 11), "missile_grey"), + el((7.6, 10.25, 25), (8.4, 14, 30), "missile_grey"), + el((6.5, 3, 18), (9.5, 5.75, 26), "dark_metal")] + p += both(el((2, 7.6, 26), (5.75, 8.4, 30), "missile_grey")) + return p + + +def kh22(): + """Х-22/Х-32: толстое тело, треугольные крылья, киль сверху и снизу.""" + p = taper("missile_ru", -16, -8, 1.5, 6, 1.5, 6, 4) + p += [el((5, 5, -8), (11, 11, 30), "missile_ru"), + el((7.5, 11, 14), (8.5, 17, 30), "missile_ru"), + el((7.5, -1, 18), (8.5, 5, 30), "missile_ru"), + el((5.5, 5.5, 30), (10.5, 10.5, 32), "nozzle")] + p += delta("missile_ru", 4, 22, 28, 12, 5, 7.6, 8.4) + return p + + +def zircon(): + p = taper("dark_metal", -16, -6, 1, 5, 1, 4, 4) + p += [el((5.5, 6, -6), (10.5, 10, 30), "kh101"), + el((6, 3.5, 0), (10, 6, 24), "intake"), + el((5.5, 6, 30), (10.5, 10, 32), "nozzle")] + p += both(el((1, 7.6, 22), (5.5, 8.4, 30), "kh101")) + p += [el((7.6, 10, 22), (8.4, 14, 30), "kh101")] + return p + + +def iskander(): + """9М723: толстая ракета с конической головной частью и решётчатыми рулями.""" + p = taper("ru_khaki", -16, -6, 1.5, 7, 1.5, 7, 5) + p += [el((4.5, 4.5, -6), (11.5, 11.5, 30), "ru_khaki"), + el((4.4, 4.4, 4), (11.6, 11.6, 5), "dark_metal"), + el((5, 5, 30), (11, 11, 32), "nozzle")] + p += both(el((1, 7.5, 24), (4.5, 8.5, 30), "ru_khaki")) + p += [el((7.5, 1, 24), (8.5, 4.5, 30), "ru_khaki"), el((7.5, 11.5, 24), (8.5, 15, 30), "ru_khaki")] + return p + + +def kinzhal(): + p = taper("missile_grey", -16, -8, 1.5, 6.5, 1.5, 6.5, 4) + p += [el((4.75, 4.75, -8), (11.25, 11.25, 30), "dark_metal"), + el((4.6, 4.6, -4), (11.4, 11.4, -3), "missile_grey"), + el((5.5, 5.5, 30), (10.5, 10.5, 32), "nozzle")] + p += both(el((0, 7.6, 22), (4.75, 8.4, 30), "dark_metal")) + p += [el((7.6, 0, 22), (8.4, 4.75, 30), "dark_metal"), el((7.6, 11.25, 22), (8.4, 16, 30), "dark_metal")] + return p + + +MODELS = { + "shahed": (shahed, "Шахед-136"), + "shahed_prop": (shahed_prop, "Винт"), + "geran3": (geran3, "Герань-3"), + "geran3_flame": (geran3_flame, "Факел"), + "pac3": (pac3, "PAC-3 MSE"), + "flame": (flame, "Факел"), + "patriot_launcher": (patriot_launcher, "ПУ M903"), + "patriot_truck": (patriot_truck, "Тягач"), + "patriot_trailer": (patriot_trailer, "Полуприцеп"), + "patriot_radar": (patriot_radar, "РЛС AN/MPQ-65"), + "gepard_hull": (gepard_hull, "Корпус Гепарда"), + "gepard_turret": (gepard_turret, "Башня Гепарда"), + "gepard_guns": (gepard_guns, "Пушки Гепарда"), + "gepard_dish": (gepard_dish, "РЛС Гепарда"), + "target": (target_marker, "Цель"), + "fireball": (fireball, "Огненный шар"), + "flash": (flash, "Вспышка"), + "debris": (debris, "Обломки"), + "lancet": (lancet, "Ланцет-3"), + "gerbera": (gerbera, "Гербера"), + "kh101": (kh101, "Х-101"), + "pantsir_truck": (pantsir_truck, "Шасси Панциря"), + "pantsir_turret": (pantsir_turret, "Модуль Панциря"), + "pantsir_pack": (pantsir_pack, "Ракеты и пушки Панциря"), + "pantsir_dish": (flat_radar, "РЛС Панциря"), + "s400_chassis": (lambda: maz_chassis("ru_green"), "Шасси С-400"), + "s400_tubes": (lambda: tubes(2, 2, 7), "ТПК 48Н6"), + "s500_chassis": (lambda: maz_chassis("ru_khaki"), "Шасси С-500"), + "s500_tubes": (lambda: tubes(2, 1, 9.5), "ТПК 77Н6"), + "radar_trailer": (radar_trailer, "Прицеп РЛС"), + "radar_panel": (big_radar_panel, "РЛС обзора"), + "m57e6": (missile_57e6, "57Э6"), + "m48n6": (missile_48n6, "48Н6"), + "m77n6": (missile_77n6, "77Н6"), + "kalibr": (kalibr, "Калибр"), + "kh22": (kh22, "Х-22"), + "zircon": (zircon, "Циркон"), + "iskander": (iskander, "Искандер-М"), + "kinzhal": (kinzhal, "Кинжал"), + "tracer": (lambda: [el((7.6, 7.6, -16), (8.4, 8.4, 32), "tracer"), el((7.3, 7.3, -16), (8.7, 8.7, -4), "tracer_hot")], "Трассер"), +} + +CAM_MODELS = ["shahed", "geran3", "lancet", "gerbera", "kh101", "kalibr", "kh22", "zircon", "iskander", "kinzhal"] + +# Предметы: (id, название, цвет иконки) +ITEMS = [ + ("designator", "Целеуказатель", (220, 50, 50)), + ("launch_shahed", "Пуск: Шахед-136", (90, 92, 96)), + ("launch_geran3", "Пуск: Герань-3", (30, 30, 34)), + ("deploy_patriot", "Развернуть Patriot", (76, 86, 58)), + ("deploy_gepard", "Развернуть Гепард", (104, 84, 54)), + ("deploy_pantsir", "Развернуть Панцирь-С1", (82, 96, 60)), + ("deploy_s400", "Развернуть С-400", (60, 80, 50)), + ("deploy_s500", "Развернуть С-500", (108, 110, 80)), + ("launch_lancet", "Пуск: Ланцет-3", (70, 78, 66)), + ("launch_kh101", "Пуск: Х-101", (84, 88, 92)), + ("launch_kalibr", "Пуск: Калибр", (150, 154, 156)), + ("launch_kh22", "Пуск: Х-22", (226, 228, 222)), + ("launch_zircon", "Пуск: Циркон", (52, 54, 52)), + ("launch_iskander", "Пуск: Искандер-М", (108, 110, 80)), + ("launch_kinzhal", "Пуск: Кинжал", (60, 62, 60)), + ("remover", "Свернуть ПВО", (200, 200, 200)), +] + + +def item_icon(color, seed): + rnd = random.Random(seed) + im = Image.new("RGBA", (16, 16), (0, 0, 0, 0)) + for y in range(2, 14): + for x in range(4, 12): + im.putpixel((x, y), tuple(clamp(c + rnd.randint(-10, 10)) for c in color) + (255,)) + for x in range(5, 11): + im.putpixel((x, 3), (230, 230, 230, 255)) + im.putpixel((7, 6), (255, 60, 60, 255)) + im.putpixel((8, 6), (255, 60, 60, 255)) + for y in range(13, 16): + im.putpixel((7, y), (40, 40, 40, 255)) + im.putpixel((8, y), (40, 40, 40, 255)) + return im + + +def write_json(path, obj): + os.makedirs(os.path.dirname(path), exist_ok=True) + with open(path, "w", encoding="utf-8") as f: + json.dump(obj, f, ensure_ascii=False, indent=1) + + +def main(): + # Только своё: звуки (tools/gen_sounds.py) и sounds.json не трогаем. + for sub in ("blockstates", "items", "lang", "models", "textures"): + shutil.rmtree(os.path.join(ROOT, "assets", NS, sub), ignore_errors=True) + shutil.rmtree(os.path.join(ROOT, "data"), ignore_errors=True) + a = os.path.join(ROOT, "assets", NS) + d = os.path.join(ROOT, "data", NS, "horizon") + os.makedirs(os.path.join(a, "textures", "block")) + os.makedirs(os.path.join(a, "textures", "item")) + for name, fn in TEXTURES.items(): + fn().save(os.path.join(a, "textures", "block", name + ".png")) + lang = {} + for name, (fn, title) in MODELS.items(): + write_json(os.path.join(a, "models", "block", name + ".json"), model(fn())) + write_json(os.path.join(a, "blockstates", name + ".json"), {"variants": {"": {"model": f"{NS}:block/{name}"}}}) + write_json(os.path.join(d, "block", name + ".json"), + {"template": "minecraft:stone", "item": False}) + lang[f"block.{NS}.{name}"] = title + for i, (name, title, color) in enumerate(ITEMS): + item_icon(color, i).save(os.path.join(a, "textures", "item", name + ".png")) + write_json(os.path.join(a, "models", "item", name + ".json"), + {"parent": "minecraft:item/generated", "textures": {"layer0": f"{NS}:item/{name}"}}) + write_json(os.path.join(a, "items", name + ".json"), + {"model": {"type": "minecraft:model", "model": f"{NS}:item/{name}"}}) + write_json(os.path.join(d, "item", name + ".json"), {"template": "minecraft:stick", "max_stack_size": 1}) + lang[f"item.{NS}.{name}"] = title + # Предметы-иконки для камеры монитора: 3D-модель цели в интерфейсе. + for name in CAM_MODELS: + title = MODELS[name][1] + write_json(os.path.join(a, "models", "item", "cam_" + name + ".json"), + {"parent": f"{NS}:block/{name}", + "display": {"gui": {"rotation": [20, 145, 0], "translation": [0, 0, 0], "scale": [0.36, 0.36, 0.36]}}}) + write_json(os.path.join(a, "items", "cam_" + name + ".json"), + {"model": {"type": "minecraft:model", "model": f"{NS}:item/cam_{name}"}}) + write_json(os.path.join(d, "item", "cam_" + name + ".json"), {"template": "minecraft:stick", "max_stack_size": 1}) + lang[f"item.{NS}.cam_{name}"] = title + write_json(os.path.join(a, "lang", "en_us.json"), lang) + write_json(os.path.join(a, "lang", "ru_ru.json"), lang) + print(f"{len(MODELS)} моделей, {len(ITEMS)} предметов, {len(TEXTURES)} текстур -> {ROOT}") + + +if __name__ == "__main__": + main() diff --git a/tools/gen_sounds.py b/tools/gen_sounds.py new file mode 100644 index 0000000..0150ea9 --- /dev/null +++ b/tools/gen_sounds.py @@ -0,0 +1,305 @@ +#!/usr/bin/env python3 +"""Синтезирует звуки AirDef (airdef-mod/assets/airdef/sounds/*.ogg) и sounds.json. + +Никаких сэмплов: шум, тоны, фильтры и реверберация (синтетический импульсный отклик), всё на numpy; +кодирует ffmpeg (libvorbis). Звуки моно, записанные в 2 одинаковых канала (встроенный vorbis в ffmpeg пишет только стерео; Horizon сводит в моно). +Дальность слышимости у каждого события своя (attenuation_distance в sounds.json). + +Запуск: python3 tools/gen_sounds.py +""" +import json +import os +import subprocess +import tempfile +import wave + +import numpy as np + +SR = 44100 +ROOT = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "airdef-mod", "assets", "airdef")) +rng = np.random.default_rng(1945) + + +# ---------------------------------------------------------------- основа +def t(d): + return np.arange(int(SR * d)) / SR + + +def noise(d): + return rng.standard_normal(int(SR * d)) + + +def brown(d): + x = np.cumsum(noise(d)) + x -= np.convolve(x, np.ones(2001) / 2001, mode="same") # убрать дрейф + return x / (np.abs(x).max() + 1e-9) + + +def band(x, lo=None, hi=None, order=2): + X = np.fft.rfft(x) + f = np.fft.rfftfreq(len(x), 1 / SR) + g = np.ones_like(f) + if lo: + g /= 1 + (lo / np.maximum(f, 1e-3)) ** (2 * order) + if hi: + g /= 1 + (f / hi) ** (2 * order) + return np.fft.irfft(X * g, len(x)) + + +def peak(x, f0, q=8.0): + """Резонанс на f0.""" + X = np.fft.rfft(x) + f = np.fft.rfftfreq(len(x), 1 / SR) + g = 1 / (1 + ((f - f0) / (f0 / q)) ** 2) + return np.fft.irfft(X * g, len(x)) + + +def smooth(d, rate): + """Плавная случайная кривая в [-1, 1], rate значений в секунду.""" + n = int(SR * d) + pts = rng.uniform(-1, 1, int(d * rate) + 3) + xs = np.linspace(0, len(pts) - 1, n) + return np.interp(xs, np.arange(len(pts)), pts) + + +def env(d, attack, decay): + x = t(d) + return np.minimum(x / max(attack, 1e-4), 1.0) * np.exp(-np.maximum(x - attack, 0) / decay) + + +def fade(x, a=0.01, b=0.05): + n = len(x) + w = np.ones(n) + na, nb = int(SR * a), int(SR * b) + w[:na] = np.linspace(0, 1, na) + w[n - nb:] = np.linspace(1, 0, nb) + return x * w + + +def crackle(d, rate, decay=0.004): + """Треск: редкие импульсы со случайной силой.""" + x = np.zeros(int(SR * d)) + n = int(d * rate) + for i in rng.integers(0, len(x) - 1, n): + k = int(SR * decay * 4) + seg = np.exp(-np.arange(k) / (SR * decay)) * rng.standard_normal(k) + x[i:i + k] += seg[: len(x) - i] * rng.uniform(0.2, 1.0) + return x + + +def reverb(x, seconds, wet, predelay=0.03, dark=4000): + """Эхо: свёртка с затухающим тёмным шумом и парой ранних отражений.""" + n = int(SR * seconds) + ir = band(rng.standard_normal(n), hi=dark) * np.exp(-np.arange(n) / (SR * seconds / 6.0)) + for delay, gain in ((0.11, 0.5), (0.23, 0.35), (0.41, 0.25)): + k = int(SR * delay) + if k < n: + ir[k] += gain * 8 + ir = np.concatenate([np.zeros(int(SR * predelay)), ir]) + ir /= np.abs(ir).sum() ** 0.5 * 6 + size = len(x) + len(ir) + y = np.fft.irfft(np.fft.rfft(x, size) * np.fft.rfft(ir, size), size) + out = np.concatenate([x, np.zeros(len(ir))]) * (1 - wet) + y * wet + return out + + +def norm(x, level=0.9): + return x / (np.abs(x).max() + 1e-9) * level + + +def mix(*parts): + n = max(len(p) for p in parts) + out = np.zeros(n) + for p in parts: + out[: len(p)] += p + return out + + +# ---------------------------------------------------------------- двигатели (короткие петли) +def shahed(): + """Двухтактный мопедный мотор: импульсы ~70 Гц, хриплый выхлоп, «плавающие» обороты.""" + d = 2.6 + f0 = 72 * (1 + 0.04 * smooth(d, 3)) + phase = np.cumsum(2 * np.pi * f0 / SR) + pulses = sum(np.sin(k * phase) / k ** 0.6 for k in range(1, 28)) + rasp = band(noise(d), 600, 3500) * (0.6 + 0.4 * np.sin(phase)) ** 6 + body = band(pulses, 90, 2800) + rasp * 0.9 + return fade(norm(reverb(body, 0.8, 0.15)), 0.05, 0.3) + + +def geran3(): + """Реактивный: ровный рёв, свист турбины.""" + d = 2.2 + roar = band(noise(d), 80, 3500) * 0.8 + band(brown(d), 30, 300) * 1.5 + whine = np.sin(2 * np.pi * np.cumsum(3100 * (1 + 0.01 * smooth(d, 2))) / SR) * 0.25 + return fade(norm(reverb(roar + whine, 1.0, 0.2)), 0.1, 0.3) + + +def lancet(): + """Электромотор: высокий вой и жужжание винта.""" + d = 1.8 + f = 820 * (1 + 0.03 * smooth(d, 4)) + ph = np.cumsum(2 * np.pi * f / SR) + whine = np.sin(ph) * 0.4 + np.sin(2 * ph) * 0.2 + np.sin(3 * ph) * 0.1 + prop = band(noise(d), 100, 400) * (0.5 + 0.5 * np.sin(2 * np.pi * 140 * t(d))) + return fade(norm(whine + prop * 1.2), 0.1, 0.3) + + +def cruise(): + """Турбовентиляторный рёв крылатой ракеты, низкий и тяжёлый.""" + d = 2.8 + body = band(brown(d), 25, 250) * 2.0 + band(noise(d), 200, 2200) * 0.6 + whistle = np.sin(2 * np.pi * np.cumsum(1750 * (1 + 0.006 * smooth(d, 1))) / SR) * 0.12 + return fade(norm(reverb(body + whistle, 1.6, 0.3)), 0.2, 0.4) + + +def rocket(): + """Ракетный двигатель в полёте: рокочущий рёв с треском.""" + d = 2.6 + body = band(brown(d), 20, 180) * 2.2 + band(noise(d), 150, 5000) * 0.7 + body += band(crackle(d, 900, 0.002), 300, 6000) * 0.6 + return fade(norm(reverb(body, 2.0, 0.35)), 0.1, 0.4) + + +def ballistic(): + """Падающая баллистика: нарастающий визг-свист и рёв обтекания.""" + d = 4.0 + x = t(d) + f = 300 * (1 + 7 * (x / d) ** 2) + scream = band(noise(d), 100, 9000) + scream = peak(scream, 1200, 3) * 0.6 + np.sin(2 * np.pi * np.cumsum(f) / SR) * 0.35 + roar = band(brown(d), 20, 200) * 1.5 + amp = (x / d) ** 1.5 + return fade(norm(reverb((scream + roar) * (0.15 + amp), 2.5, 0.35)), 0.3, 0.2) + + +def sonic(): + """Двойной хлопок ударной волны с долгим эхом.""" + d = 0.5 + x = np.zeros(int(SR * d)) + for at in (0.0, 0.11): + i = int(SR * at) + k = int(SR * 0.012) + x[i:i + k] += np.linspace(1, -1, k) + x = band(x, 20, 6000) + band(noise(d), 30, 300) * env(d, 0.005, 0.15) * 0.6 + return norm(reverb(x, 4.0, 0.55, dark=2500)) + + +# ---------------------------------------------------------------- пуски +def launch_patriot(): + """Резкий хлопок, затем рвущийся рёв, уходящий вверх, долгое эхо.""" + d = 4.5 + crack = band(noise(0.05), 800) * env(0.05, 0.0005, 0.01) * 3 + roar = (band(noise(d), 120, 6000) * 0.8 + band(brown(d), 25, 250) * 1.8) * env(d, 0.05, 1.1) + roar += band(crackle(d, 1400, 0.002), 500, 7000) * env(d, 0.05, 0.8) * 0.8 + return norm(reverb(mix(crack, roar), 3.5, 0.45)) + + +def eject(depth): + """Холодный старт: глухой удар газа «ТХУМП».""" + d = 1.2 + x = t(d) + thump = np.sin(2 * np.pi * np.cumsum(depth * (1 + 2 * np.exp(-x * 20))) / SR) * env(d, 0.003, 0.18) + gas = band(noise(d), 60, 900) * env(d, 0.01, 0.15) * 0.9 + return norm(reverb(thump * 1.6 + gas, 3.0, 0.4, dark=1500)) + + +def ignite(depth, d): + """Зажигание маршевого двигателя: огромный рёв, суббас, треск, гулкое эхо.""" + x = t(d) + swell = np.minimum(x / 0.25, 1.0) * np.exp(-np.maximum(x - 0.6, 0) / (d / 3.2)) + sub = np.sin(2 * np.pi * np.cumsum(depth * (1 + 0.1 * smooth(d, 3))) / SR) + body = band(brown(d), 15, 220) * 2.5 + band(noise(d), 100, 4500) * 0.9 + sub * 0.8 + body += band(crackle(d, 2200, 0.0025), 400, 6000) * 1.0 + return norm(reverb(body * swell, 5.0, 0.5, dark=3000)) + + +def launch_pantsir(): + """Быстрый свистящий старт: шипение с ростом тона.""" + d = 2.6 + x = t(d) + hiss = peak(band(noise(d), 1500, 9000), 3500 + 2500 * np.clip(x[len(x) // 2] / d, 0, 1), 2) * 1.2 + whoosh = band(noise(d), 300, 3000) * env(d, 0.02, 0.5) + body = (hiss * env(d, 0.01, 0.7) + whoosh + band(brown(d), 40, 200) * env(d, 0.01, 0.4)) + return norm(reverb(body, 2.5, 0.35)) + + +# ---------------------------------------------------------------- пушки +def gun(shots, interval, thud_hz, crack_hi, room): + d = shots * interval + 0.35 + x = np.zeros(int(SR * d)) + for i in range(shots): + s = int(SR * i * interval) + k = int(SR * 0.25) + tt_ = np.arange(k) / SR + thud = np.sin(2 * np.pi * thud_hz * tt_ * (1 + 0.5 * np.exp(-tt_ * 60))) * np.exp(-tt_ * 25) + crack = band(rng.standard_normal(k), crack_hi) * np.exp(-tt_ * 120) * 0.9 + x[s:s + k] += (thud * 1.2 + crack) * rng.uniform(0.85, 1.0) + return norm(reverb(x, room, 0.35)) + + +# ---------------------------------------------------------------- взрывы +def blast(size): + """Взрыв: хлопок, суббас, рокот, треск обломков, долгое эхо (size 0..1).""" + d = 3.0 + 3.0 * size + x = t(d) + crack = band(noise(0.08), 400) * env(0.08, 0.0005, 0.02) * 2.5 + sub = np.sin(2 * np.pi * np.cumsum(45 - 22 * np.minimum(x / 1.5, 1)) / SR) * env(d, 0.004, 0.6 + size) + rumble = band(brown(d), 15, 160 + 200 * (1 - size)) * env(d, 0.01, 1.0 + 1.5 * size) * 2.0 + debris = band(crackle(d, 300, 0.003), 800, 6000) * env(d, 0.05, 0.8) * 0.5 + body = mix(crack, sub * (1.0 + size), rumble, debris) + return norm(reverb(body, 3.0 + 3.0 * size, 0.5, dark=2500 if size > 0.5 else 4000)) + + +# ---------------------------------------------------------------- запись +SOUNDS = { + # событие: (функция, дальность слышимости в блоках) + "drone.shahed": (shahed, 220), + "drone.geran3": (geran3, 260), + "drone.lancet": (lancet, 120), + "drone.cruise": (cruise, 320), + "drone.rocket": (rocket, 420), + "drone.ballistic": (ballistic, 700), + "boom.sonic": (sonic, 900), + "launch.patriot": (launch_patriot, 600), + "launch.s400_eject": (lambda: eject(55), 350), + "launch.s400": (lambda: ignite(38, 6.0), 800), + "launch.s500_eject": (lambda: eject(38), 450), + "launch.s500": (lambda: ignite(27, 7.5), 1000), + "launch.pantsir": (launch_pantsir, 450), + "gun.gepard": (lambda: gun(3, 0.055, 70, 1800, 1.6), 380), + "gun.pantsir": (lambda: gun(6, 0.034, 95, 2600, 1.4), 350), + "blast.big": (lambda: blast(1.0), 900), + "blast.medium": (lambda: blast(0.55), 600), + "blast.air": (lambda: blast(0.25), 700), +} + + +def write_ogg(path, x): + pcm = (np.clip(x, -1, 1) * 32767).astype(np.int16) + with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as tmp: + wav = tmp.name + with wave.open(wav, "wb") as w: + w.setnchannels(1) + w.setsampwidth(2) + w.setframerate(SR) + w.writeframes(pcm.tobytes()) + subprocess.run(["ffmpeg", "-y", "-loglevel", "error", "-i", wav, "-ac", "2", "-c:a", "vorbis", "-strict", "-2", "-q:a", "5", path], check=True) + os.unlink(wav) + + +def main(): + out = os.path.join(ROOT, "sounds") + os.makedirs(out, exist_ok=True) + events = {} + for event, (fn, distance) in SOUNDS.items(): + name = event.replace(".", "_") + write_ogg(os.path.join(out, name + ".ogg"), fn()) + events[event] = {"sounds": [{"name": f"airdef:{name}", "attenuation_distance": distance}]} + with open(os.path.join(ROOT, "sounds.json"), "w") as f: + json.dump(events, f, indent=1) + print(f"{len(SOUNDS)} звуков -> {out}") + + +if __name__ == "__main__": + main()