2
0
mirror of https://github.com/zumbiepig/Starlike-Client-src.git synced 2025-06-08 04:24:48 +00:00

Compare commits

...

No commits in common. "d15d5b30d7fcf8f35b45a6483dacb125a45915ca" and "c4011761f1987c680ccdb236f26570bfd4f8bcbc" have entirely different histories.

6 changed files with 73 additions and 22 deletions

View File

@ -3,6 +3,8 @@ on: [push, pull_request]
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@ -22,20 +24,43 @@ jobs:
- name: Generate offline download
run: bash ./MakeOfflineDownload.sh
- name: Upload web
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: web
path: |
javascript/index.html
javascript/favicon.png
javascript/classes.js
javascript/assets.epk
javascript/classes.js
javascript/classes.js.map
javascript/favicon.png
javascript/index.html
retention-days: 1
compression-level: 9
- name: Upload offline
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: offline
path: javascript/Starlike_Client_Offline.html
retention-days: 1
compression-level: 9
- name: Prepare GitHub Pages
if: github.ref == 'refs/heads/main'
run: |
mkdir -p ${{ runner.temp }}/gh-pages
cp -t ${{ runner.temp }}/gh-pages \
javascript/assets.epk
javascript/classes.js
javascript/classes.js.map
javascript/favicon.png
javascript/index.html
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ runner.temp }}/gh-pages
force_orphan: true
user_name: 'github-actions[bot]'
user_email: '41898282+github-actions[bot]@users.noreply.github.com'
commit_message: 'github-actions: deploy'

4
.gitignore vendored
View File

@ -1,7 +1,5 @@
.gradle
.settings
.classpath
.project
build
bin
proxyServer/bin
@ -15,10 +13,8 @@ desktopRuntime/_eagstorage*
desktopRuntime/filesystem/*
desktopRuntime/downloads/*
desktopRuntime/screenshots/*
javascript/assets.epk
javascript/classes.js
javascript/classes.js.map
javascript/Starlike_Client_Offline.html
javascript/Starlike_Client_Offline_Signed.html
/.metadata/

27
README.md Normal file
View File

@ -0,0 +1,27 @@
### Java 17 is recommended for compiling to TeaVM
### Java 8 or greater is required for the desktop runtime
**Most Java IDEs will allow you to import this repository as a gradle project for compiling it to JavaScript.**
Java must be added to your PATH!
**To compile the web client:**
1. Run `CompileEPK`
2. Run `CompileJS` (or the `generateJavaScript` gradle task in your IDE)
3. Check the "javascript" folder
**To compile an offline download:**
1. Run `CompileEPK`
2. Run `CompileJS` (or the `generateJavaScript` gradle task in your IDE)
3. Run `MakeOfflineDownload`
4. Check the "javascript" folder
**To use the desktop runtime:**
1. Import the Eclipse project in "desktopRuntime/eclipseProject" into your IDE
2. Open one of the .java files from the source folders (workaround for a bug)
3. Run/Debug the client with the included "eaglercraftDebugRuntime" configuration
**See the main 1.8 repository's README for more info**
The source codes of EaglercraftXBungee and EaglercraftXVelocity are not included here.

View File

@ -1,15 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8

View File

@ -0,0 +1,18 @@
{
"parent": "builtin/generated",
"textures": {
"layer0": "starlike:items/normal_drill"
},
"display": {
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 748 B