Werner Van Tonder

I want to code a mod that lets you swap armor pieces from your body with armor on specifically binded armor stands, should be able to bind to up to 8 armor stands which works with a remote that binds to each armor stand. It should be able to swap from anywhere and any dimension.

Kodari AI
KodariFri at 5:19 am 1

Should I create a new mod project, or will you add an existing one to this workspace? Also, which Minecraft version and mod loader (Fabric or NeoForge) do you want to use?

Werner Van Tonder

I have an existing project but will upload the files later for now create it for neoforge version 1.21.1

Kodari AI
KodariFri at 5:20 am 1
Created Armor Stand Remote SwapNeoForge Mods 1.21.1
Delegated to Armor Stand Remote Swap Running
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.

I’ve created the NeoForge 1.21.1 project and started the armor-stand remote feature. You can add your existing files later.

Werner Van Tonder

Great, a note on the remote, if you can give it a selection wheel that pops up while holding the remote when you press a certain keybind and it should be that you have to hold in the key for the selection wheel

Kodari AI
KodariFri at 5:21 am 1

Got it: the selection wheel should appear while you hold a configurable key with the remote equipped, and close when you release it. I’ll add that once the current work finishes.

Werner Van Tonder

I want you to make a special armor stand as well so that the vanilla armor stand remains untouched

Kodari AI
KodariFri at 5:24 am 1

The remote will bind only to a special armor stand, leaving vanilla armor stands unchanged. I’ll add that alongside the hold-to-open selection wheel after the current work finishes.

Werner Van Tonder

Make a recipe for both the armor stand and the remote that will show up in jei or emi

Kodari AI
KodariFri at 5:25 am 1

I’ll add crafting recipes for both the special armor stand and the remote, using standard recipes that JEI and EMI can display.

Werner Van Tonder

Build the project and omce I can upload my current progress you can work off that. My current mod is already compiled as a jar file and i have tested it in game it works only problem is that it is not cross dimensional and there is no gui for the remote

Kodari AI
KodariFri at 5:26 am 1

The project is still being developed, so I’ll build it when that work finishes.

Once you upload your existing JAR, I can inspect what’s available and work from it. If you also have the source files, please upload those—they’re much easier to modify than a compiled JAR.

Werner Van Tonder

I will have to check not sure if i have the source files anymore. Would that be a problem?

Kodari AI
KodariFri at 5:27 am 1

Not necessarily. I can inspect the JAR and may be able to recover enough code and resources to continue, though decompiled code can be harder to work with and some original project information may be lost.

Upload the JAR when you’re ready, and I’ll check what can be recovered.

Werner Van Tonder

Sounds good. I will upload a bit later. And also I have already made a texture file for the remote which is in the mod and the the armor stand could probably have an enderpearl somewhere in the recipe.

Kodari AI
KodariFri at 5:28 am 1

Sounds good. Once you upload the JAR, I’ll look for your remote texture and reuse it if possible. I’ll also include an ender pearl in the special armor stand’s recipe.

Werner Van Tonder

But you can generate a remote texture so that i can see if yours is better than mine. Also i called the mod Ender Stand

Kodari AI
KodariFri at 5:29 am 1

I’ll call the mod Ender Stand and create an alternative remote texture for you to compare with yours once you upload the JAR. The initial project work is still in progress.

Werner Van Tonder

How long will the project take

Kodari AI
KodariFri at 5:30 am 1

I can’t give a reliable time estimate yet. The initial implementation is still running; afterward, I’ll need to add your requested changes and compile it. Your existing JAR may also affect how long the remaining work takes.

Report from 1 project
TaskCreate 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 am...
  • 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.

Kodari AI
KodariFri at 5:33 am 1
Compiled ArmorSwapperSucceeded
Delegated to ArmorSwapper Running
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.

The initial version compiled successfully. I’ve started adding the special stand, hold-to-open selection wheel, recipes, and Ender Stand name. The generated remote texture is also ready for comparison with yours later.

Report from 1 project
ArmorSwapperCompleted
TaskContinue 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 ...

…ld 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.

Kodari AI
KodariFri at 5:44 am 1
Compiled ArmorSwapperSucceeded
Delegated to ArmorSwapper Running
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.

The updated project compiled successfully. I’ve started one final fix so breaking an Ender Stand returns the special stand rather than a vanilla one.

Report from 1 project
ArmorSwapperCompleted
TaskFix 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 norm...

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.

Kodari AI
KodariFri at 5:46 am 1
Compiled ArmorSwapperSucceeded

Ender Stand has compiled successfully, including the fix for breaking the special stand.

When you’re ready, upload your existing JAR and I’ll inspect its code and remote texture.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code