From d0ecbfa6e361b354ef7074ba8194510fc257c352 Mon Sep 17 00:00:00 2001 From: Léa Gris Date: Thu, 8 Sep 2022 08:11:18 +0200 Subject: fix(API): GT_Fluid (#1349) * fix(API): GT_Fluid - Fix: Use registeredFluid instead of GT_Fluid to configure Materials and containers to prevent crashes when retrieving fluids referrences from those. - Impr: Adjust fluid luminosity computation to better fit with Tungsten as maximum - Impr: Remove transparency from the fluid.molten.autogenerated.png texture to prevent molten materials to appear dilluted. * ./gradlew :spotlessApply * rev(comment): address review comment from @Glease rev: https://github.com/GTNewHorizons/GT5-Unofficial/pull/1349#pullrequestreview-1098651647 fix: Logic to handle working with own registered fluids and already registered fluids. imp: Some IGT_Fluid methods requires the fluid to be registered, throws an IllegalStateException on use at an unregistered fluid. imp: Normalizes @inheritDoc no additionnal text allowed --- .../blocks/fluids/fluid.molten.autogenerated.png | Bin 1558 -> 2267 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'src/main/resources/assets/gregtech/textures') diff --git a/src/main/resources/assets/gregtech/textures/blocks/fluids/fluid.molten.autogenerated.png b/src/main/resources/assets/gregtech/textures/blocks/fluids/fluid.molten.autogenerated.png index ee40545a46..a792bee413 100644 Binary files a/src/main/resources/assets/gregtech/textures/blocks/fluids/fluid.molten.autogenerated.png and b/src/main/resources/assets/gregtech/textures/blocks/fluids/fluid.molten.autogenerated.png differ -- cgit