Add in 1.20.1 builds! But, sky light for world gen isn't working...?

This commit is contained in:
TomTheFurry
2023-06-25 14:56:50 +08:00
committed by s809
parent b2ba94f6e5
commit 16bcf30092
20 changed files with 347 additions and 111 deletions
@@ -12,6 +12,7 @@ import org.spongepowered.asm.mixin.injection.Redirect;
*
* @author coolGi
*/
#if PRE_MC_1_20_1 // FIXME: Forge seems to be missing the mapping for this ,and remap=false doesn't work... Help
@Mixin(TextureUtil.class)
public class MixinTextureUtil {
@Redirect(method = "Lcom/mojang/blaze3d/platform/TextureUtil;prepareImage(Lcom/mojang/blaze3d/platform/NativeImage$InternalGlFormat;IIII)V",
@@ -26,3 +27,4 @@ public class MixinTextureUtil {
}
}
}
#endif