Lorenzo Raphael Nunes Alves

Fabric Mod Request (Target version 26.2 / JDK 21):

Create a custom item named Legendary Clock using the vanilla clock model and texture (minecraft:item/clock).

Features:

Right-click with clock: Opens a chest GUI containing the heads of all online players.

Clicking a head: Disguises the player (copies skin, player nameplate, and TAB list name).

Left-click while holding clock: Cancels the disguise and restores original player identity.

Passives: Applies Speed II and Haste II to the holder.

Kodari AI
KodariSep 27 at 4:26 pm 3
IdentityDisguiseClock
Adds a Legendary Clock item using vanilla clock model/texture. Right-click opens a chest GUI listing online players' heads; clicking a head disguises the player by copying skin, nameplate, and TAB name. Left-click cancels disguise and restores identity. Holder passively receives Speed II and Haste II effects. Built for Fabric 26.2 with JDK 21.
  1. Set up the 26.2/Java 25 Fabric project and register the Legendary Clock.

  2. Add its right-click player-head menu and click-to-disguise behavior.

  3. Add left-click disguise removal and Speed II/Haste II passives.

Created the Legendary Clock Fabric 26.2 mod with the vanilla clock model, an online-player head menu, disguise and restore behavior, and Speed II/Haste II while held. The disguise updates skin, nameplate, and TAB display through mixins.

Minecraft 26.2 requires Java 25, so the project is configured for Java 25 rather than the requested JDK 21.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
14 366
src/main/java/com/kodari/legendaryclock/LegendaryClockMod.java
package com.kodari.legendaryclock;

import com.kodari.legendaryclock.item.LegendaryClockItem;
import net.fabricmc.api.ModInitializer;
import net.minecraft.core.Registry;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.core.registries.Registries;
import net.minecraft.resources.Identifier;
import net.minecraft.resources.ResourceKey;
import net.minecraft.world.item.Item;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public final class LegendaryClockMod implements ModInitializer {
	public static final String MOD_ID = "legendaryclock";
	public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
	public static final ResourceKey<Item> LEGENDARY_CLOCK_KEY = ResourceKey.create(
			Registries.ITEM,
			Identifier.fromNamespaceAndPath(MOD_ID, "legendary_clock")
	);
	public static final Item LEGENDARY_CLOCK = Registry.register(
			BuiltInRegistries.ITEM,
			LEGENDARY_CLOCK_KEY,
			new LegendaryClockItem(new Item.Properties().setId(LEGENDARY_CLOCK_KEY))
	);

	@Override
	public void onInitialize() {
		LegendaryClockEvents.register();
	}
}