JYOTISHMAN SAIKIA

Make a mod for Minecraft java 26.3 fabric that allows us to pose and give items to hold to armor stands just like bedrock but for java.

Kodari AI
KodariSep 25 at 9:55 am 2
ArmorStandPoseMaster
Enables Bedrock-style armor stand manipulation in Minecraft Java Fabric 26.3. Players can pose armor stands by interacting with them, adjusting head, body, arm, and leg rotations with intuitive controls. The mod adds a GUI menu for precise angle adjustments and a pose-copy tool to duplicate stances. Supports giving items to armor stands by dragging items onto them, which they hold visibly. Includes pose presets for common animations and a randomize function. Commands allow setting poses via chat, and poses persist across sessions. Compatible with vanilla armor stands, ensuring seamless multiplayer integration.
  • Create the 26.2 Fabric project skeleton and entrypoints.

  • Add a crouch + empty-main-hand armor-stand editor trigger.

  • Add six pose presets with server-validated payloads; preserve vanilla item equipping.

  • Add a compact client screen for selecting poses.

Created the Fabric armor-stand pose editor for the workspace’s configured Minecraft 26.2 target. Crouch-right-click an armor stand with an empty main hand to open six pose presets; right-click it with an item to equip it as usual.

The request specified 26.3, but this project environment is configured for 26.2.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
8 216
src/client/java/com/kodari/standpose/client/ArmorStandPoseClient.java
package com.kodari.standpose.client;

import com.kodari.standpose.ArmorStandPoseMod;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.event.player.UseEntityCallback;
import net.minecraft.client.Minecraft;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.entity.decoration.ArmorStand;

public class ArmorStandPoseClient implements ClientModInitializer {
	@Override
	public void onInitializeClient() {
		UseEntityCallback.EVENT.register((player, level, hand, entity, hitResult) -> {
			if (!level.isClientSide() || !player.isCrouching() || !player.getMainHandItem().isEmpty() || !(entity instanceof ArmorStand stand)) {
				return InteractionResult.PASS;
			}

			Minecraft.getInstance().gui.setScreen(new ArmorStandPoseScreen(stand.getId()));
			return InteractionResult.SUCCESS;
		});
	}
}