-
Notifications
You must be signed in to change notification settings - Fork 13
Option to target frames with named items #28
base: master
Are you sure you want to change the base?
Conversation
frame to be named a certain name for those frames to be target. This is a way to ensure that items are sorted only to the intended item frames. Requires naming the item in the frame, not the frame itself. I couldn't find a way to target a named item frame.
- Added new Minecraft 1.16 items. - Fixed a few minor issues.
frame to be named a certain name for those frames to be target. This is a way to ensure that items are sorted only to the intended item frames. Requires naming the item in the frame, not the frame itself. I couldn't find a way to target a named item frame.
|
Looked into this as well; item frames don't seem to expose a name attribute on it's NBT data; not sure why, maybe its a bug in the game? Either way this method works well! |
|
I re-wrote a lot of this datapack to create a version customized for my server. My tagger function checks for named item in frame and sets tags. I used command_block to restrict usage to operators, but the item should not matter. You can even omit the id: part. No reason you can't use the same check for a teleport command. execute as @e[type=minecraft:item_frame,tag=!sss_shulker_target,nbt={Item:{id:"minecraft:command_block",tag:{display:{Name:'{"text":"Shulker Target"}'}}}}] run function sss:targetshulker |
blocks are accounted for in the new config. To make sure you didn't make mistakes when regrouping.
seperate chests and puts nether update stuff in to their own chest.
Add option to configuration that when enabled will allow items in the item frame to be named a certain name for those frames to be target. This is a way to ensure that items are sorted only to the intended item frames. Requires naming the item in the frame, not the frame itself. I couldn't
find a way to target a named item frame.