/item able to modify items in player inventory using position data of an entity?
In my attempt to create something similar to the classic "manhunt" datapack using lodestone compasses, I've run into a roadblock. I'd like to use /item to modify all items in a players inventory to contain the
lodestone_tracker:{target:{pos}}anddimensionequal to the the hunted player's Coordinates,Pos, and dimension, assuming that item is named something like "Bounty Tracker". I'm imagining using item modifiersmodify_contentsandset_componentswould help to do the job, as well as perhaps a similar predicate tovalue_check. I'm struggling to understand how or if I can move the data of the player'sposto the compasses targetposin this way.