Assuming the mass is evenly distributed the mass above you doesn’t contribute any additional gravitational force. The mass above you can be described as a hollow sphere. Inside such a sphere all gravitational components cancel out. So its just important that less mass is below you
i don’t know much about star wars, but wouldn’t gravity be weaker near the centre as you’d have less mass below you and more above you
Assuming the mass is evenly distributed the mass above you doesn’t contribute any additional gravitational force. The mass above you can be described as a hollow sphere. Inside such a sphere all gravitational components cancel out. So its just important that less mass is below you