mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Clean up some things that aren't being used any more
This commit is contained in:
parent
bd8640f5fe
commit
5e23b7520e
2 changed files with 0 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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<>();
|
||||
|
|
Loading…
Reference in a new issue