NBT
NBT copied to clipboard
Make CompoundTag Map-compatible
Title says it all :)
In the spirit of #74, if ListTag
and ListTag.iterateType
are Collection
-/List
-compatible why shouldn't CompoundTag
be Map
compatible :)
I opted to add the Object
-typed Map
methods as deprecated methods instead of widening the parameters of the existing methods to keep type-safety, but that can be changed of course.
I think GitHub is having a bad day today... I think everything is set up as it should now though 🤔