Commit Graph

20 Commits

Author SHA1 Message Date
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
Jason Penilla
55e62621e6 Initial lithium compatibility on Fabric (#9)
* Initial lithium compatibility on Fabric

* Update readme

* Add lithium test run

* Revert editorconfig change
2024-09-02 13:43:07 -07:00
Jason Penilla
426d2ec30c gen ide runs 2024-08-07 00:15:56 -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
a87cf17bd1 Setup multi-project build 2024-08-06 21:49:42 -07:00
Jason Penilla
f463fbeb23 Initial NeoForge port
Gets into world with no other mods. Currently nukes a bunch of API calls.
2024-08-06 21:49:10 -07:00
Spottedleaf
bfaddd34fc Update to ConcurrentUtil 0.0.2, and refactor I/O + worker pool
With ConcurrentUtil 0.0.2, we can make all thread pools
(worker+I/O) have their thread counts configurable on the fly.

The new I/O system splits the compression/decompression work
from the I/O. The compression/decompression is ran on the worker
pool, while the I/O is ran on the I/O pool. This allows for
better cpu utilisation control on systems with low core counts,
and allows higher read/write speeds on systems with higher
core counts.

Additionally, the I/O scheduling for thread counts > 1 is also
improved as it longer selects a thread to schedule based on the
chunk location.
2024-08-06 21:25:08 -07:00
Spottedleaf
6a2c6d27df Update build system, relocate libraries
We should be relocating our libraries just in case there are
other mods that ship the same libraries, although I doubt
any actually will.
2024-08-04 04:22:38 -07:00
Spottedleaf
fff73cff5b Add proper moonrise configuration
The config is stored under `moonrise.yaml` in the working
directory. Comments document each option.
2024-06-11 10:11:32 -07:00
Jason Penilla
0fa6d0710f Clean up concurrentutil dependency declaration 2024-05-26 12:39:39 -07:00
Jason Penilla
86e91df061 Disable legacy mixin ap 2024-05-26 12:30:04 -07:00
Jason Penilla
ef9673d4c0 Make output file names less confusing 2024-05-26 11:43:19 -07:00
Jason Penilla
d03938eaf7 Fix actions build 2024-05-26 11:31:13 -07:00
Spottedleaf
63a54a6f8a Port Chunk System Rewrite 2024-05-25 20:56:05 -07:00
Spottedleaf
798d8f8384 Move ConcurrentUtil to own project
Currently, requires compiling separately and installing to
maven local

https://github.com/Spottedleaf/ConcurrentUtil
2024-05-23 07:13:03 -07:00
Spottedleaf
028a759a6e Update to 1.20.6 2024-05-22 14:14:04 -07:00
Spottedleaf
602323d3b8 Update to 1.20.3
Change all interfaces used in mixins to have methods prefixed
with "moonrise" or "starlight", to remove risk of conflicting
with Vanilla or other mods methods

Add new patch for optimising ticking block entity removal
 - Similar to Paper's patch for this but uses an in-place removal
   method

Remove most of the fluid mixins:
 - May not be effective, but are a big maintenance problem
2023-12-06 23:28:34 -08:00
Spottedleaf
7c753abdb6 Initial Commit 2023-08-11 00:22:07 -07:00