portal guns WORK NOW BABYYYYYYY

This commit is contained in:
craisinlord committed 2026-10-07 22:14:16 -05:00
1 parent 39688c70ad
commit dcf5eb3cb1
44 files changed
+1566 -2441

No files matched your search

+5
View File
@@ -49,6 +49,11 @@ dependencies {
if (providers.gradleProperty('antarchySodiumCompatTest').orNull == 'true') {
runtimeOnly(files(rootProject.file("infinite_dimensions_jars/sodium-neoforge-0.8.13+mc1.21.1.jar")))
}
// Sodium — compile-only, for portal live views drawn through Sodium's renderer
// (content/client/renderer/sodium, mixins/compat/sodium). Never bundled; that code only
// loads when Sodium is installed. The published jar nests the mod jar, so compile against it.
compileOnly(files(zipTree(rootProject.file("infinite_dimensions_jars/sodium-neoforge-0.8.13+mc1.21.1.jar"))
.matching { include "META-INF/jarjar/net.caffeinemc.sodium-neoforge-*-mod.jar" }))
compileOnly(files(rootProject.file("infinite_dimensions_jars/antos-neoforge-1.21.1-${antos_version}.jar")))
runtimeOnly(files(rootProject.file("infinite_dimensions_jars/antos-neoforge-1.21.1-${antos_version}.jar")))
compileOnly("curse.maven:intapi-${intapi_curseforge_id}:${intapi_curseforge_file_id_neoforge}")
@@ -2,7 +2,6 @@ package com.craisinlord.antarchy.neoforge.client;
import com.craisinlord.antarchy.Antarchy;
import com.craisinlord.antarchy.content.client.GoopedHudRenderer;
import com.craisinlord.antarchy.content.client.PortalGunCrosshairRenderer;
import com.craisinlord.antarchy.content.client.AntarchyArchivePreviews;
import com.craisinlord.antarchy.content.client.game.AntarchyComputerGames;
import com.craisinlord.antarchy.content.client.HordeHudRenderer;
@@ -385,11 +384,6 @@ public final class AntarchyNeoForgeClient {
@SubscribeEvent
public static void registerGuiLayers(RegisterGuiLayersEvent event) {
event.registerAbove(
VanillaGuiLayers.CROSSHAIR,
ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "portal_gun_crosshair"),
(guiGraphics, partialTick) -> PortalGunCrosshairRenderer.render(guiGraphics)
);
event.registerAboveAll(
ResourceLocation.fromNamespaceAndPath(Antarchy.MODID, "dread_darkness"),
(guiGraphics, partialTick) -> DreadHudRenderer.render(guiGraphics)