Hello, I was just messing about trying to learn In-Line slot_sources and was trying to delete an item in a specific slot with a specific name like this:
/give @s stick[custom_name="Test"]/item fill entity @s {"type":"filtered","item_filter":{"predicates":{"custom_name":{"text":"Test"}}},"slot_source":{"type":"slot_range","slots":"hotbar.*"}} with cake
(This should replace all of my hotbar slots that have a item named Test and turn them into cake)
P.S. Why can we not check the name of the item as a regular string or list of strings?? Why does it have to be a compound only?
Steps to Reproduce:
Load a world in 26.3 Snapshot 4, 5, 6, or 7.
Attempt to evaluate or pass an inline a
slot_sourceobject (e.g. inside a command block or chat command using inlineminecraft:slot_source) like this/item fill entity @s {}.Notice the game crashes immediately.
Observed Result: The game crashes upon evaluating any inline slot_source structure.
Expected Result: Inline slot_source objects should parse and resolve correctly as introduced in the Snapshot 4 technical changes.
Linked issues
Attachments
Comments 5
Thank you for your report!
We're tracking this issue in MC-310685, so this ticket is being resolved and linked as a Duplicate.
If you would like to add a vote and any extra information to the main ticket, it would be appreciated.
If you haven't already, please make use of the search feature to see if an issue you are about to report has already been reported.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support (Technical Issues) β π§ Microsoft Support (Account Issues)
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki
Please provide the needed commands to reproduce the issue