From d2173614dcec95cf6996cc332a76299b2e46ca7e Mon Sep 17 00:00:00 2001 From: JozsefA Date: Sat, 9 Jan 2021 16:38:30 -0800 Subject: [PATCH] move lightvolumes down 1 to fix darkness on bottom of contraption --- .../create/foundation/utility/render/ContraptionLighter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/simibubi/create/foundation/utility/render/ContraptionLighter.java b/src/main/java/com/simibubi/create/foundation/utility/render/ContraptionLighter.java index 1f7c3169d..6641f528e 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/render/ContraptionLighter.java +++ b/src/main/java/com/simibubi/create/foundation/utility/render/ContraptionLighter.java @@ -91,7 +91,7 @@ public class ContraptionLighter { private void setupPosition(Contraption c) { Vec3d positionVec = c.entity.getPositionVec(); minX = (int) (Math.floor(positionVec.x) - sizeX / 2); - minY = (int) (Math.floor(positionVec.y)); + minY = (int) (Math.floor(positionVec.y) - 1); minZ = (int) (Math.floor(positionVec.z) - sizeZ / 2); }