diff options
author | Léa Gris <lea.gris@noiraude.net> | 2023-03-30 21:48:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 21:48:25 +0200 |
commit | 7ac8db9ecf8bd8775b5249e48f8ac9a84d675b4d (patch) | |
tree | 85faa9ccd9c8d25f3b4cdf36beb03492b51d0462 /src/main/java/gregtech/api/util/GT_Utility.java | |
parent | 8187e9841b50a5bd1e713655d7b6598ffa8e8ac6 (diff) | |
download | GT5-Unofficial-7ac8db9ecf8bd8775b5249e48f8ac9a84d675b4d.tar.gz GT5-Unofficial-7ac8db9ecf8bd8775b5249e48f8ac9a84d675b4d.tar.bz2 GT5-Unofficial-7ac8db9ecf8bd8775b5249e48f8ac9a84d675b4d.zip |
Implementation of A more useful Lava Boiler (#1814)
* Fix Missing null/empty checks on boilers base class
Would cause a deadlock on empty boilers unable to start,
as it tried to transfer null or empty FuildStack.
* Fix Sound coordinates so it can be centered on block
* WIP Lava Boiler Improuvements
* :spotlessapply
* Add GUI slot block background textures
* Restrict ash slot to remove items only (disallow inserting items there)
* Finalize GUI and Obsidian Production mechanic
* Fix still output Obisidian from cooled Lava even when no more Lava available
* Lava Boiler Textures: Improves GUI and TOP
- Fluid slot now has Steam themed textures
- Item slot block background gets a smaller icon that hides behind
actual item blocks
- Boiler TOP is now a drain texture instead of pump
* Add null check
Diffstat (limited to 'src/main/java/gregtech/api/util/GT_Utility.java')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_Utility.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/gregtech/api/util/GT_Utility.java b/src/main/java/gregtech/api/util/GT_Utility.java index 577364c0f7..4dd99e3ff7 100644 --- a/src/main/java/gregtech/api/util/GT_Utility.java +++ b/src/main/java/gregtech/api/util/GT_Utility.java @@ -2165,9 +2165,9 @@ public class GT_Utility { if (GregTech_API.sMultiThreadedSounds) new Thread( new GT_Runnable_Sound( GT.getThePlayer().worldObj, - MathHelper.floor_double(aX), - MathHelper.floor_double(aY), - MathHelper.floor_double(aZ), + aX, + aY, + aZ, aTimeUntilNextSound, aSoundResourceLocation, aSoundStrength, @@ -2175,9 +2175,9 @@ public class GT_Utility { "Sound Effect").start(); else new GT_Runnable_Sound( GT.getThePlayer().worldObj, - MathHelper.floor_double(aX), - MathHelper.floor_double(aY), - MathHelper.floor_double(aZ), + aX, + aY, + aZ, aTimeUntilNextSound, aSoundResourceLocation, aSoundStrength, |