# IMappetUIContext.getData [← IMappetUIContext](index.md) · [← Master](../../wiki.md) getData() INBTCompound Get the NBT compound of the UI data.