Commit Graph

21 Commits

Author SHA1 Message Date
Jason Penilla
d1f8e81913 Update gradle plugins and dependencies 2024-09-07 10:26:08 -07:00
Jason Penilla
89e9cd52e4 fix(build): mark incompatibility with correct version of starlight 2024-09-03 12:04:19 -07:00
Jason Penilla
cfc73390d8 Setup automated publishing to CF and Modrinth (#15)
* Configure mod-publish-plugin

* Configure actions to run mod-publish-plugin

To publish a release:
- Set the mod version to x.x.x(-beta.x) in gradle.properties and commit
- Create a git tag named vx.x.x(-beta.x) (note the v prefix)
- Push commit, push tag
- Manually create a (pre-)release for the tag on GitHub web ui. The release notes will be reused for modrinth and CF.

The release creation will trigger the workflow and publish to modrinth and CF.

The build script will check for when the version contains `-beta.` and mark it as a beta on modrinth and CF.

After publishing a release, it's good practice to bump the version and add -SNAPSHOT, i.e. after releasing 0.0.1, push a commit changing the version to 0.0.2-SNAPSHOT. This ensures people downloading action artifacts have correct version numbers.

This commit also updates gradle/actions/setup-gradle which removes the need for a separate wrapper validation action (it is included in setup-gradle v4)

* Set project IDs
2024-09-03 11:37:56 -07:00
Spottedleaf
37ca0e7b0d Config option to fix end island generation at far distances
See https://bugs.mojang.com/browse/MC-159283
2024-08-31 10:41:02 -07:00
Spottedleaf
920a7e8722 Move all config access to PlatformHooks
This will make porting these changes back to Paper much easier,
as we will just provide a PlatformHooks implementation.
2024-08-29 15:24:56 -07:00
Jason Penilla
c9fe98b213 Document and improve mod compatibility (#3) 2024-08-19 11:28:27 -07:00
Jason Penilla
58a51d914b Update compatible versions and build against 1.21.1 2024-08-18 20:42:56 -07:00
Spottedleaf
e68d381fc5 Avoid creating SliceShape when retrieving Voxelshape faces
SliceShape is not always the ideal shape, as sometimes the
face result is empty or full cube - but is represented as
SliceShape. Additionally, sometimes SliceShape should be
empty but isEmpty() is false.
2024-08-11 22:11:59 -07:00
Jason Penilla
cd5b6c037b Initial profiler commands (#2)
* Initial profiler commands

* copy paste

* leaf

* add todo

* command feedback

* Allow all commands in SP without cheats

* fix SP command check

* make client commands actual client commands

* Start client profile command implementation

* Remove ArgumentParser class

---------

Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2024-08-08 21:07:13 -07:00
Spottedleaf
09d9292f90 Adjust default config location
Place the config in config/
2024-08-08 16:22:52 -07:00
Spottedleaf
1053a51d1d Initial pass of implementing clobbered neoforge API 2024-08-07 05:34:01 -07:00
Spottedleaf
c3f31b1c90 Replace tabs with spaces 2024-08-07 02:09:40 -07:00
Spottedleaf
5bc1ba2feb Some neoforge compatibility
Drop farm block mixin, doesn't appear to be fixing streams
anymore so it's not useful.

Also, implement the force ticks api and make it thread-safe.
2024-08-07 02:06:18 -07:00
Spottedleaf
93eca8e994 Add configuration UI for some elements of the moonrise config
Mostly the important things: chunk load rates,
thread pool threads, and bug fix toggles.
2024-08-07 01:38:53 -07:00
Jason Penilla
5eb3f82cee fix neo dev run 2024-08-07 00:04:09 -07:00
Jason Penilla
d8f82ec045 setup config screen 2024-08-06 22:22:23 -07:00
Jason Penilla
b6456c44de move cu version to props 2024-08-06 21:49:45 -07:00
Jason Penilla
fb8cbbede9 coerce the mod into running at dev time (fabric & forge) 2024-08-06 21:49:45 -07:00
Jason Penilla
d93cc978e3 Add PlatformHooks 2024-08-06 21:49:44 -07:00
Jason Penilla
c8d18ca479 Split some mixins to their platforms 2024-08-06 21:49:44 -07:00
Jason Penilla
a87cf17bd1 Setup multi-project build 2024-08-06 21:49:42 -07:00