Create a NeoForge 1.21.1 mod for remotely swapping a player's equipped armor with armor on bound armor stands. Add a craftable remote item that can bind up to 8 armor stands, lets the player select among bindings and trigger a swap, with clear in-game feedback and instructions for its controls. Persist bindings on the remote, identify stands reliably by UUID and dimension, and perform swaps server-side from any distance and across dimensions. Handle missing/unloaded stands safely without losing or duplicating items; support unloaded locations where feasible and clearly inform the player when a swap cannot be performed. Exchange all four armor slots, including empty slots, respecting inventory/equipment restrictions. Include appropriate mod metadata and item resources/recipe. Implement feature code only.

Kodari AI
KodariFri at 5:33 am 9
ArmorSwapper
A NeoForge 1.21.1 mod adding a craftable Remote Swapper item that binds to up to 8 armor stands. Players select a binding and trigger a server-side armor swap across any distance or dimension. Bindings persist on the item, stands are identified by UUID and dimension, and missing/unloaded stands are handled safely without item loss or duplication. All four armor slots exchange including empty ones, respecting equipment restrictions. Provides clear in-game chat feedback and control instructions.
  • Bind or unbind stands with sneak-right-click; sneak-right-click in the air cycles bindings.

  • Swap all four slots server-side, checking equipment locks and reporting unavailable stands.

  • Add the remote’s recipe, texture, tooltip, and mod metadata.

Created the Armor Remote mod.

Craft the remote with six iron ingots, redstone, an armor stand, and an ender pearl. Its tooltip lists the controls for binding, selecting, and swapping.

If a stand is unavailable, the remote attempts to load its last known chunk and reports when the swap cannot proceed. No armor is moved unless all four slots pass validation.

Continue the existing NeoForge 1.21.1 ArmorSwapper project (current classes com.kodari.armorremote.ArmorRemoteItem and ArmorRemoteMod). Rename the displayed mod to Ender Stand, retaining the existing mod ID for compatibility. Implement the user's requested changes: a distinct craftable special armor stand, with an ender pearl in its standard data-driven recipe; the remote must bind and swap only with this special stand and not alter vanilla armor stands. Add a configurable keybind: while holding the remote, holding the key displays an eight-position radial selection wheel, releasing closes it and selects the highlighted bound stand; communicate selection to the server securely, validating held remote and selected slot. Provide useful visual labels and feedback for empty slots, preserve existing server-side safe cross-dimensional swaps and up-to-eight bindings. Ensure recipes for both items are standard and visible to JEI/EMI. Update tooltips and translations. Keep the already-generated remote texture as an alternative for the user to compare with their existing JAR later. Feature code only.

Kodari AI
KodariFri at 5:43 am 7
  1. Add the craftable Ender Stand and restrict remote bindings to it.

  2. Add a key-held radial selector with server-validated selection.

  3. Update names, recipes, and instructions while retaining the remote texture.

Implemented Ender Stand, retaining the armor_remote mod ID and existing remote texture.

  • Craft an Ender Stand from a vanilla armor stand and an ender pearl. Craft the remote with six iron ingots, redstone, an armor stand, and an ender pearl.

  • Sneak-right-click an Ender Stand to bind or unbind it. Hold V by default to open the selection wheel; the key is configurable.

  • Existing vanilla armor-stand bindings can no longer be swapped with.

Limitation: Breaking an Ender Stand currently drops a vanilla armor stand rather than the special item.

Fix the reported Ender Stand break/drop limitation in the existing NeoForge 1.21.1 project. Special stands are vanilla ArmorStand entities marked by EnderStandItem.MARKER in persistent data. When normally broken and the stand item would drop, ensure they drop the craftable Ender Stand item instead of a vanilla armor stand, without duplicating drops or interfering with equipped armor drops, creative mode, other destruction behavior, or unmarked vanilla armor stands. Preserve the marker and existing functionality. Feature code only.

Kodari AI
KodariFri at 5:46 am 2

I’ll replace only the stand item produced by the normal break path, leaving equipment and other destruction behavior untouched.

Fixed the drop: normally breaking a marked Ender Stand now drops the craftable Ender Stand item instead of a vanilla armor stand. Equipped items and other destruction behavior remain unchanged.

Werner Van Tonder

How is the project coming along

Kodari AI
KodariFri at 7:58 am 2

Ender Stand’s main features are in place: both items are craftable, the remote binds up to eight special stands, and the selection wheel and cross-dimensional armor swaps are implemented. Marked stands also have the break-drop fix.

There are a few caveats: a stand moved to a different unloaded chunk may not be found, and some feedback messages aren’t translatable yet. I didn’t find tests or a built JAR, and I haven’t verified the project with a build.

Werner Van Tonder

Rename the mod to armor swapper

Kodari AI
KodariFri at 8:00 am 1

Renamed the mod to Armor Swapper, keeping the armor_remote mod ID for compatibility.

Werner Van Tonder

Can you make the armor stands to work even in unloaded chunks?

Kodari AI
KodariFri at 8:09 am 3

The remote already records a stand’s last known chunk, but its immediate lookup can run before the chunk’s entities finish loading. I’ll keep that chunk loaded briefly and wait for its entities before swapping.

The remote now temporarily loads a stand’s last known chunk and waits for its entities before attempting the swap. It reports a timeout or missing stand without moving armor.

A stand moved to another chunk since its last recorded location may still need to be visited and rebound.

Werner Van Tonder

So is the mod ready to download and test?

Kodari AI
KodariFri at 8:10 am 1

Yes—it’s ready for an in-game test, though I can’t confirm it works until it compiles and you try it.

  1. On desktop, click Compile in the top bar. On phone, tap ⋮ → Compile Project.

  2. Click Compile in the window.

  3. If it succeeds, click Download on the build or Download {name}.jar in chat.

If compilation fails, use Auto-fix in chat or Fix in the build window.

Werner Van Tonder

Can I still change things after it has been compiled?

Kodari AI
KodariFri at 8:11 am 1

Yes. You can keep changing the mod after compiling. Compile again to create an updated JAR; the previous download won’t change automatically.

You can also enable Auto Compile in Settings to build automatically on every save.

Werner Van Tonder

When i sneak right click on the armor stand it does nothing

Kodari AI
KodariFri at 8:31 am 2

The interaction can be sent twice: the first click binds the stand, then the fallback click immediately unbinds it. I’ll stop that fallback while keeping binding changes server-side.

Fixed a likely cause: one click could bind the stand and immediately unbind it. Compile a new JAR and try sneak-right-clicking an Ender Stand while holding the Armor Remote.

Werner Van Tonder

Can you make the gui that shows what dimension it is bound to to show what armor is equipped on that specific armor stand

Kodari AI
KodariFri at 8:52 am 3

I’ll replace the dimension labels with four armor-slot previews. The remote will load each stand’s last known chunk briefly and show “unavailable” if it can’t retrieve the stand.

The selection wheel now shows armor icons for each bound stand, ordered helmet to boots; a dash indicates an empty armor slot.

The remote briefly loads each stand’s last known chunk to get its equipment. If it can’t find the stand, the wheel shows Unavailable. Compile a new JAR to test it.

Werner Van Tonder

Also make it so that by default it shows ender stand 1, 2 and so on for each one that is bound to the remote and make it so that when i rename a nametag and apply it to a specific ender stand that it displays that name instead

Kodari AI
KodariFri at 8:57 am 2

I’ll show a numbered default name for each binding and refresh custom name-tag names when the wheel loads the stands.

The wheel now labels bound stands Ender Stand 1, Ender Stand 2, and so on. A stand with a name tag displays its custom name instead.

Names refresh when the remote can load the stand; long names are shortened to fit the wheel.

Werner Van Tonder

Make the gui selections look a little more dynamic and space it out a little more and maybe make it circular and not squares and then make the mod authors name Ravensclaw

Kodari AI
KodariFri at 9:08 am 17
  1. Give the selection wheel more space, with circular buttons and clearer hover and selection states.

  2. Set the mod author to Ravensclaw.

Armor Swapper’s selection wheel now has eight evenly spaced circular slots. The hovered slot grows and glows purple, while the currently selected stand is marked in teal. Stand names and armor previews are still visible, and the wheel scales to fit smaller screens.

The mod now credits Ravensclaw as its author. The mod ID and existing bindings are unchanged.

Werner Van Tonder

is it done?

Kodari AI
KodariFri at 9:08 am 1

Yes—the circular selection wheel and Ravensclaw author credit are done. I haven’t verified them in-game yet. Click Compile, then Download when it succeeds to test the updated JAR.

Werner Van Tonder

can you add a sound to the remote when pressed and can I paste a link to a soundboard sound

Kodari AI
KodariFri at 12:23 pm 8
  • Add a vanilla button click when you right-click to use the remote.

  • Play it only for the player holding the remote.

  • Leave swap behavior unchanged.

Right-clicking the Armor Remote now plays a short button click that only you hear, even if the swap can’t go through.

Yes, paste the soundboard link. A direct audio download is best. If you have permission to use the clip in the mod, we can replace the default click with it.

Werner Van Tonder

https://www.myinstants.com/en/instant/short-beep-965/?utm_source=copy&utm_medium=share

Kodari AI
KodariFri at 12:23 pm 1

That link is for the Short Beep clip. I can open the page, but I can’t import the audio directly from the link.

If you have permission to use it, click Download MP3 on Myinstants, convert the clip to Ogg Vorbis (.ogg), and upload it to the project. I can then replace the remote’s click with that beep, still audible only to the player using it. The default click is unchanged for now.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
18 858
src/main/java/com/kodari/armorremote/ArmorRemoteMod.java
package com.kodari.armorremote;

import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.CreativeModeTabs;
import net.minecraft.world.item.ItemStack;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.common.NeoForge;
import net.neoforged.neoforge.event.BuildCreativeModeTabContentsEvent;
import net.neoforged.neoforge.event.entity.player.PlayerInteractEvent;
import net.neoforged.neoforge.event.tick.ServerTickEvent;
import net.neoforged.neoforge.event.server.ServerStoppedEvent;
import net.neoforged.neoforge.registries.DeferredItem;
import net.neoforged.neoforge.registries.DeferredRegister;
import net.neoforged.neoforge.network.event.RegisterPayloadHandlersEvent;

@Mod(ArmorRemoteMod.ID)
public class ArmorRemoteMod {
    public static final String ID = "armor_remote";
    private static final DeferredRegister.Items ITEMS = DeferredRegister.createItems(ID);
    public static final DeferredItem<ArmorRemoteItem> REMOTE = ITEMS.register("armor_remote", ArmorRemoteItem::new);
    public static final DeferredItem<EnderStandItem> ENDER_STAND = ITEMS.register("ender_stand", EnderStandItem::new);

    public ArmorRemoteMod(IEventBus modBus) {
        ITEMS.register(modBus);
        modBus.addListener(ArmorRemoteMod::creativeTab);
        modBus.addListener(ArmorRemoteMod::registerPayloads);
        NeoForge.EVENT_BUS.addListener(ArmorRemoteMod::interactSpecific);
        NeoForge.EVENT_BUS.addListener(ArmorRemoteMod::interact);
        NeoForge.EVENT_BUS.addListener(ArmorRemoteItem::tickPendingSwaps);
        NeoForge.EVENT_BUS.addListener(ArmorRemoteItem::clearPendingSwaps);
    }

    private static void creativeTab(BuildCreativeModeTabContentsEvent event) {
        if (event.getTabKey().equals(CreativeModeTabs.TOOLS_AND_UTILITIES)) {
            event.accept(new ItemStack(REMOTE.get()), CreativeModeTab.TabVisibility.PARENT_AND_SEARCH_TABS);
            event.accept(new ItemStack(ENDER_STAND.get()), CreativeModeTab.TabVisibility.PARENT_AND_SEARCH_TABS);
        }
    }

    private static void registerPayloads(RegisterPayloadHandlersEvent event) {
        event.registrar("1").playToServer(SelectStandPayload.TYPE, SelectStandPayload.CODEC,
                (payload, context) -> ArmorRemoteItem.select(context.player(), payload.hand(), payload.slot()));
    }

    private static void interactSpecific(PlayerInteractEvent.EntityInteractSpecific event) {
        if (ArmorRemoteItem.bindInteraction(event.getEntity(), event.getItemStack(), event.getTarget())) {
            event.setCancellationResult(net.minecraft.world.InteractionResult.SUCCESS);
            event.setCanceled(true);
        }
    }

    private static void interact(PlayerInteractEvent.EntityInteract event) {
        if (ArmorRemoteItem.bindInteraction(event.getEntity(), event.getItemStack(), event.getTarget())) {
            event.setCancellationResult(net.minecraft.world.InteractionResult.SUCCESS);
            event.setCanceled(true);
        }
    }
}