Get X spawn coordinate of [entity] for its current world

Get X spawn coordinate of [entity] for its current world. Procedure block in the player category. It gives back a number value.

Get X spawn coordinate of entity for its current world S
Category
Player
Block type
Value block (plugs into another block)
Returns
Number
Needs
Nothing extra
Works with
NeoForge 26.1.2NeoForge 1.21.1

Inputs

InputKindAccepts
entityPlug-in valueEntity