Hmm. That makes sense. I had originally put NPCInventory in that spot but it was of course undefined.
What is the difference between a method being under the itemstack interface (like getDisplayName) and simply having Itemstack as a modifier (like createItem)? I thought that all IItemstack methods would be under that interface, so I didn't initially look for createItem in IWorld.