asMapView

open override fun asMapView(): Map<String, NBT>

Returns a Map representing this compound. The map is not modifiable if this is a NBTCompound, which is immutable.