Hello everyone! I'm trying to have a event take place when a player uses a spawn egg. For specified purpose, I need to know the specific meta ID of it. An example of this would be if a player used a pig egg it would send me 383:90. So far, I can definitely get it to sell me "MONSTER_EGG", or "383" or, some huge hash code xD But I'm not sure on the specific string of methods to get the actual meta code. I'm currently trying things like: Integer VariableName = player.getItemInHand().*rest of the stuff here* Anyone have any ideas? I'm open for anything!