Automata cores cannot be re-added into turtles after being removed
Describe
If you place down any automata turtle and take out its core (manually or using turtle.equipLeft()/equipRight()), you won't be able to re-add it.
A newly crafted core CAN be added to the turtle, while the "used" core cannot be inserted or crafted into any turtle. That makes me think that the core is getting corrupted in some way.
Attempting to equip a corrupted core using turtle.equipLeft() gives the error "Not a valid upgrade".
Note: I'm using Advanced Peripherals 1.21.1-0.7.49a, which was not available in the dropdown of this bug report.
Steps to reproduce
I've tested this in creative.
- Craft Weak automata Turtle.
- Place it down and open its GUI.
- Remove the automata core from its inventory.
- Attempt to place it back (fails).
Other interesting behavior I've tested: 5. Craft a new turtle and attempt to craft or add a corrupted core to it (fails). 6. Attempt to use turtle.equipLeft() to add a corrupted core (fails, "Not a valid upgrade"). 7. Craft new automata cores and add them to the turtle from point 1 (no issues with any core types). 8. Attempt points 1-4 with a diamond pickaxe and a Chat Box (no issues)
Multiplayer?
Yes
Version
Own compiled build.
Minecraft, Forge and maybe other related mods versions
Neoforge 21.1.148 Minecraft 1.21.1
Screenshots or Videos
No response
Crashlog/log
No response
Feel free to test the fix using https://github.com/IntelligenceModding/AdvancedPeripherals/actions/runs/14776543086/artifacts/3045802809
using 0.7.55b, same issue the fix doesnt work neoforge 21.1.192 on 1.21.1
I will look into it. In the meantime, try if that issue only happens with AP only installed outside of a modpack - if you even play with a modpack.
I can confirm that on 0.7.57b (with only AP and CC Tweaked installed) on neoforge 21.1.216 (1.21.1), this is still an active problem, at least for the End Automata Core (I haven't checked the others). To reproduce, put it into a turtle, save a point to it, remove it from the turtle and now it can no longer be placed back in or equipped.