├── .github ├── weblate_pull_request_template.md └── workflows │ ├── pages.yml │ └── weblate-pull-request.yml ├── .gitignore ├── .vscode └── extensions.json ├── FUNDING.yml ├── LICENSE.txt ├── README.md ├── docs └── header.png ├── index.html ├── locales ├── de.json ├── en.json ├── fr.json ├── ja.json ├── pt.json ├── ru.json ├── th.json ├── tr.json ├── vi.json └── zh_CN.json ├── package-lock.json ├── package.json ├── public ├── CNAME ├── apple-touch-icon.png ├── favicon-192x192.png ├── favicon-512x512.png ├── favicon-maskable.svg ├── favicon-monochrome.svg ├── favicon.svg ├── icon.png ├── images │ ├── modrinth.svg │ ├── spawn_icon.png │ └── wave.png ├── robots.txt └── shadow.png ├── scripts ├── createVanillaZips.py └── requirements.txt ├── src ├── App.vue ├── BuildIn │ ├── MultiNoiseBiomeParameterList.ts │ └── VanillaItems.ts ├── MapLayers │ ├── BiomeLayer.ts │ └── Graticule.ts ├── assets │ └── kofi.svg ├── components │ ├── BiomeTooltip.vue │ ├── Collapsable.vue │ ├── DatapackEntry.vue │ ├── DatapackList.vue │ ├── Faq.vue │ ├── Footer.vue │ ├── LocaleChanger.vue │ ├── MainMap.vue │ ├── MapButton.vue │ ├── MenuButtons.vue │ ├── MinecraftText.vue │ ├── Popup.vue │ ├── SettingsPanel.vue │ ├── Sidebar.vue │ ├── TipMessage.vue │ ├── YSlider.vue │ ├── dropdown │ │ ├── Dropdown.vue │ │ ├── DropdownEntry.vue │ │ ├── DropdownIconEntry.vue │ │ ├── DropdownRecentsEntry.vue │ │ ├── FindBiomeDropdown.vue │ │ ├── ListDropdown.vue │ │ ├── ListDropdownEntry.vue │ │ ├── ListDropdownGroup.vue │ │ ├── OpenDropdown.vue │ │ └── StructureDropdown.vue │ └── modrinth │ │ ├── ModrinthEntry.vue │ │ └── ModrinthMenu.vue ├── main.ts ├── stores │ ├── useBiomeSearchStore.ts │ ├── useDatapackStore.ts │ ├── useLoadedDimensionStore.ts │ ├── useRecentStore.ts │ ├── useSettingsStore.ts │ └── useUiStore.ts ├── style.css ├── util.ts ├── util │ ├── CachedBiomeSource.ts │ ├── EventTracker.ts │ ├── SpawnTarget.ts │ ├── TextComponent.ts │ └── base64ArrayBuffer.ts ├── vite-env.d.ts └── webworker │ └── MultiNoiseCalculator.ts ├── tsconfig.json ├── tsconfig.node.json ├── vanilla_datapack_base ├── data │ ├── c │ │ └── worldgen │ │ │ ├── biome_colors.json │ │ │ └── structure_icons.json │ ├── jacobsjo │ │ └── tags │ │ │ └── worldgen │ │ │ └── structure │ │ │ └── hidden_from_map.json │ └── minecraft │ │ └── worldgen │ │ └── density_function │ │ ├── overworld │ │ └── snowcapped_surface.json │ │ ├── overworld_amplified │ │ └── snowcapped_surface.json │ │ └── overworld_large_biomes │ │ └── snowcapped_surface.json └── pack.png └── vite.config.ts /.github/weblate_pull_request_template.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | Updated translations from `weblate` 3 | 4 | ## Updated Files 5 | 6 | -------------------------------------------------------------------------------- /.github/workflows/pages.yml: -------------------------------------------------------------------------------- 1 | # Simple workflow for deploying static content to GitHub Pages 2 | name: Deploy site to GitHub Pages 3 | 4 | on: 5 | # Runs on pushes targeting the default branch 6 | push: 7 | branches: ["main"] 8 | 9 | # Allows you to run this workflow manually from the Actions tab 10 | workflow_dispatch: 11 | 12 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 13 | permissions: 14 | contents: read 15 | pages: write 16 | id-token: write 17 | 18 | # Allow one concurrent deployment 19 | concurrency: 20 | group: "pages" 21 | cancel-in-progress: true 22 | 23 | jobs: 24 | deploy: 25 | environment: 26 | name: github-pages 27 | url: ${{ steps.deployment.outputs.page_url }} 28 | runs-on: ubuntu-latest 29 | steps: 30 | - name: Checkout 31 | uses: actions/checkout@v3 32 | - name: Set up Python 33 | uses: actions/setup-python@v4 34 | with: 35 | python-version: '3.10' 36 | - name: Install Python dependencies 37 | run: pip install -r scripts/requirements.txt 38 | - name: Set up Node 39 | uses: actions/setup-node@v3 40 | with: 41 | node-version: 18 42 | cache: 'npm' 43 | - name: Install Node dependencies 44 | run: npm install 45 | - name: Create vanilla datapack zip files 46 | run: npm run createZips 47 | - name: Collect Dependencies 48 | run: yarn licenses generate-disclaimer > public/OTHER_LICENSES.txt 49 | - name: Build 50 | run: npm run build 51 | - name: Setup Pages 52 | uses: actions/configure-pages@v3 53 | - name: Upload artifact 54 | uses: actions/upload-pages-artifact@v3 55 | with: 56 | # Upload dist repository 57 | path: './dist' 58 | - name: Deploy to GitHub Pages 59 | id: deployment 60 | uses: actions/deploy-pages@v4 61 | -------------------------------------------------------------------------------- /.github/workflows/weblate-pull-request.yml: -------------------------------------------------------------------------------- 1 | name: Create Pull Request for Weblate Translations 2 | 3 | on: 4 | push: 5 | branches: ["weblate"] 6 | 7 | workflow_dispatch: 8 | 9 | # Allow one concurrent deployment 10 | concurrency: 11 | group: "weblate" 12 | cancel-in-progress: true 13 | 14 | jobs: 15 | deploy: 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Checkout 19 | uses: actions/checkout@v3 20 | with: 21 | fetch-depth: 0 22 | - name: Create Pull Request 23 | uses: devops-infra/action-pull-request@v0.5.5 24 | with: 25 | github_token: ${{ secrets.GITHUB_TOKEN }} 26 | source_branch: weblate 27 | target_branch: main 28 | title: Updated Translations from Weblate 29 | template: .github/weblate_pull_request_template.md 30 | label: weblate 31 | get_diff: true 32 | allow_no_diff: false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | public/vanilla_datapacks/ 2 | public/OTHER_LICENSES.txt 3 | 4 | # Logs 5 | logs 6 | *.log 7 | npm-debug.log* 8 | yarn-debug.log* 9 | yarn-error.log* 10 | pnpm-debug.log* 11 | lerna-debug.log* 12 | 13 | node_modules 14 | dist 15 | dist-ssr 16 | *.local 17 | *.cpuprofile 18 | 19 | # Editor directories and files 20 | .vscode/* 21 | !.vscode/extensions.json 22 | .idea 23 | .DS_Store 24 | *.suo 25 | *.ntvs* 26 | *.njsproj 27 | *.sln 28 | *.sw? 29 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [jacobsjo] -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright 2021 Jochen Jacobs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [](https://github.com/jacobsjo/mc-datapack-map/actions) 2 | [](https://map.jacobsjo.eu) 3 | [](https://github.com/jacobsjo/mc-datapack-map/issues) 4 | [](https://github.com/sponsors/jacobsjo) 5 | [](https://weblate.catter.dev/projects/jacobsjo/mc-datapack-map/) 6 | 7 | 8 | ## Use online at https://map.jacobsjo.eu 9 | 10 | -------- 11 | 12 | # MC Datapack Map 13 | 14 | | | | 15 | |---|---| 16 | | [](https://map.jacobsjo.eu) | A Leaflet based map to display Minecraft biome layouts and structures of vanilla and using worldgen datapacks. | 17 | | | | 18 | 19 |  20 | 21 | # Translations 22 | Translate at https://weblate.catter.dev/projects/jacobsjo/mc-datapack-map/ 23 | 24 | # Contributing 25 | Contributions are welcome! For significant feature additions please ask beforehand by opening an issue or on discord. 26 | 27 | ## Setup dev environment: 28 | 29 | 1. Install python dependencies: `pip install -r requirements.txt` 30 | 2. Install node dependencies: `npm i` 31 | 3. Create vanilla datapack zip files: `npm run createZips` 32 | 4. Start dev server: `npm run dev` and open http://localhost:5173/ 33 | - **dev environment requires a [browser supporting ECMAScript modules in webworkers](https://caniuse.com/mdn-api_worker_worker_ecmascript_modules)** 34 | 35 | 5. Build final page: `npm run build` 36 | 6. Test build version: `npm run preview` and open https://localhost:4173/ -------------------------------------------------------------------------------- /docs/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jacobsjo/mc-datapack-map/86d8f729324912092b64778907ad0c32f440e961/docs/header.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |Loading...
33 |