Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions buildSrc/src/main/groovy/multiloader-common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,22 @@ repositories {
maven {
url = "https://maven.ryanhcode.dev/releases"
}

exclusiveContent { // Sodium
forRepository {
maven {
name "CaffeineMC"
url "https://maven.caffeinemc.net/releases" // or /snapshots
}
}
filter {
includeGroup("net.caffeinemc")
}
}
}

dependencies {
compileOnly "maven.modrinth:lithium:mc1.21.1-0.15.3-neoforge"
compileOnly "maven.modrinth:sodium:$sodium_version"
compileOnly "net.caffeinemc:sodium-neoforge-mod:$sodium_version"
compileOnly "maven.modrinth:iris:$iris_version"
compileOnly "maven.modrinth:distanthorizons:$distant_horizons_version"
compileOnly("cc.tweaked:cc-tweaked-$minecraft_version-forge:$cc_tweaked_version")
Expand Down Expand Up @@ -169,6 +180,7 @@ processResources {
'credits' : credits,
'java_version' : java_version,
'veil_version' : veil_version,
'sodium_version' : sodium_version,
'sable_companion_version' : sable_companion_version
]

Expand Down

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public interface SubLevelRenderData extends Closeable {
*/
void compileSections(PrioritizeChunkUpdates chunkUpdates, final RenderRegionCache renderRegionCache, Camera camera);

int getVisibleSectionCount();

default Matrix4f getTransformation(final double camX, final double camY, final double camZ) {
return this.getTransformation(camX, camY, camZ, new Matrix4f());
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ public void compileSections(final PrioritizeChunkUpdates chunkUpdates, final Ren
this.dirtyRenderSections.clear();
}

@Override
public int getVisibleSectionCount() {
return this.allRenderSections.size();
}

@Override
public ClientSubLevel getSubLevel() {
return this.subLevel;
Expand Down

This file was deleted.

Loading