Revert to code in @YLivay's PR
Use InventoryCreativeEvent
Add getSlotType() from @YLivay's PR