public static void setTab(WikiTab tab) { if (!isTabSelected(tab)) { gui.tab = tab; gui.mc .getSoundHandler() .playSound( PositionedSoundRecord.func_147674_a(new ResourceLocation("gui.button.press"), 1.0F)); } }