aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorLéa Gris <lea.gris@noiraude.net>2022-12-20 07:07:57 +0100
committerGitHub <noreply@github.com>2022-12-20 07:07:57 +0100
commit287f3c409ff147cd93c10d400953e02962a428fb (patch)
treeb7afd52962c4651b01d7f60690d0f7c959650207 /src/main/java/gregtech/api
parent86252f7583c70022af0168295c59add4ed7777a5 (diff)
downloadGT5-Unofficial-287f3c409ff147cd93c10d400953e02962a428fb.tar.gz
GT5-Unofficial-287f3c409ff147cd93c10d400953e02962a428fb.tar.bz2
GT5-Unofficial-287f3c409ff147cd93c10d400953e02962a428fb.zip
Uv lock (#1564)
* fix(GT_TextureBuilder): State check belongs to the build method. * fix(texture): lock orientation of large turbine controller Large turbine controllers displays the rotor's center of a 3-by-3 connected textures displayed on surrounding casings. To keep the rotor's center seamlessly aligned with the connected textures from the casings, it need to UV lock its orientation. Addresses issue: https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/11953 * fix(GT_TextureBuilder): correctly check worldCoord's state
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/interfaces/ITextureBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/interfaces/ITextureBuilder.java b/src/main/java/gregtech/api/interfaces/ITextureBuilder.java
index d0d25328b9..d8ae592c9e 100644
--- a/src/main/java/gregtech/api/interfaces/ITextureBuilder.java
+++ b/src/main/java/gregtech/api/interfaces/ITextureBuilder.java
@@ -14,6 +14,7 @@ public interface ITextureBuilder {
* Build the {@link ITexture}
*
* @return The built {@link ITexture}
+ * @throws IllegalStateException if setFromBlock has never been called.
*/
ITexture build();
@@ -76,7 +77,6 @@ public interface ITextureBuilder {
* Force using meta overload of getIcon.
*
* @return {@link ITextureBuilder} for chaining
- * @throws IllegalStateException if setFromBlock has never been called.
*/
ITextureBuilder noWorldCoord();