Compare commits

..

2 Commits

Author SHA1 Message Date
s809 d360402bc3 Add correct descriptions 2026-01-18 22:38:06 +05:00
s809 6c56d09b18 Split off server generation into a separate toggle 2026-01-17 01:43:18 +05:00
5 changed files with 27 additions and 7 deletions
@@ -362,7 +362,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
if (glTexture == null) if (glTexture == null)
{ {
// shouldn't happen, but just in case // shouldn't happen, but just in case
return -1; return 0;
} }
return glTexture.glId(); return glTexture.glId();
@@ -376,7 +376,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
this.depthTextureCastFailLogged = true; this.depthTextureCastFailLogged = true;
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e); LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
} }
return -1; return 0;
} }
#endif #endif
} }
@@ -392,7 +392,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
if (glTexture == null) if (glTexture == null)
{ {
// shouldn't happen, but just in case // shouldn't happen, but just in case
return -1; return 0;
} }
return glTexture.glId(); return glTexture.glId();
@@ -405,7 +405,7 @@ public class MinecraftRenderWrapper implements IMinecraftRenderWrapper
this.colorTextureCastFailLogged = true; this.colorTextureCastFailLogged = true;
LOGGER.error("Unable to cast render Target color texture to GlTexture. MC or a rendering mod may have changed the object type.", e); LOGGER.error("Unable to cast render Target color texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
} }
return -1; return 0;
} }
#endif #endif
} }
+10
View File
@@ -0,0 +1,10 @@
{
"pack": {
"pack_format": 7,
"supported_formats": {
"min_inclusive": 7,
"max_inclusive": 90000
},
"description": "Distant Horizons"
}
}
@@ -45,7 +45,7 @@ public class NeoforgeMinecraftRenderWrapper extends MinecraftRenderWrapper
this.depthTextureCastFailLogged = true; this.depthTextureCastFailLogged = true;
LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e); LOGGER.error("Unable to cast render Target depth texture to GlTexture. MC or a rendering mod may have changed the object type.", e);
} }
return -1; return 0;
} }
#endif #endif
} }
@@ -72,7 +72,7 @@ public class NeoforgeMinecraftRenderWrapper extends MinecraftRenderWrapper
this.colorTextureCastFailLogged = true; this.colorTextureCastFailLogged = true;
LOGGER.error("Unable to cast render Target color texture to ValidationGpuTexture or GlTexture. MC, Neoforge, or a rendering mod may have changed the object type.", e); LOGGER.error("Unable to cast render Target color texture to ValidationGpuTexture or GlTexture. MC, Neoforge, or a rendering mod may have changed the object type.", e);
} }
return -1; return 0;
} }
#endif #endif
} }
+10
View File
@@ -0,0 +1,10 @@
{
"pack": {
"pack_format": 7,
"supported_formats": {
"min_inclusive": 7,
"max_inclusive": 90000
},
"description": "Distant Horizons"
}
}