diff --git a/core/src/main/java/de/bluecolored/bluemap/core/map/hires/entity/ResourceModelRenderer.java b/core/src/main/java/de/bluecolored/bluemap/core/map/hires/entity/ResourceModelRenderer.java index 97a71e5f..238a7203 100644 --- a/core/src/main/java/de/bluecolored/bluemap/core/map/hires/entity/ResourceModelRenderer.java +++ b/core/src/main/java/de/bluecolored/bluemap/core/map/hires/entity/ResourceModelRenderer.java @@ -83,7 +83,7 @@ public void render(Entity entity, BlockNeighborhood block, Part part, TileModelV entity, block, part.getModel().getResource(resourcePack::getModel), - (index, color) -> color.set(1f, 1f, 1f, 1f, true), + TintColorProvider.NO_TINT, tileModel ); @@ -250,6 +250,7 @@ private void createElementFace(Element element, Direction faceDir, VectorM3f c0, } interface TintColorProvider { + TintColorProvider NO_TINT = (index, color) -> color.set(1f, 1f, 1f, 1f, true); void setTintColor(int tintIndex, Color target); }