// Generated by delombok at Tue Dec 16 19:35:03 UTC 2025
package net.md_5.bungee.nbt.type;

import java.io.DataInput;
import java.io.DataOutput;
import net.md_5.bungee.nbt.Tag;
import net.md_5.bungee.nbt.TypedTag;
import net.md_5.bungee.nbt.limit.NBTLimiter;

public class EndTag implements TypedTag {
    public static final EndTag INSTANCE = new EndTag();

    @Override
    public void read(DataInput input, NBTLimiter limiter) {
        limiter.countBytes(OBJECT_HEADER);
    }

    @Override
    public void write(DataOutput output) {
    }

    @Override
    public byte getId() {
        return Tag.END;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public boolean equals(final java.lang.Object o) {
        if (o == this) return true;
        if (!(o instanceof EndTag)) return false;
        final EndTag other = (EndTag) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof EndTag;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int result = 1;
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "EndTag()";
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public EndTag() {
    }
}
