From 8afa58f0140a042be96fe77742cb02ecfb6fcfab Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 4 Jun 2024 22:41:56 +0100 Subject: [PATCH] Deprecate moved classes --- .../com/minelittlepony/client/util/render/RenderLayerUtil.java | 1 + .../java/com/minelittlepony/client/util/render/RenderList.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/minelittlepony/client/util/render/RenderLayerUtil.java b/src/main/java/com/minelittlepony/client/util/render/RenderLayerUtil.java index 69e5b3b2..fcc40c66 100644 --- a/src/main/java/com/minelittlepony/client/util/render/RenderLayerUtil.java +++ b/src/main/java/com/minelittlepony/client/util/render/RenderLayerUtil.java @@ -4,6 +4,7 @@ import java.util.Optional; import net.minecraft.client.render.*; import net.minecraft.util.Identifier; +@Deprecated public interface RenderLayerUtil { static Optional getTexture(RenderLayer layer) { if (layer instanceof RenderLayer.MultiPhase multiphase) { diff --git a/src/main/java/com/minelittlepony/client/util/render/RenderList.java b/src/main/java/com/minelittlepony/client/util/render/RenderList.java index 02dc0c5c..a9e5efeb 100644 --- a/src/main/java/com/minelittlepony/client/util/render/RenderList.java +++ b/src/main/java/com/minelittlepony/client/util/render/RenderList.java @@ -8,6 +8,7 @@ import java.util.*; import java.util.function.BooleanSupplier; import java.util.function.Consumer; +@Deprecated public interface RenderList { void accept(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha);