diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4b270af22..4b6f7adb0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -3,7 +3,7 @@ name: Build
on: [ workflow_dispatch, pull_request, push ]
env:
- JAVA_VERSION: 17
+ JAVA_VERSION: 21
jobs:
build:
@@ -43,13 +43,13 @@ jobs:
path: |
common/build/libs/
fabric/build/libs/
- forge/build/libs/
+ neoforge/build/libs/
test:
strategy:
fail-fast: false
matrix:
- loader: [ forge, fabric ]
+ loader: [ neoforge, fabric ]
needs: build
runs-on: ubuntu-latest
steps:
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 09e510ed6..fc9aab75d 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -8,8 +8,8 @@ plugins {
repositories {
gradlePluginPortal()
mavenCentral()
- maven("https://maven.minecraftforge.net/") {
- name = "MinecraftForge"
+ maven("https://maven.neoforged.net/releases/") {
+ name = "NeoForged"
}
maven("https://maven.architectury.dev/") {
name = "Architectury"
diff --git a/buildSrc/src/main/kotlin/dev/engine_room/gradle/subproject/SubprojectPlugin.kt b/buildSrc/src/main/kotlin/dev/engine_room/gradle/subproject/SubprojectPlugin.kt
index 6c3230f0d..0b4756938 100644
--- a/buildSrc/src/main/kotlin/dev/engine_room/gradle/subproject/SubprojectPlugin.kt
+++ b/buildSrc/src/main/kotlin/dev/engine_room/gradle/subproject/SubprojectPlugin.kt
@@ -166,7 +166,7 @@ class SubprojectPlugin: Plugin
Upon chunk bake, block entities of the given type will have {@code shouldRender} evaluated.
- *
If all predicates returns {@code true} (and the block entity has a renderer), the block entity will be
- * added to the chunk for future rendering.
Mods that need to enable custom workarounds for shaders - * should use this method. - * - * @return Whether shaders are being used for rendering. - * @since {@link #getMinorApiRevision() API v0.0} - */ - boolean isShaderPackInUse(); - - /** - * Checks whether the shadow pass is currently being rendered. - * - *
Generally, mods won't need to call this function for much. - * Mods should be fine with things being rendered multiple times - * each frame from different camera perspectives. Often, there's - * a better approach to fixing bugs than calling this function. - * - *
Pretty much the main legitimate use for this function that - * I've seen is in a mod like Immersive Portals, where it has - * very custom culling that doesn't work when the Iris shadow - * pass is active. - * - *
Naturally, this function can only return true if
- * {@link #isShaderPackInUse()} returns true.
- *
- * @return Whether Iris is currently rendering the shadow pass.
- * @since API v0.0
- */
- boolean isRenderingShadowPass();
-
- /**
- * Opens the main Iris GUI screen. It's up to Iris to decide
- * what this screen is, but generally this is the shader selection
- * screen.
- *
- * This method takes and returns Objects instead of any concrete
- * Minecraft screen class to avoid referencing Minecraft classes.
- * Nevertheless, the passed parent must either be null, or an
- * object that is a subclass of the appropriate {@code Screen}
- * class for the given Minecraft version.
- *
- * @param parent The parent screen, an instance of the appropriate
- * {@code Screen} class.
- * @return A {@code Screen} class for the main Iris GUI screen.
- * @since API v0.0
- */
- Object openMainIrisScreenObj(Object parent);
-
- /**
- * Gets the language key of the main screen. Currently, this
- * is "options.iris.shaderPackSelection".
- *
- * @return the language key, for use with {@code TranslatableText}
- * / {@code TranslatableComponent}
- * @since API v0.0
- */
- String getMainScreenLanguageKey();
-
-// /**
-// * Gets a config object that can edit the Iris configuration.
-// * @since API v0.0
-// */
-// IrisApiConfig getConfig();
-
-// /**
-// * Gets a text vertex sink to render into.
-// * @param maxQuadCount Maximum amount of quads that will be rendered with this sink
-// * @param bufferProvider An IntFunction that can provide a {@code ByteBuffer} with at minimum the bytes provided by the input parameter
-// * @since API 0.1
-// */
-// IrisTextVertexSink createTextVertexSink(int maxQuadCount, IntFunction