-
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
🐛 BugSomething isn't workingSomething isn't working
Description
🛑 Before you Start
- I have searched existing bug reports for my problem.
- I have read the F-A-Q.
- I am using the latest version of Animated Java
- I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.
🗣️ Describe the bug
When a locator is created as a use entity, the added locator and its Passengers are not deleted.
⚠️ Error Message
🔄️ How to Reproduce
- Create a locator.
- Check the “Use Entity” box.
- Export the file and summon the model within Minecraft.
- Delete the summoned model using the appropriate method provided by animated_java (e.g., animated_java:/remove/all).
- Models with the “Use Entity” box checked remain undeleted.
✅ Expected Behavior
All locators and their passengers will be deleted.
💡 Solutions & Alternatives
This issue occurs because, even when “Use Entity” is enabled during locator creation, the process attempts to delete animated_java:nautilus_bike/remove/zzz/this/as_data
by referencing the locator’s entity data. It then tries to call animated_java:nautilus_bike/remove/zzz/this/kill_locator
from that data. However, since the data
tag can only belong to marker entities, a recursive function should be used instead to delete the locator through another method.
🟩 Minecraft Version
1.20.4
🟦 Blockbench Version
4.12.6
💻 Operating System
Windows
📃 Installed Blockbench Plugins
- GeckoLib Animation Utils
- CEM Template Loader
- Bone View
- Animation Sliders
- Blockbench Plugins
⛰️ Minecraft Environment
No response
Metadata
Metadata
Assignees
Labels
🐛 BugSomething isn't workingSomething isn't working