How to Make a Fluid in Minecraft (Mod Maker guide)
Learn how to create a custom fluid that spreads across your Minecraft world using 9Minecraft Mod Maker right in your web browser. This step-by-step guide is easy for beginners.
Open the Studio and Workspace
Open 9Minecraft Mod Maker directly in your web browser. Since it runs online, there is nothing to install on your computer.
Create a new workspace or open an existing one. Make sure your workspace is set to one of the supported versions for fluids, which are NeoForge 26.1.2 or NeoForge 1.21.1.
Add the Fluid Element
Look for the green plus button in your workspace and click it to add a new mod element.
Go to the Blocks & items group and select the Fluid element. A fluid is a special block that acts like a liquid and will spread across the world.
Set Basic Fluid Properties and Visuals
Start by choosing the Fluid type. This controls map color, fall distance modifier, and whether the fluid behaves like water for extinguishing fires, supporting boating, hydrating crops, causing drowning, and allowing swimming.
You can change how the fluid looks by selecting a Tint type, which applies biome colors similar to water, grass, and leaves. Use a grayscale texture for the best results.
If you want your fluid to glow, set the Luminosity value. Setting Luminosity to 0 will disable the light.
Configure Physical Properties
Adjust the physical traits of your liquid. Set the Density value in kg/m3 units, and set the Temperature in Kelvin. The default value for Temperature is 300K, which is around room temperature, and higher values make it hotter.
Next, set the Viscosity, which controls how difficult it is to walk in the fluid.
Control How the Fluid Flows and Spreads
Set the Flow rate to decide how many ticks it takes for the fluid to spread to another block. Higher values make it move slower (defaults are 5 for water, 30 for lava in the Overworld, and 10 for lava in the Nether). Then set the Level decrease per block, which controls how much the fluid level drops as it spreads (1 for water and Nether lava, 2 for Overworld lava).
Adjust the Flow strength to decide how much the flowing fluid pushes entities, or use negative values to pull them in. Set the Slope find distance to control how far away a slope can be to attract the spreading fluid.
Check the Can sources multiply box if you want fluid sources to create more sources like an infinite water source.
Set Up the Fluid Bucket
If you want players to pick up your liquid, check the Enable bucket option.
The studio will autogenerate a bucket texture, which is also affected by your Tint type. If you want a custom look in the inventory, select an optional Bucket texture.
You can also choose a Bucket empty sound to play when the bucket is emptied. If you leave this blank, the default bucket sound will play.
Add Fog and Drip Particles
To change what players see while underwater, enable Has fog. You can adjust the Fog start distance and Fog end distance from the camera (fog closer to the camera looks more dense), and pick a Fog color override. You can also select a Render overlay texture to display on the screen while submerged.
If you want the liquid to drip through blocks, enable Spawn drip particles so it generates particles when above a solid block with air below it. Then choose which particle to show in the Drip particle field.
Add Conditions and Test Your Mod
For extra control, you can set a Flow condition to determine if the fluid can spread from a certain position, or add a procedure to Before replacing block, which runs before the fluid replaces non-air blocks like tall grass.
Save your fluid element. Click Build & run in the studio to test how your new liquid spreads and behaves in the game. When you are happy with it, export your mod file to use in Minecraft.
Tips
- If you use the Tint type option to color your fluid based on biomes, use a grayscale texture for the fluid to get the best visual results.
- Want your fluid to pull players and mobs toward the center instead of pushing them away? Set a negative number in the Flow strength field.
- To make a thick, slow-moving liquid like Overworld lava, set the Flow rate to 30 and the Level decrease per block to 2.
- Enable the Can sources multiply option if you want players to be able to build infinite sources with your custom fluid, just like water.