diff options
| author | Léa Gris <lea.gris@noiraude.net> | 2021-05-08 22:31:58 +0200 |
|---|---|---|
| committer | Léa Gris <lea.gris@noiraude.net> | 2021-05-21 13:38:39 +0200 |
| commit | 04468545985a4fed401d9b6626670e8af5938920 (patch) | |
| tree | 1941b545ac1e07ea64a605911ca245b5e836d56d /src/main/java/gregtech/api/enums | |
| parent | 9fcbc16e436ef745d761cb934834d8070fb68a8c (diff) | |
| download | GT5-Unofficial-04468545985a4fed401d9b6626670e8af5938920.tar.gz GT5-Unofficial-04468545985a4fed401d9b6626670e8af5938920.tar.bz2 GT5-Unofficial-04468545985a4fed401d9b6626670e8af5938920.zip | |
fix(render): move new textures rendering to new package
Old textures rendering are kept in api/objects for backward compatibility.
The old textures rendering does not handle glow textures or independant
inventory tessellation. The old textures will only work with the old
GT_Renderer_Block class
New textures rendering with own tessellation in inventory and handling
of glow emisssive textures are moved to the api/render package. These must
not be used with the Old GT_Renderer_Block class or
it will crash with: Already Tessellating Exception from the Tessellator class
Diffstat (limited to 'src/main/java/gregtech/api/enums')
| -rw-r--r-- | src/main/java/gregtech/api/enums/Textures.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/api/enums/Textures.java b/src/main/java/gregtech/api/enums/Textures.java index c361ad75d1..f9a70e2b6c 100644 --- a/src/main/java/gregtech/api/enums/Textures.java +++ b/src/main/java/gregtech/api/enums/Textures.java @@ -3,9 +3,9 @@ package gregtech.api.enums; import gregtech.api.GregTech_API; import gregtech.api.interfaces.IIconContainer; import gregtech.api.interfaces.ITexture; -import gregtech.api.objects.GT_RenderedTexture; -import gregtech.api.objects.GT_SidedTexture; -import gregtech.api.objects.GT_StdRenderedTexture; +import gregtech.api.render.GT_RenderedTexture; +import gregtech.api.render.GT_SidedTexture; +import gregtech.api.render.GT_StdRenderedTexture; import gregtech.api.util.GT_Utility; import net.minecraft.client.renderer.texture.TextureMap; import net.minecraft.util.IIcon; |
