Compare commits

..
Author SHA1 Message Date
DarkShadow44andMaya 5a2852532b Fix rendering with LittleTiles (#58)
Co-authored-by: Maya <[email protected]>
2025-05-10 16:10:05 +00:00
Maya 189b3bc95c Fix CCRenderState reference (#59) 2025-05-10 11:05:52 -05:00
Martin Robertz 126ca91eeb update 2025-05-10 13:17:43 +02:00
Maya 477b6e354c Fix chisel slot voiding in some conditions (#57) 2025-05-09 20:31:18 +02:00
3 changed files with 8 additions and 6 deletions

No files matched your search

+4 -4
View File
@@ -1,8 +1,8 @@
// Add your dependencies here
dependencies {
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.1:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev")
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.2:dev")
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.40-GTNH:dev")
implementation("com.github.GTNewHorizons:ForgeMultipart:1.6.2:dev")
compileOnly("org.projectlombok:lombok:1.18.24")
@@ -11,13 +11,13 @@ dependencies {
devOnlyNonPublishable("com.github.GTNewHorizons:waila:1.8.4:dev") {
transitive = false
}
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.2-GTNH:dev")
devOnlyNonPublishable("com.github.GTNewHorizons:WailaHarvestability:1.3.3-GTNH:dev")
compileOnly("curse.maven:ee3-65509:2305023") { // https://www.curseforge.com/minecraft/mc-mods/ee3/files/2305023
transitive = false
}
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta40:api") {
compileOnly("com.github.GTNewHorizons:Angelica:1.0.0-beta41:api") {
transitive = false
}
}
@@ -13,8 +13,8 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
if (!state.computeLighting) {
return false;
}
state.pipeline.addDependency(CCRenderState.colourAttrib);
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
state.pipeline.addDependency(CCRenderState.instance().colourAttrib);
state.pipeline.addDependency(CCRenderState.instance().lightCoordAttrib);
return true;
}
@@ -49,8 +49,10 @@ public class CTMRenderer implements ISimpleBlockRenderingHandler {
world,
((ICTMBlock<?>) block).getManager(world, x, y, z, meta),
meta);
rb.renderAllFaces = rendererOld.renderAllFaces;
boolean ret = rb.renderStandardBlock(block, x, y, z);
rb.unlockBlockBounds();
rb.renderAllFaces = false;
return ret;
} catch (Throwable t) {
CrashReport crashreport = CrashReport.makeCrashReport(t, "Rendering CTM Block");