Deprecate moved classes

This commit is contained in:
Sollace 2024-06-04 22:41:56 +01:00
parent 20dda1d517
commit 8afa58f014
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 2 additions and 0 deletions

View file

@ -4,6 +4,7 @@ import java.util.Optional;
import net.minecraft.client.render.*; import net.minecraft.client.render.*;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
@Deprecated
public interface RenderLayerUtil { public interface RenderLayerUtil {
static Optional<Identifier> getTexture(RenderLayer layer) { static Optional<Identifier> getTexture(RenderLayer layer) {
if (layer instanceof RenderLayer.MultiPhase multiphase) { if (layer instanceof RenderLayer.MultiPhase multiphase) {

View file

@ -8,6 +8,7 @@ import java.util.*;
import java.util.function.BooleanSupplier; import java.util.function.BooleanSupplier;
import java.util.function.Consumer; import java.util.function.Consumer;
@Deprecated
public interface RenderList { public interface RenderList {
void accept(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha); void accept(MatrixStack stack, VertexConsumer vertices, int overlayUv, int lightUv, float red, float green, float blue, float alpha);