Skip to content

✨ add horizontal zoom in/out #1064

✨ add horizontal zoom in/out

✨ add horizontal zoom in/out #1064

Workflow file for this run

name: datapack
on: [push]
env:
ANIMATED_JAVA_URL: https://github.com/Animated-Java/animated-java/releases/download/v1.4.2/animated_java.js
BLOCKBENCH_URL: https://github.com/JannisX11/blockbench/releases/download/v4.11.0/Blockbench_4.11.0.deb
FABRIC_API: https://cdn.modrinth.com/data/P7dR8mSH/versions/HXzEJYgV/fabric-api-0.100.1%2B1.21.jar
FABRIC_SERVER: https://meta.fabricmc.net/v2/versions/loader/1.21/0.15.11/1.0.1/server/jar
PACKTEST: https://cdn.modrinth.com/data/XsKUhp45/versions/sQSunYHv/packtest-1.8-beta3-mc1.21.jar
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-yarn
- name: Run lint scripts on datapacks
run: yarn start lint.custom.datapacks
env:
FORCE_COLOR: 2
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-animated-java-exports
timeout-minutes: 4
- run: echo "$(cat blockbench.log)"
if: ${{ failure() || cancelled() }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Download server files
run: |
curl -o server.jar $FABRIC_SERVER
mkdir mods
curl -o mods/fabric-api.jar $FABRIC_API
curl -o mods/packtest.jar $PACKTEST
- name: Copy packs to world
run: |
mkdir -p world
cp -r datapacks world
- name: Run test server
run: |
java -Xmx2G -Dpacktest.auto -Dpacktest.auto.annotations -jar server.jar nogui