declare namespace org {
    namespace bukkit {
        namespace inventory {
            // @ts-ignore
            interface InventoryHolder {
                /**
                 * Get the object's inventory.
                 */
                 getInventory(): org.bukkit.inventory.Inventory;
            }
        }
    }
}
