two quick changes i wanted to get out before 0.5 because 0.5 is mostly api improvements and refactors and i didn't want these changes waiting on that.
- renamed DEFAULT_BLUE_ICE so DEFAULT_NINE_EIGHT_FIVE to reflect it's incorrect friction value. the mode with that ID is still exactly the same but anything relying on the names (singleplayer commands) may break. there is a new DEFAULT_BLUE_ICE mode with the correct values.
- added a setting to change boat interpolation steps to 10. this is a bandaid fix for some of the janky boat sync in 1.21.3 but its not entirely clear exactly what effect this has across versions. use this carefully.
the interpolation setting is a newer type of setting which isn't in the same context as boat-related settings are (it is a patch that effects all boats, rather than the boat the client is riding). the reset packet WILL NOT reset it, that only happens when the client initially joins a server or when you manually set it to false. this will improve in 0.5 when the apis for settings contexts are in place but they will take a while to complete and they aren't necessary for releasing this feature.
the mixins introduced here make the 1.20.1 build no longer work on 1.20.4 so i need to figure out what version that function changed in and separate it into two builds. if you are looking for the 1.20.1 build that is why it is not here yet.
a fix and a feature:
- movement checks are now more properly disabled in singleplayer, you wont get your logs spammed with "moved wrongly" and "moved too quickly" anymore.
- air stepping allows the boat to step even if it collides against a block in the air, which removes some of the jank present when driving on curved and sloped surfaces ("boatutils walltaps"). See the packet api for how to enable this.
both are contributed by @microwavedram
UPDATE:
0.4.4_1.21.3-1.21.4
is a new build for 1.21.3 and 1.21.4, should hopefully work identical to the 1.21.1 build but if you're using quilt you may need to run the quilt beta because of the fabric loader version requirement.
a fix and a feature:
- movement checks are now more properly disabled in singleplayer, you wont get your logs spammed with "moved wrongly" and "moved too quickly" anymore.
- air stepping allows the boat to step even if it collides against a block in the air, which removes some of the jank present when driving on curved and sloped surfaces ("boatutils walltaps"). See the packet api for how to enable this.
both are contributed by @microwavedram
a small patch to allow servers to toggle boat collision between:
- vanilla
- ignore boats and players
- ignore all entities
there is a new packet for this as well as two modes:
NOCOL_BOATS_AND_PLAYERS
NOCOL_ALL_ENTITIES
patch to allow the mod to load on 1.21.1 versions 1.21.2 and onwards break the mixins, will likely require a third jar and code updates to support there is no 1.20.1-1.20.4 jar for this version since it is exactly the same except for the version bump
there was a build 0.4.2 that had broken air control, it is no longer available but servers should check for version ID 8
to prevent it from being used. this new build is version ID 9
mostly internal refactor, these should be the only two user facing differences:
- 1.21 support
- Removal of fixes for dedicated servers. OpenBoatUtils itself was never intended to run on servers, I may at some point port the testing commands over to a proper server mod, but its quite unlikely as it isn't something I would personally use. If you or someone you know is capable of writing server mods/plugins and you want to write your own to use OBU, take a look at the packet api.
Biggest Changes:
- per-block acceleration and jump force values that blend in the same way slipperiness does
- mc 1.20.1-1.20.4 (i've done testing but something might still break, please let me know if there are version-dependent bugs)
Full Changelog:
- actually fix dedicated servers this time (https://github.com/o7Moon/OpenBoatUtils/pull/51)
- vanilla slipperiness from registry (https://github.com/o7Moon/OpenBoatUtils/pull/52)
- ablilty to remove blocks from the slipperiness map (https://github.com/o7Moon/OpenBoatUtils/pull/53)
- fix vanilla slipperiness map and add mode series (https://github.com/o7Moon/OpenBoatUtils/pull/56)
- support 1.20.1-1.20.4 (https://github.com/o7Moon/OpenBoatUtils/pull/57)
- per-block settings and some modes (https://github.com/o7Moon/OpenBoatUtils/pull/58)
New features
- underwater control (using
minecraft:water
's slipperiness similar to air control) - surface water control
PARKOUR_BLUE
mode- /exclusiveboatmode command
- coyote time
- surface water jumping
- underwater swimming
Mode renames
this is a breaking change for singleplayer commands! the packet protocol is unaffected as it uses IDs instead of names.
BA
toBA_NOFD
BA_BLUE
toBA_BLUE_NOFD
and these modes are new, they take the names of the BA old modes but they do not have fall cancelling:BA
BA_BLUE
these modes may be changed or renamed again in the future if it is possible to disable fall damage without impacting slime bounces.
The wiki is currently out of date, and it may take a while to update