d87df614123a60c5022af3a2d83ccbf8b9ecad4f
VoxelShape coordiantes generally are an integer + a sum of powers of two between [-1, -3]. Most offsets are generally an integer. As a result, applying an offset to the coordinates generally results in an error of 0. However, coordinate inputs do not follow such trends. Thus, when applying an offset to the coordinate input, there may be some floating point error. By applying the offset to the VoxelShape coordinates, we can eliminate additional floating point error. This change also fixes the inconsistency when using the single AABB, as input coordinates were not offset when using the single AABB as the single AABB is already offset. Fixes https://github.com/Tuinity/Moonrise/issues/81 This specific issue is caused by floating point error resulting in the falling anvil's y position becoming around -8E-17 when it should be 0. While this is still very comfortably in the collision epsilon (1.0E-7), this results in the falling anvil's y block position to become -1 (as the block position is simply the floor of the coordinate).
Moonrise
Fabric/NeoForge mod for optimising performance of the integrated (singleplayer/LAN) and dedicated server.
Purpose
Moonrise aims to optimise the game without changing Vanilla behavior. If you find that there are changes to Vanilla behavior, please open an issue.
Moonrise is an official port of several important Paper patches. Listed below are notable patches:
- Starlight
- Chunk system rewrite
- Collision optimisations
- Entity tracker optimisations
- Random ticking optimisations
Known Compatibility Issues
| Mod | Status |
|---|---|
| Lithium | ✅ compatibleLithium optimises many of the same parts of the game as Moonrise, for example the chunk system. Moonrise will automatically disable conflicting parts of Lithium. This mechanism needs to be manually validated for each Moonrise and Lithium release. |
| FerriteCore | ✅ compatibleFerriteCore optimises some of the same parts of the game as Moonrise. Moonrise will automatically disable conflicting parts of FerriteCore. This mechanism needs to be manually validated for each Moonrise and FerriteCore release. |
| C2ME | ❌ incompatibleC2ME is based around modifications to the chunk system, which Moonrise replaces wholesale. This makes them fundamentally incompatible. |
Configuration
Moonrise provides documented configuration options for tuning the chunk system and enabling bugfixes in the config file $mcdir$/config/moonrise.yml.
Important configuration options may be configured from the mods menu as well.
Contact
Languages
Java
100%