Angelica 2.0

* GLStateManagerService & RenderSystemService
* Wire up Celeritas
* Iris working
* Dynamic lights working
* Goodbye Sodium 0.2
* Add Multi-Threading for check meshing again
This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2026-01-07 13:22:16 -08:00
1 parent e5e8250d44
commit be90a01725
354 files changed
+5257 -15599

No files matched your search

@@ -6,6 +6,7 @@ import it.unimi.dsi.fastutil.objects.Object2IntMap;
import lombok.Getter;
import net.coderbot.iris.shaderpack.materialmap.NamespacedId;
import net.minecraft.block.Block;
import net.minecraft.client.Minecraft;
import org.jetbrains.annotations.Nullable;
import java.util.Map;
@@ -37,6 +38,15 @@ public class BlockRenderingSettings {
reloadRequired = false;
}
public void reloadRendererIfRequired() {
if (isReloadRequired()) {
if (Minecraft.getMinecraft().renderGlobal != null) {
Minecraft.getMinecraft().renderGlobal.loadRenderers();
}
clearReloadRequired();
}
}
@Nullable
public Object2IntMap<Block> getBlockMatches() {
return blockMatches;