Clean up some things that aren't being used any more

This commit is contained in:
Sollace 2022-09-11 12:45:23 +02:00
parent bd8640f5fe
commit 5e23b7520e
2 changed files with 0 additions and 7 deletions

View file

@ -28,11 +28,6 @@ public class SpellbookModel extends EntityModel<SpellbookEntity> {
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;

View file

@ -13,8 +13,6 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.math.MathHelper;
public class SpellbookState extends Synchronizable<SpellbookState> implements NbtSerialisable {
public static final SpellbookState INSTANCE = new SpellbookState();
private Optional<Identifier> currentPageId = Optional.empty();
private final Map<Identifier, PageState> states = new HashMap<>();