Buggy code:
@ Interface ( iface = "vazkii.botania.api.item.ICosmeticAttachable" , modid = "Botania" ) public class ItemTravellersGear extends Item implements IBauble , ITravellersGear , ICosmeticAttachable { public static String [ ] subNames = new String [ ] { "cloak" , "belt" , "ringGold" , "ringSilver" , "pauldrons" , "vambraces" , "title" } ; IIcon [ ] icons = new IIcon [ ItemTravellersGear . subNames . length ] ; static String [ ] titles = new String [ ] { "treepuncher" , "titan" , "librarian" , "bursar" , "archchancellor" , "justicar" , "explorer" , "defender" , "seeker" , "boxFox" , "freshPrince" } ; public ItemTravellersGear ( ) { } @ Override public void registerIcons ( IIconRegister ir ) { } @ Override public IIcon getIconFromDamage ( int meta ) { } @ Override @ SideOnly ( Side . CLIENT ) public void getSubItems ( Item item , CreativeTabs tab , List list ) { } @ Override public String getUnlocalizedName ( ItemStack stack ) { } @ Override public void addInformation ( ItemStack stack , EntityPlayer player , List list , boolean bool ) { String type = ( ( getSlot ( stack ) ) > 0 ) ? "tg." + ( getSlot ( stack ) ) : "bauble." + ( getBaubleType ( stack ) ) ; list . add ( StatCollector . translateToLocalFormatted ( ( "TG.desc.gearSlot." + type ) ) ) ; if ( ( stack . hasTagCompound ( ) ) && ( stack . getTagCompound ( ) . hasKey ( "title" ) ) ) list . add ( StatCollector . translateToLocal ( stack . getTagCompound ( ) . getString ( "title" ) ) ) ; <START_BUG> if ( Loader . isModLoaded ( "Baubles" ) ) { <END_BUG> ItemStack cosmetic = getCosmeticItem ( stack ) ; if ( cosmetic != null ) list . add ( String . format ( StatCollector . translateToLocal ( "botaniamisc.hasCosmetic" ) , cosmetic . getDisplayName ( ) ) . replaceAll ( "&" , "§" ) ) ; } } @ Override @ SideOnly ( Side . CLIENT ) public String getArmorTexture ( ItemStack stack , Entity entity , int slot , String type ) { } @ Override @ SideOnly ( Side . CLIENT ) public ModelBiped getArmorModel ( EntityLivingBase entityLiving , ItemStack stack , int armorSlot ) { } @ Override public int getSlot ( ItemStack stack ) { } @ Override public boolean canEquip ( ItemStack stack , EntityLivingBase living ) { } @ Override public boolean canUnequip ( ItemStack stack , EntityLivingBase living ) { } @ Override public BaubleType getBaubleType ( ItemStack stack ) { } @ Override public void onEquipped ( ItemStack stack , EntityLivingBase living ) { } @ Override public void onUnequipped ( ItemStack stack , EntityLivingBase living ) { } @ Override public void onWornTick ( ItemStack stack , EntityLivingBase living ) { } public void onEquippedOrLoaded ( ItemStack stack , EntityLivingBase living ) { } @ Override public ItemStack onItemRightClick ( ItemStack stack , World world , EntityPlayer player ) { } @ Override public void onTravelGearTick ( EntityPlayer player , ItemStack stack ) { } @ Override public void onTravelGearEquip ( EntityPlayer player , ItemStack stack ) { } @ Override public void onTravelGearUnequip ( EntityPlayer player , ItemStack stack ) { } @ Override public int getColorFromItemStack ( ItemStack stack , int pass ) { } public void setColorForItemStack ( ItemStack stack , int colour ) { } @ Override public WeightedRandomChestContent getChestGenBase ( ChestGenHooks chest , Random random , WeightedRandomChestContent original ) { } @ Method ( modid = "Botania" ) public ItemStack getCosmeticItem ( ItemStack stack ) { } @ Method ( modid = "Botania" ) public void setCosmeticItem ( ItemStack stack , ItemStack cosmetic ) { } No newline ; at end ; of file ; }

Fix:
if ( Loader . isModLoaded ( "Botania" ) ) {