gavinsmod / gavinsextensiblemod

A Minecraft mod with a lot of cool features.
MIT License
29 stars 1 forks source link

Add radar - feat #46 #47

Closed GT3CH1 closed 1 year ago

GT3CH1 commented 1 year ago

Describe your changes

Adds a radar feature to the mod, allowing the user to see entities within a certain X/Z distance.

Have you tested your change?

What is your motivation behind this change?

It would be nice to see an overview of various entities around a player.

GT3CH1 commented 1 year ago

When merged, need to update settings documentation for the following settings:

radar - base key

scale - radar scale
pointSize - the size of the points on the radar.
playerColor - the color to render player points
hostileMobColor - the color to render hostile mobs.
peacefulMobColor - the color to render peaceful mobs.
itemColor - the color to render items.
waypointColor - the color to render waypoints with IF useWaypointColor is false.
showPlayer - whether to show players on the radar.
showHostileMob - whether to show hostile mobs on the radar.
showPeacefulMob - whether to show peaceful mobs on the radar.
showItem - whether to show items on the radar.
showWaypoint - whether to show waypoints on the radar.
useWaypointColor - whether to use the color defined by the radar or waypointColor.
GT3CH1 commented 1 year ago

I might refactor some of the settings to create a sub class so that the radar file isn't overly populated.

GT3CH1 commented 1 year ago

FINALLY ready to merge this. Radar feature seems to be working well. Squished a few annoying UI bugs along the way.