setY

protected void setY(int y)(source)

Sets the Y coordinate of the field entity to the specified Y coordinate.

Parameters

y

the new Y coordinate for this field entity