Spottedleaf
f7d98327e0
Move ChunkSystem class to PlatformHooks
...
This is required for Paper's hard fork, as the Moonrise patch
needs to replace the base implementation of the chunk system
hooks.
2024-12-16 10:09:43 -08:00
Jason Penilla
271a58d2af
Exclude transitive deps provided by Minecraft
2024-12-04 10:17:10 -07:00
Jason Penilla
6b4139a5ab
add neoforge test
2024-12-03 11:58:07 -07:00
Jason Penilla
7863c556f9
fix archive extension
2024-12-03 11:57:48 -07:00
Jason Penilla
c0b02ea709
fix jarjar being missing from final neoforge jar
2024-12-03 11:57:48 -07:00
Jason Penilla
882d733203
More work on runs
2024-12-03 11:57:48 -07:00
Jason Penilla
9b6982bf65
Work on fixing runs
2024-12-03 11:57:48 -07:00
Jason Penilla
5635373cff
Replace AT task dependency workaround
2024-12-03 11:57:47 -07:00
Jason Penilla
76d2c36481
WIP: Use ModDevGradle instead of archloom for common and NeoForge
2024-12-03 11:57:47 -07:00
Jason Penilla
ca791ddc74
update metadata for 1.21.4
2024-12-03 11:57:33 -07:00
Spottedleaf
7f08c11a11
Start update to 1.21.4
...
Remove the EnderDragon entity retrieval inside ChunkEntitySlices
and move it to PlatformHooks#addToGetEntities for fabric (neoforge
already did this).
2024-12-03 10:48:55 -08:00
Spottedleaf
d44fa1f8aa
Move YamlConfig to own project
2024-11-25 09:17:11 -08:00
Jason Penilla
d9442c1492
Update lithium overrides
2024-11-17 10:28:38 -07:00
Jason Penilla
01152eec95
Update NeoForge lithium overrides
2024-11-16 17:34:44 -07:00
Jason Penilla
ea50ba38ea
Apply FerriteCore config overrides automatically
...
New versions of FC added this mechanism
closes #66
2024-11-05 16:12:37 -07:00
Spottedleaf
1e9a6504a1
Add world parameter to configAutoSaveInterval/configMaxAutoSavePerTick
...
Paper needs the world parameter to access the config values,
but in Moonrise we do not.
2024-10-24 08:29:57 -07:00
Spottedleaf
8af7bccdfd
Adjust PlatformHooks#convertNBT to take TypeReference
...
DataFixTypes has a limited number of types, which will limit its
usage on Paper.
2024-10-23 22:10:41 -07:00
Spottedleaf
5f9b3571f8
Fix compile
...
Did not implement the other half of changes required in the last
commit...
2024-10-23 21:36:36 -07:00
Jason Penilla
dad9a5c2eb
Update to 1.21.3 and update cloth config api
2024-10-23 10:34:20 -07:00
Spottedleaf
5c3e713be7
Misc changes reviewing 1.21.2 update for Paper
2024-10-22 09:30:56 -07:00
Spottedleaf
666c4cb1a3
Update to 1.21.2-rc1
2024-10-22 09:30:12 -07:00
Spottedleaf
4a748778dc
Update to 1.21.2-pre1
...
For collisions, need to check out the new applyEffectsFromBlocks
function and see if there are any improvements we can make.
For the chunk system, we need to implement async chunk saving.
The current async unload structure will not work, as it is designed
to only handle 1 pending save at any given time.
2024-10-22 09:28:49 -07:00
Jason Penilla
6724814c02
Apply Lithium overrides on NeoForge ( #57 )
...
* Apply Lithium overrides on NeoForge
closes #56
* Update readme
* Sort overrides
2024-10-22 09:20:40 -07:00
Jason Penilla
f32a08738e
Adjust min/max section optimizations ( #55 )
...
* Change min/max section optimisations
* Correctly init dimension type
We need to initialise the field as early as possible in the constructor
to avoid problems.
Also, do not cache min/max section in EntityLookup. Note that mods
that implement worlds with variable heights will not work still,
as the entity slices expect a fixed height.
* Cache calculated height values
---------
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com >
2024-10-17 18:02:22 -07:00
Spottedleaf
340ac4e8f5
Fix incorrect fluid pushing velocity
...
Forgot to re-assign the flow vector variable with the scaled
flow.
2024-09-30 04:39:05 -07:00
Spottedleaf
a4770aca2b
Fix performance regression in Entity#updateFluidHeightAndDoFluidPushing
...
The upper bounds from Vanilla are exclusive, but we were treating
them as inclusive which changes behavior and increases the number
of blocks read.
2024-09-30 04:39:05 -07:00
Spottedleaf
a8d4ce526b
Optimise block/chunk reading in Entity#updateFluidHeightAndDoFluidPushing
...
Like other block reading code, a lot of time gets spent retrieving
the chunk and retrieving the section which we can avoid.
2024-09-30 04:39:05 -07:00
Spottedleaf
77b977ac17
Reduce chunk tick iteration count
...
By only iterating over chunks that are both ticking AND near players
or marked for ticking, we can reduce the number of chunks to iterate
over in higher SD settings.
2024-09-30 04:39:04 -07:00
Jason Penilla
55ff406372
Update readme and mod metadata for Radium changes ( #18 )
2024-09-15 13:47:10 -07:00
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