1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 14:59:14 +00:00

Java compiler for GeyserOptionalPack (#65)

* inital commit

* i think pr is ready now

* wait now its ready

* Update copyright year

* add license to each file

* Update pack version

* copy license / mojang disclaimer to pack

* Update mojang.md

* test actions

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update .gitignore

* clean up some code

* change "extracting" to copying

* Update build.yml

* Add new compilation instructions

* update developer documentation for new compiler

* make some code more readable

* some more code cleanup

* Code cleanup and tweaks

* Move to gradle action for running

* Cleanup run folder

* Update build action to use run folder

* Lets not bother with the run folder

* Download the specified version from mojang

* Remove old run folder

---------

Co-authored-by: rtm516 <ryantmilner@hotmail.co.uk>
This commit is contained in:
LetsGoAway
2025-08-28 07:03:07 +08:00
committed by GitHub
parent 1f9be92e16
commit ddf7cbcf01
95 changed files with 2432 additions and 1033 deletions

View File

@@ -19,11 +19,13 @@ Download: [GeyserOptionalPack.mcpack](https://download.geysermc.org/v2/projects/
- 2x2 crafting grid while in creative mode
- Tick-delay and rename fields in the command block menu
- Structure block options that do not exist on Java
- Removes the (sub)title background for attack cooldowns
### Manually building
### Manually compiling the pack
Run `./prepare_pack.sh` in this directory and the necessary files from the vanilla jar will be copied to the required directories. Zip up and you're set. Optionally, you may compress the output JSON files by running `./prepare_pack.sh -jc`. This should not be done when planning to contribute. You may then package with `zip GeyserOptionalPack.mcpack -r . -x ".*" Jenkinsfile required_files.txt prepare_pack.sh`.
1. Clone the repo to your computer
2. Run `gradlew build`.
3. Run the pack compiler using `java -jar build/libs/GeyserOptionalPackCompiler.jar`
4. When it finishes compiling, it will output the `GeyserOptionalPack.mcpack`.
### Legal