yeet fabric, not needed, 1.19.3-pre1
This commit is contained in:
1 parent
176b576c30
commit
f7d9f662fd
4 files changed
+9
-7
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user