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
@@ -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.parseSettingsClass(CarpetSettings.class);
extensions.forEach(CarpetExtension::onGameStarted);
FabricAPIHooks.initialize();
//FabricAPIHooks.initialize();
CarpetScriptServer.parseFunctionClasses();
}
@@ -1,5 +1,5 @@
package carpet.utils;
/*
import carpet.network.CarpetClient;
import com.mojang.blaze3d.systems.RenderSystem;
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.Version;
import net.fabricmc.loader.api.VersionParsingException;
*/
public class FabricAPIHooks {
/*
public static final boolean WORLD_RENDER_EVENTS = hasMod("fabric-rendering-v1", "1.5.0");
private FabricAPIHooks() {
@@ -17,7 +17,7 @@ public class FabricAPIHooks {
public static void initialize() {
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.
CarpetClient.shapes.render(context.matrixStack(), context.camera(), context.tickDelta());
}
@@ -39,4 +39,6 @@ public class FabricAPIHooks {
return false;
}).orElse(false);
}
*/
}