-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not so much of an issue, more a request #11
Comments
I'll look into this, but I'm afraid this is too complex a task for me. I have no idea how to look inside shulkers using datapack commands. We need to get Seth Bling to code this up for us 😉 |
Would this help? if Trapped Chest has Shulker Box that has items if trapped chest has Shulker Box that is empty if chest has Any item that contains an item You can get specific by adding in the Slot: , id;, etc into the last Items:[{}] part |
I had time to play with it in-game This command will teleport only items on the ground that contain a shulkerbox that has some item in it Teleport item if it contains a box containing a chorus_fruit anywhere in it It doesn't seem to work the same for detecting empty shulker boxes inside an item entity as it does with chests. Might just need to play with the syntax Otherwise just run the check for non-empty boxes first, then check for any remaining ones after that. I remember seeing a bug on Mojang for problems with nested NBT data, but I can't find it now. It does appear resolved, at least partially, since I am able to work with nested NBT on 1.16.3 as shown above. |
could you add code to the sorter so that it sorts out shulker boxes with item in them into its own category?
that would make things so much easier as they gets stoes in seperate chests.
The text was updated successfully, but these errors were encountered: