Repository navigation
Slipway 0.2.0 (Minecraft 26.3, Fabric)
Pre-releaseWater, and rules for what makes a vessel go. Slipway is moving physics block structures for Minecraft 26.3 (Fabric): build a ship out of blocks, assemble it at its helm, and fly or sail it. In 0.2.0 vessels float, sink and dive by their hull and weight, and a new vessel moves with its sails and flies on hot air instead of getting thrust and hover for nothing.
AI-built proof of concept. Slipway is written almost entirely by AI coding agents through GitHub Copilot, from a design and goals by Tim Stewart, who reviews and playtests it. It is pre-1.0 and maintained on a best-effort basis. See the README.
Added
- Vessels float. Water (and lava) acts on every vessel that does not hover: it lifts what the vessel displaces and resists its movement. A raft of planks floats, a block of stone sinks. What counts is the whole hull: the air inside an open hull is kept dry by its walls and displaces water too, so a hull of stone or iron floats if it is large enough. A hull that heels is pushed back upright.
- Sinking. Load a hull beyond what it can displace, or heel it until its rim dips, and the water runs in over the rim and the vessel goes down. A hull of wood comes back up when its rim is clear again; one of stone stays on the bottom.
- Boats and submarines. With hover off the helm drives a floating vessel, and the water gives it a keel, so it runs straight and turns instead of sliding. A closed cabin is always dry and always displaces; a closed hull that is a little lighter than the water it displaces is a submarine.
- Dry inside. In air that a hull keeps the water out of, players, mobs and items are not in the water: no swimming, no drowning, no water fog, and the water's surface is not drawn across the inside of the hull. Disassembling a vessel in the water leaves its hold and cabin dry.
- Survival rules (the setting
survivalRules, on by default; they hold in creative mode too):- Sails. The helm alone moves any vessel slowly. Every block of wool with open air on two opposite sides is a sail and adds thrust; how fast that makes the vessel depends on its weight. A fin of wool in open water works the same way under water.
- Hot air. Hover only holds a vessel up when it has the lift for its weight. Lift comes from air the vessel keeps from rising away (a canopy of wool, open below, or a closed room) over lit campfires. Put the fires out and it comes down.
- Ballast. In water the ascend and descend keys trim a vessel by up to 30% of its weight; that is how a submarine dives and comes up.
- The pilot's display and
/slipway infoshow the sails and the top speed they give, the lift as a share of the weight, and how much of its weight the hull can displace. - Vessels you already have keep flying: one saved by an earlier version stays free of the rules. An operator switches a vessel with
/slipway mode <id> free true|false. SetsurvivalRulesto false inconfig/slipway.jsonto get the old behaviour for new vessels. The numbers (helmAcceleration,sailThrust,hotAirLift,burnerVolume,ballastTrim) are settings; which blocks are sails and burners are the block tagsslipway:sailsandslipway:burners.
- Ladders can be climbed on a vessel, at rest and under way.
- Kelp and sea grass never become part of a vessel, and a vessel can be disassembled onto them.
Changed
- New vessels are no longer fast and weightless for nothing. A ship built like the ones before, with a helm and no sails, crawls; one without hot air does not hover: assembled on the ground it stays there, assembled in the air it falls, assembled on water it floats.
- A vessel without hover no longer falls through water: it floats or sinks by its weight. A hovering vessel behaves as before.
- Use the same version on client and server. The packets changed; a 0.1.x client and a 0.2.0 server do not work together.
Fixed
- Jumping on a ship. On a ship that heeled, banked, bobbed or stood at an angle to the world, a jump stopped after its first tick; on a ship going down, every jump was counted as a fall and hurt in survival. A jump on a deck is now the jump it is on the ground.
- No bright patch of sea around a ship with windows, under shaders. With Distant Horizons and a shader pack the water of a whole chunk looked like a mirror of the sky wherever the chunk held glass in water. The cause is in how Iris and Distant Horizons hand the graphics state to each other on Minecraft 26.2 and later; it shows without Slipway too. Slipway now puts the state right after Distant Horizons has drawn.
- The pilot's view turns smoothly with the ship. At the helm, every turn made the picture judder: the view turned twenty times a second while the ship was drawn turning in every frame.
- An entity in the air is no longer lifted over an edge it bumps into; stepping up works from the ground only, as in the game.
Known limits
- The survival rules know no wind (a sail pushes wherever the helm asks) and no fuel (a lit campfire heats for ever), and what stands on a deck weighs nothing for thrust and lift. The numbers are first values.
- The water is flat and still for a vessel: no waves, no current. Entities do not weigh a vessel down. Seen from inside a submerged cabin, the sea outside looks like clear air.
- A hull that fills a canal from wall to wall, with no water along either side, gets no water under it at assembly and can be left standing in its own gap: leave a block of water along one side.
- Of the climbable blocks, ladders are what is tested.
- The full list is in the README, "Known limitations".
Requirements
- Minecraft 26.3, Fabric Loader 0.19.5+, Fabric API, Java 25
- Optional: Sodium, Iris (shaders), Distant Horizons (3.3.3 or newer with shaders)
- Worlds from 0.1.x load, and the vessels in them keep flying as they did. Install the same version on client and server.
Checked for this release
- Full build (
gradlew clean build) on Windows: 144 unit tests, 70 server GameTests and 19 client GameTest scenarios on the real client with Sodium 0.9.2, Iris 1.11.6 (Bliss shaders) and Distant Horizons 3.3.4-tellus-fork.7. It ran one commit before the tag; the tagged commit changes documentation only and builds the same jar, byte for byte. - That build was the sixth. The five before it each failed one or two client scenarios, a different one each time, for reasons in the test setup (far terrain still arriving between two pictures that are compared, the test client drawing only one frame a tick, a closed world looked at before Distant Horizons' timer had let go of it). Those are fixed in the tests; the mod's code was the same in the last five builds.
- The jar in production Minecraft, every mixin applied, a vessel assembled, a chest opened by a block event and a vessel set loose, in four combinations: Fabric API only; with Sodium and Iris; with those plus Distant Horizons 3.3.4; with those plus Distant Horizons 3.3.4-tellus-fork.7.
- A harbour of five vessels built under the survival rules (raft, sailing boat, stone barge with sails, submarine, hot-air balloon): each floats, sails, dives or flies as its build allows and moors again block for block.
- A code review of the mod code changed since 0.1.3 found no crash, block loss or security problem, and two defects that are fixed in this release, each with a test: a vessel rising beside a player could add to that player's fall damage, and one block of water on a ship that stood on land became a hull-sized block of water at assembly.
- Unit tests and server GameTests also run in CI on Linux.
- Not checked: the 20-minute flight soak (the short one ran), multiplayer under the survival rules (the multiplayer scenario flies vessels that are free of them), climbable blocks other than ladders, macOS.
Full list of changes: CHANGELOG.md.
Build provenance
The jar was built from the tagged commit, f95156b. A second build gave the same file, byte for byte.
SHA-256: 574b7c50b30470ed208106606d88db7e14bcc6799631a258da49c90cdb63db1e