From ad9a6272c2cdd1364b7abbb8a382302284cffcc1 Mon Sep 17 00:00:00 2001 From: PepperBell <44146161+PepperCode1@users.noreply.github.com> Date: Sun, 7 Nov 2021 10:31:19 -0800 Subject: [PATCH] Fully fix GuiGameElements - Replace all GUI y-flip scalings to not scale normals - Rotate CustomLightingSettings along XN instead of XP - Apply custom lighting to all fluids in JEI scenes - Fix fluid rendering: fix normals, normal scaling, and color --- .../compat/jei/category/FanBlastingCategory.java | 2 ++ .../compat/jei/category/FanWashingCategory.java | 2 ++ .../jei/category/animations/AnimatedItemDrain.java | 4 +++- .../jei/category/animations/AnimatedSpout.java | 10 ++++++++-- .../create/foundation/fluid/FluidRenderer.java | 10 +++++----- .../foundation/gui/CustomLightingSettings.java | 4 ++-- .../create/foundation/gui/GuiGameElement.java | 14 +++++--------- .../create/foundation/gui/UIRenderHelper.java | 4 ++++ .../create/foundation/ponder/PonderScene.java | 4 +++- .../create/foundation/ponder/PonderUI.java | 2 +- 10 files changed, 35 insertions(+), 21 deletions(-) diff --git a/src/main/java/com/simibubi/create/compat/jei/category/FanBlastingCategory.java b/src/main/java/com/simibubi/create/compat/jei/category/FanBlastingCategory.java index f60ca5c69..8b2d959f9 100644 --- a/src/main/java/com/simibubi/create/compat/jei/category/FanBlastingCategory.java +++ b/src/main/java/com/simibubi/create/compat/jei/category/FanBlastingCategory.java @@ -2,6 +2,7 @@ package com.simibubi.create.compat.jei.category; import com.mojang.blaze3d.vertex.PoseStack; import com.simibubi.create.AllItems; +import com.simibubi.create.compat.jei.category.animations.AnimatedKinetics; import com.simibubi.create.foundation.gui.GuiGameElement; import net.minecraft.world.item.Items; @@ -26,6 +27,7 @@ public class FanBlastingCategory extends ProcessingViaFanCategory