Skip to content

Commit

Permalink
larger faces
Browse files Browse the repository at this point in the history
  • Loading branch information
bazke committed Oct 28, 2023
1 parent 92187a9 commit aed8a3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ protected void renderWidget(final GuiGraphics graphics, final int mouseX, final
List<UUID> faces = new ArrayList<>();
faces.addAll(poi.faces());
faces.addAll(poi.faces());
faces.addAll(poi.faces()); //TODO just for testing more than 1 face
// faces.addAll(poi.faces()); //TODO just for testing more than 1 face
graphics.pose().pushPose();
graphics.pose().translate(0.0f, 0.0f, zOffset);
for (int i = 0; i < faces.size(); i++) {
UUID uuid = faces.get(i);
ResourceLocation face = ClientMapPoiManager.getFace(uuid);
PlayerFaceRenderer.draw(graphics, face, getX() + BORDER_SIZE + i * 4 + i, getY() + ICON_SIZE, ICON_SIZE / 4);
PlayerFaceRenderer.draw(graphics, face, getX() + BORDER_SIZE + i * HALF_ICON_SIZE + i, getY() + ICON_SIZE, HALF_ICON_SIZE);
}
graphics.pose().popPose();
}
Expand Down

0 comments on commit aed8a3e

Please sign in to comment.