paddy1245

a client side mod that turns the player into a mermaid maid when touch water and if on server other players cant see them

Kodari AI
KodariOct 7 at 1:27 pm 4
MermaidMaidTransform
A client-side Minecraft Fabric mod that transforms the player into a mermaid maid upon touching water. The mod renders a custom mermaid maid skin and tail model locally, replacing the default player appearance while submerged. Since the transformation is purely client-side, other players on servers will not see the change, maintaining vanilla appearance for everyone else. The mod detects water contact via player position checks and smoothly transitions between normal and mermaid forms with animated tail movement. It includes configurable options for tail color, transformation speed, and toggle keybinds. The mod is designed for Fabric 1.26.2 and requires no server-side installation, making it compatible with any multiplayer server.
  1. Create the Fabric 26.2 client-only mod scaffold.

  2. Detect when the local player is in water and enable a client-side mermaid-maid appearance state.

  3. Keep the appearance local; explain the server-side visibility limitation.

Created a Fabric 26.2 client-only mod that adds a mermaid tail, maid apron, and bow to your avatar while you’re in water, then removes the look when you leave.

The appearance is local: other players on a server see your normal avatar, but they can still see you. A client-only mod can’t make you invisible to them. The cosmetic is visible in third person.

paddy1245

the mermaid tail is so big its bigger than my avatar

Kodari AI
KodariOct 7 at 1:38 pm 1

Reduced the tail’s length from 22 to 15.5 model units and narrowed its body and fin so it fits the avatar better.

paddy1245

build it

Kodari AI
KodariOct 8 at 12:05 pm 1
  1. Click Compile in the top bar (on phone: ⋮ → Compile Project).

  2. Click Compile in the window that opens.

  3. When it succeeds, click Download to get the mod jar.

paddy1245

its still very big

Kodari AI
KodariOct 8 at 12:10 pm 1

Scaled the tail to 65% of its previous width and length, keeping it anchored at the waist. Compile the mod again to test the smaller fit.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
6 201
src/client/java/com/kodari/mermaidmaid/MermaidMaidClient.java
package com.kodari.mermaidmaid;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents;
import net.fabricmc.fabric.api.client.rendering.v1.LivingEntityRenderLayerRegistrationCallback;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.entity.player.AvatarRenderer;
import net.minecraft.world.entity.EntityTypes;

public final class MermaidMaidClient implements ClientModInitializer {
	private static boolean active;

	@Override
	public void onInitializeClient() {
		ClientTickEvents.END_CLIENT_TICK.register(client -> {
			active = client.player != null && client.player.isInWater();
		});

		LivingEntityRenderLayerRegistrationCallback.EVENT.register((entityType, entityRenderer, registrationHelper, context) -> {
			if (entityType == EntityTypes.PLAYER && entityRenderer instanceof AvatarRenderer<?> avatarRenderer) {
				registrationHelper.register(new MermaidMaidLayer(avatarRenderer));
			}
		});
	}

	static boolean isActiveForLocalPlayer(int entityId) {
		Minecraft client = Minecraft.getInstance();
		return active && client.player != null && client.player.getId() == entityId;
	}
}