yeet fabric, not needed, 1.19.3-pre1

This commit is contained in:
gnembon committed 2022-11-22 18:23:31 +01:00
1 parent 176b576c30
commit f7d9f662fd
4 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway. // Fabric API. This is technically optional, but you probably want it anyway.
//modImplementation "net.fabricmc:fabric:${project.fabric_version}" //modImplementation "net.fabricmc:fabric:${project.fabric_version}"
modCompileOnly fabricApi.module("fabric-rendering-v1", project.fabric_version) //modCompileOnly fabricApi.module("fabric-rendering-v1", project.fabric_version)
// PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs.
// You may need to force-disable transitiveness on them. // You may need to force-disable transitiveness on them.
+1 -1
View File
@@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
# or better: https://modmuss50.me/fabric.html # or better: https://modmuss50.me/fabric.html
minecraft_version=22w46a minecraft_version=1.19.3-pre1
loader_version=0.14.10 loader_version=0.14.10
fabric_version=0.66.4+1.19.3 fabric_version=0.66.4+1.19.3
+1 -1
View File
@@ -80,7 +80,7 @@ public class CarpetServer // static for now - easier to handle all around the co
settingsManager = new carpet.settings.SettingsManager(CarpetSettings.carpetVersion, "carpet", "Carpet Mod"); settingsManager = new carpet.settings.SettingsManager(CarpetSettings.carpetVersion, "carpet", "Carpet Mod");
settingsManager.parseSettingsClass(CarpetSettings.class); settingsManager.parseSettingsClass(CarpetSettings.class);
extensions.forEach(CarpetExtension::onGameStarted); extensions.forEach(CarpetExtension::onGameStarted);
FabricAPIHooks.initialize(); //FabricAPIHooks.initialize();
CarpetScriptServer.parseFunctionClasses(); CarpetScriptServer.parseFunctionClasses();
} }
@@ -1,5 +1,5 @@
package carpet.utils; package carpet.utils;
/*
import carpet.network.CarpetClient; import carpet.network.CarpetClient;
import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.systems.RenderSystem;
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents; import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents;
@@ -7,9 +7,9 @@ import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.SemanticVersion; import net.fabricmc.loader.api.SemanticVersion;
import net.fabricmc.loader.api.Version; import net.fabricmc.loader.api.Version;
import net.fabricmc.loader.api.VersionParsingException; import net.fabricmc.loader.api.VersionParsingException;
*/
public class FabricAPIHooks { public class FabricAPIHooks {
/*
public static final boolean WORLD_RENDER_EVENTS = hasMod("fabric-rendering-v1", "1.5.0"); public static final boolean WORLD_RENDER_EVENTS = hasMod("fabric-rendering-v1", "1.5.0");
private FabricAPIHooks() { private FabricAPIHooks() {
@@ -17,7 +17,7 @@ public class FabricAPIHooks {
public static void initialize() { public static void initialize() {
if (WORLD_RENDER_EVENTS) { if (WORLD_RENDER_EVENTS) {
WorldRenderEvents.BEFORE_DEBUG_RENDER.register(context -> { //WorldRenderEvents.BEFORE_DEBUG_RENDER.register(context -> {
if (false) {//(CarpetClient.shapes != null) { // likely won't need it. if (false) {//(CarpetClient.shapes != null) { // likely won't need it.
CarpetClient.shapes.render(context.matrixStack(), context.camera(), context.tickDelta()); CarpetClient.shapes.render(context.matrixStack(), context.camera(), context.tickDelta());
} }
@@ -39,4 +39,6 @@ public class FabricAPIHooks {
return false; return false;
}).orElse(false); }).orElse(false);
} }
*/
} }