From 5e23b7520e9babdfce0c867bc6551a8ecffa07d1 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 11 Sep 2022 12:45:23 +0200 Subject: [PATCH] Clean up some things that aren't being used any more --- .../unicopia/client/render/entity/SpellbookModel.java | 5 ----- .../minelittlepony/unicopia/container/SpellbookState.java | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/client/render/entity/SpellbookModel.java b/src/main/java/com/minelittlepony/unicopia/client/render/entity/SpellbookModel.java index 9d475ec4..eb0cfd3d 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/render/entity/SpellbookModel.java +++ b/src/main/java/com/minelittlepony/unicopia/client/render/entity/SpellbookModel.java @@ -28,11 +28,6 @@ public class SpellbookModel extends EntityModel { book.render(matrices, vertexConsumer, light, overlay, red, green, blue, alpha); } - @Deprecated - public void setPageAngles(float breath, float leftPageRot, float rightPageRot, float openAngle) { - book.setPageAngles(breath, leftPageRot, rightPageRot, openAngle); - } - @Override public void setAngles(SpellbookEntity entity, float limbAngle, float limbDistance, float customAngle, float headYaw, float headPitch) { float breath = MathHelper.sin((entity.age + customAngle) / 20) * 0.01F + 0.1F; diff --git a/src/main/java/com/minelittlepony/unicopia/container/SpellbookState.java b/src/main/java/com/minelittlepony/unicopia/container/SpellbookState.java index 84f4d9f1..1d49de44 100644 --- a/src/main/java/com/minelittlepony/unicopia/container/SpellbookState.java +++ b/src/main/java/com/minelittlepony/unicopia/container/SpellbookState.java @@ -13,8 +13,6 @@ import net.minecraft.util.Identifier; import net.minecraft.util.math.MathHelper; public class SpellbookState extends Synchronizable implements NbtSerialisable { - public static final SpellbookState INSTANCE = new SpellbookState(); - private Optional currentPageId = Optional.empty(); private final Map states = new HashMap<>();