src/AnvilPacker/Data/NBT.cs
/// <summary> Gets the value of a PrimitiveTag at the specified index. </summary>
Gets the value of a PrimitiveTag at the specified index.
Gets the value of a PrimitiveTag at the specified index .
public T Get<T>(int index)
        {
            if (typeof(NbtTag).IsAssignableFrom(typeof(T))) {
                return (T)(object)_tags[index];
            }
            return ((PrimitiveTag)_tags[index]).Value<T>();
        }
public T Get < T > ( int index ) { if ( typeof ( NbtTag ) . IsAssignableFrom ( typeof ( T ) ) ) { return ( T ) ( object ) _tags [ index ] ; } return ( ( PrimitiveTag ) _tags [ index ] ) . Value < T > ( ) ; }
Gets the value of a PrimitiveTag at the specified index.
Gets the value of a PrimitiveTag at the specified index .
index
int