SwingAnimation record
Vanilla's SwingAnimation.
public sealed record SwingAnimation : INetworkSerializable<SwingAnimation>, IEquatable<SwingAnimation>
In Obsidian.API.
Constructors
public SwingAnimation();Properties
public required int Duration { get; init; }public required SwingAnimationType Type { get; init; }Methods
public static SwingAnimation Read(INetStreamReader reader);public static void Write(SwingAnimation value, INetStreamWriter writer);