/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
Continue to help postlodestone_tracker:{target:{pos}}
and dimension
equal to the the hunted player's Coordinates, Pos
, and dimension, assuming that item is named something like "Bounty Tracker". I'm imagining using item modifiers modify_contents
and set_components
would help to do the job, as well as perhaps a similar predicate to value_check
. I'm struggling to understand how or if I can move the data of the player's pos
to the compasses target pos
in this way.