Hello, what code do I need to add to make the custom message appear lime in chat? The code is below!
-------------------------------------------------------------------------------------------------------------------------------------
super.onFoodEaten(item, world, player);
if(!world.isRemote){
player.dropItem(Items.emerald, 1);
MinecraftServer.getServer().getConfigurationManager().sendChatMsg(new ChatComponentText(player.getDisplayName() + " successfully completed the 'Poop Eating Challenge' and was rewarded an emerald!!"));