Class HydraulicService
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
Hydraulic: what lets Bedrock players actually see the blocks and items that mods add.
public class HydraulicService
- Inheritance
-
HydraulicService
- Inherited Members
Remarks
Geyser translates the protocol, so Bedrock players can reach a modded server — but everything a mod adds is unknown to their client. Hydraulic, from GeyserMC too, converts that content into a Bedrock resource pack. It is the answer to "the mods exist, this ought to be possible", and it is: on Fabric.
Not on NeoForge. Hydraulic built for NeoForge until build 107 in February 2026; since then the
module is commented out of its settings.gradle.kts and every published build carries a
Fabric download only. Its one confirmed open bug is that the NeoForge client check was not
bypassed anyway. Offering it there would install a jar that cannot help.
Its authors call it early development, and the app says so rather than deciding for the user.
Constructors
HydraulicService(ModrinthService?)
public HydraulicService(ModrinthService? modrinth = null)
Parameters
modrinthModrinthService
Fields
FabricApiProjectId
Modrinth id for Fabric API, which Hydraulic requires and nothing else installs.
public const string FabricApiProjectId = "fabric-api"
Field Value
Remarks
Declared in Hydraulic's own fabric.mod.json as a hard dependency. Without it the mod
is simply not loaded, and the server starts looking healthy while Bedrock players see the
same untextured world as before.
Methods
CanEnable(ServerType)
Whether this server type can run Hydraulic at all.
public static bool CanEnable(ServerType type)
Parameters
typeServerType
Returns
GetLatestBuildAsync(CancellationToken)
The newest build that publishes a Fabric download, or null when none does.
public static Task<GeyserDownloadsApi.Artifact?> GetLatestBuildAsync(CancellationToken ct = default)
Parameters
Returns
Remarks
Walked backwards rather than taking the last build outright: builds are published per commit and a given one may carry no Fabric artifact at all. Taking the newest blindly is how the NeoForge situation was first misread. That walk now lives in GeyserDownloadsApi, which Floodgate for Paper uses as well.
InstallAsync(ServerConfig, IProgress<string>?, CancellationToken)
Installs Fabric API and Hydraulic into the server, verified, or throws saying why not.
public Task InstallAsync(ServerConfig config, IProgress<string>? log, CancellationToken ct = default)
Parameters
configServerConfiglogIProgress<string>ctCancellationToken
Returns
Remarks
Fabric API first: if that is unavailable for this Minecraft version there is no point downloading forty megabytes of Hydraulic to sit unloaded beside it.