Mac OS X: Learning keyboard shortcuts is one of the best ways to enhance your productivity, but there are tons to learn—especially when you count individual applications' own special shortcuts. KEYSTACK takes a series of keystrokes and feeds them to a program or command as if they were typed at the keyboard. When the program has used all of the keystrokes in the keystack buffer, it will begin to read the keyboard for input, as it normally would. KEYSTACK will send the keystrokes to.
Modifying this control will update this page automatically
Safari User Guide
Here are shortcuts you can use, in addition to those that appear in Safari menus.
Webpages
Action | Shortcut or gesture |
---|---|
Scroll up, down, left, or right | Press the arrow keys. |
Scroll in larger increments | Press Option while you press an arrow key. |
Scroll down a screen | Page Down Space bar |
Scroll up a screen | Page Up Shift–Space bar |
Scroll to the top-left or bottom-left corner of the page | Command–Up Arrow or Home Command–Down Arrow or End |
Highlight the next item on a webpage | Tab highlights the next text field or pop-up menu. Tab also highlights buttons and other controls if “All controls” is selected in the Shortcuts pane of the Keyboard pane of System Preferences. Option-Tab highlights the same items as Tab plus all other clickable items. To swap the behavior of Tab and Option-Tab, turn on “Press Tab to highlight each item on a webpage” in the Advanced pane of Safari preferences. |
Show all tabs | Shift-Command- |
Open a page in a new tab | Command-click a link Command-click a bookmark Command-Return after typing in the Smart Search field. |
Open a page in a new tab, and make that tab the active tab | Shift-Command-click a link Shift-Command-click a bookmark Shift-Command-Return after typing in the Smart Search field. |
Make the next tab the active tab | Control-Tab or Shift-Command-] |
Make the previous tab the active tab | Control-Shift-Tab or Shift-Command -[ |
Select one of your first nine tabs | Command-1 to Command-9 |
Close all tabs except for one | Option-click the close button on the tab you want to leave open |
Reopen the last tab or window you closed | Shift-Command-T |
See a list of your recently visited pages by name | Hold down the Back or Forward button until the list appears |
See a list of your recently visited pages by web address (URL) | Press Option and hold down the Back or Forward button until the list appears |
Go to your homepage | Command-Home key |
While typing in the Smart Search field, restore the current webpage address | Esc |
Close Reader | Esc |
Exit full-screen view | Esc |
Download a linked file | Option-click a link to the file |
Open a downloaded file | Double-click the file in the downloads list |
Zoom website content | Press Command-Plus Sign (+) or Command-Minus Sign (-) |
Zoom website text | Press Option while you choose View > Make Text Bigger or View > Make Text Smaller |
Reading List
Action | Shortcut or gesture |
---|---|
Show or Hide the Reading List sidebar | Control-Command-2 |
Add the current page | Shift-Command-D |
Add a linked page | Shift-click a link to the page |
Remove a page | Control-click the page summary in the sidebar, then choose Remove Item. You can also swipe left over the page summary, then click Remove. Or, swipe all the way to the left until the page summary disappears. |
Bookmarks
Action | Shortcut or gesture |
---|---|
Add a bookmark to the Favorites bar | Click the Smart Search field to show the page’s full address and its icon, then drag the icon to the Favorites bar |
Open all bookmarks from a folder in the Favorites bar | Command-click the folder in the Favorites bar |
Move a bookmark on the Favorites bar | Drag the bookmark left or right |
Remove a bookmark from the Favorites bar | Drag the bookmark off the top of the bar |
Bookmarks sidebar and bookmarks view
Action | Shortcut or gesture |
---|---|
Show or Hide the Bookmarks sidebar | Control-Command-1 |
Select bookmarks and folders in the sidebar | Command-click each bookmark and folder Shift-click to extend the selection |
Select the next bookmark or folder | Up Arrow or Down Arrow |
Open the selected bookmark | Space bar |
Open the selected folder | Space bar or Right Arrow |
Close the selected folder | Space bar or Left Arrow |
Change the name or address of a bookmark | Select the bookmark, then press Return You can also force click the bookmark |
Cancel editing a bookmark name in the sidebar | Esc |
Finish editing a bookmark name | Return |
Create a folder containing the selected bookmarks and folders in bookmarks view | Option-click the New Folder button near the top-right corner |
Delete a bookmark | Select the bookmark, then press Delete |
See alsoApple Support article: Mac keyboard shortcutsTake screenshots or screen recordings on Mac
< Mods
The contents of this page are not supported by Mojang AB, the Minecraft Wiki, or the Minecraft Forums. |
This tutorial requires launching Batch/Shell files, and if you do not have a fair amount of knowledge about these files, your system could be damaged. Please read carefully when following the instructions below. |
To begin modding, you must first download a few programs. A list of tools needed for these tutorials is above. A step-by-step tutorial for installing the programs and setting up the modding workspace is below (If instructions are different for a certain operating system in a step, there will be instructions provided for Windows, Mac OS X, and Linux).
- First, download the most recent version of Java SE Development Kit for your system. You must know your operating system and whether it is 32-bit or 64-bit (if you are unsure of if you have a 32-bit or 64-bit system, see the Troubleshooting section of this page). Clicking the button for the Java Platform (JDK) <version> will take you to the page where you select the package for your system. You have to click the button 'Accept License Agreement' to be able to start the download. When you have an installation package downloaded, launch it and follow the instructions for installation.
Skip to step number 2. Note that if you have a J2EE dev kit installed you are already good to go .. you do not need the SE JDK. - Once you have the Java SE Development Kit (JDK) installed, download the Mod Coder Pack for the version of Minecraft you want to mod. The file should be a compressed folder (
.zip
). Leave this file on your desktop for now. Now, create a new folder for wherever you would like to have all of your modding workspaces. Drag the compressed folder you downloaded into this new folder. In this new folder, create another folder. Here, you will store the files for your first mod. - Now, direct yourself back to the first folder you created in this tutorial. Open the compressed folder. In this folder, you should see many Batch (
.bat
) and Shell (.sh
) files. Select everything in the compressed folder, and extract it to the most recent folder you created. - Close the compressed file. Do not delete it, as if you ever plan to create another modding workspace, you will need to extract its contents to that workspace.
- (Optional) Now, you will need to retrieve a clean (no mods) minecraft_server.jar. Copy the downloaded 'minecraft_server.jar' to the 'jars' folder under your mod folder.
- There are two files you will need to run. Follow the instructions below for your system.
Open 'updatemcp.bat' like you would open any other file. A new Command Prompt window should open. This window should have the MCP version and Minecraft version in the first line. If updates are available, you will see a line saying 'You are going to update MCP. Are you sure you want to continue? If you really want to update, enter 'Yes'. Type in 'Yes' (without quotation marks). Let it run until it says 'Press any key to continue...'. Press any key. The window should close. If updates are not available, it will say 'No new updates found. Press any key to continue...'. Press any key. The window should close. Next, run the 'decompile.bat' file. This may take a long time, yet let it run until it says 'Press any key to continue...'. Press any key. The window should close.
Open Terminal. Typecd .
Include the space! Now drag your mod's folder into Terminal and press Enter. Then type,bash updatemcp.sh
. Then, the window should have the MCP version and Minecraft version in the next line. If updates are available, you will see a line saying 'You are going to update MCP. Are you sure you want to continue? If you really want to update, enter 'Yes'. Type in 'Yes' (without quotation marks). Let it run until it says 'Press any key to continue...'. Press any key. The window should close. If updates are not available, it will say 'No new updates found. Press any key to continue...'. Press any key. The window should close. Open Terminal again. Typecd
. Include the space! Now drag your mod's folder into Terminal and press Enter. Then type,bash decompile.sh
. This may take a long time, yet let it run until it says 'Press any key to continue...'. Press any key. The window should close.
NOTE: There are two ways to open the files on Linux. The easier method is described here. Right-click on 'updatemcp.sh'. Click on 'Properties'. Click on the 'Permissions' tab. Tick the 'Allow executing file as program' checkbox. Click 'Close'. Then, open 'updatemcp.sh' like any other file. A Terminal window should appear. This window should have the MCP version and Minecraft version in the first line. If updates are available, you will see a line saying 'You are going to update MCP. Are you sure you want to continue? If you really want to update, enter 'Yes'. Type in 'Yes' (without quotation marks). Let it run until it says 'Press any key to continue...'. Press any key. The window should close. If updates are not available, it will say 'No new updates found. Press any key to continue...'. Press any key. The window should close. Next, do the same as written above to 'decompile.sh'. Next, open the file like any other file. This may take a long time, yet let it run until it says 'Press any key to continue...'. Press any key. The window should close.
Note: 'updatemcp' updates any MCP files that can be updated. This is very important to run, as it could fix major bugs. 'decompile' decompiles the Minecraft JAR and minecraft_server.jar. This allows you to see the source code of Minecraft and mod it. Note that while decompiling, some warnings or errors may appear. An example of a warning that may appear includes 'Modified jar detected! Unpredictable results!!' This warning should appear, as ModLoader is installed. Do not worry about this. An error that may occur includes '1 out of 1 hunks failed'. This error also should appear, and will not damage any files or do anything to disrupt the decompiling process. - Now, you will need to access the source code. Create a new folder for all of your files for the program you will be downloading. Download Eclipse for your system. Open it.
- This is the last step for this tutorial. If you have not already, launch Eclipse. Then, go to your mod's folder. Open the folder titled 'eclipse'. Copy the file path for this folder. Then, go back to your Eclipse window. The window, once it has loaded, should say 'Select a workspace'. In the box titled 'Workspace:', paste the file path. If you had trouble copying the file path, you can also click 'Browse...' and direct the program the 'eclipse' folder in your mod's folder. Once you have retrieved the file path, click 'OK'. Wait for Eclipse to load. On the left, a window titled 'Package Explorer' should contain two folders, 'Client' and 'Server'. Click the arrow next to 'Client'. Then, click the arrow next to 'src'. Next, click the arrow next to
net.minecraft.src
. If you see several.java
files, you have successfully decompiled Minecraft.
Troubleshooting[edit]
- If you are unsure of whether your system is 32-bit or 64-bit, follow the instructions below for your system.
- Click on the Start button. Right-click 'Computer'. Click 'Properties'. Under the 'System' section, look for 'System type:'. Next to this should say whether you have a 32-bit or 64-bit system.
- Versions of macOS 10.8 'Mountain Lion' and newer will always be 64-bit as 32-bit versions of the OS were never made. Versions of macOS 10.7 'Lion' and older, see this link to see if your system is 64-bit or 32-bit.
- Open Terminal. Run the following command: '
uname -a
' (without quotation marks). The output should be a long line. Somewhere in the line, there should be either 'x86_64 GNU/Linux' or 'i386/i486/i586/i686'. The first one means your system is 64-bit. The second means it is 32-bit.
- If terminal shows following error:
KeyError: 'osx'
. see https://github.com/ModCoderPack/MCPBot-Issues/issues/501 by modifingMinecraftDiscovery.py
in/runtime/
- If you receive the following error when decompiling:
You forgot to install JDK or installed it incorrectly. Repeat Step 1 above.
- If you receive the following error when decompiling:
This error is supposed to occur, as you installed ModLoader. Ignore it, it will not disrupt anything.
See also[edit]
Retrieved from 'https://minecraft.gamepedia.com/index.php?title=Mods/Creating_mods/Setting_up_the_MCP_workspace&oldid=1408126'