Draw players as facing arrows on the map

The studio map showed players as plain dots. A blue arrow with a white edge and dark outline now points where the player looks, with the name in a pill above, readable on any terrain. Markers carry a yaw (rounded to 5 degrees so head turns do not flood the players event); entities keep their dot.

v3: 3914c4667
This commit is contained in:
piexel committed 2026-11-10 11:26:49 +01:00
1 parent 76dcab175b
commit d28b9d13cc
8 files changed
+174 -25

No files matched your search

@@ -81,7 +81,7 @@ public final class BukkitVisionOverlay implements GuiOverlay {
List<GuiMarker> markers = new ArrayList<>();
for (Player player : BukkitWorldBinding.players(engine.getWorld())) {
Location at = player.getLocation();
markers.add(GuiMarker.player(player.getName(), at.getX(), at.getZ()));
markers.add(GuiMarker.player(player.getName(), at.getX(), at.getZ(), at.getYaw()));
}
playerMarkers = List.copyOf(markers);
} finally {