Troubleshooting

## Where is My Minecraft Directory?

Your Minecraft folder can be found in different locations depending on your operating system.

 Mac OS
 Linux

On Windows, you can quickly access the AppData folder for your current account by selecting Start -> Run... and then typing "%appdata%" into the dialogue box, as below.

## How Can I Improve Performance?

* Set the Performance Settings seen below. Fast Render to Off, Chunk Updates to 1, Smart Animations to On.

* In Video Settings > Quality, set Mipmap Levels to 3 or lower.

* Lower your render distance.

* Allocate more memory to Minecraft in the launcher. The example below allocates 4GB of RAM to Minecraft (do not use more than 6). Be sure your computer can handle the increase!

* If you followed all the steps above and you performance hasn't improved, check if your Minecraft uses correct GPU. Press F3 and on the right side of the screen you can read which graphics card Minecraft is currently using.
	+ To ensure Minecraft uses an NVIDIA card, launch the NVIDIA control panel, and under 3D settings, select "Manage 3D Settings" Under the Program Settings tab, click on the 'Add' button and locate your javaw.exe (Located at C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0\_51\bin or C:\Program Files\Minecraft\runtime\jre-x64\1.8.0\_51\bin).

## My computer will not allocate memory to Minecraft via the -Xmx Parameter

On Windows, try the following:

* Press the Windows Key + R (this opens the Run dialog)
* Type in: sysdm.cpl SystemProperties
* Go to the Advanced Tab
* Click the button Environment Variables (lower right corner)
* Find \_JAVA\_OPTIONS and Delete it
* Restart the Minecraft Launcher if it's still running.
* Now the -Xmx parameter in the Launcher should work properly.

## Crash Fixes

### Mipmap Crash

A mipmap crash produces the following error:

To fix it, you must manually edit the .minecraft/options file so that the proper mipmapLevels equals 0.

### Invalid move player packet received

This game-breaking crash is reported under MC-147152 and fixed on Minecraft 1.14.

To fix this crash you need to use an external tool called "NBTExplorer" which allows modifying data NBT data of a world. NBT is the way Minecraft stores data.

Once you have it downloaded, proceed as follows:

1. Be sure **your world is unloaded**, if you are playing in a vanilla server shut it down first.
2. Find your *Witchcraft and Wizardry* copy and click the drop-down.
3. Find the *playerdata* drop-down, there should be one element or multiple elements, it dependes whether you play singleplayer or multiplayer. Each element is an UUID, so you have to look for the element with the player's UUID who is experiencing issues (to know a player UUID, you can use tools like https://mcuuid.net).
4. Inside the *playerdata* drop-down, find *Pos* and *Rotation*.
5. In *Pos*:
	1. Replace first element with **2327**
	2. Replace second element with **71**
	3. Replace last element with **-945**
6. In *Rotation*:
	1. Replace first element with **51**
	2. Replace second element with **5**
7. Outside the *playerdata* drop-down, locate *level.dat*, then locate *Player*.
8. Find under *Player* both *Pos* and *Rotation*, and repeat steps 5 and 6 for both of them.
9. Click the *save* icon and close NBTExplorer. Try joining your world.

## How Do I Take a Screenshot?

Press PrtScn to take a screenshot depending on your computer's settings, F2 (Fn+F2 on some laptops) to save a screenshot to your .minecraft/screenshots folder. On Windows, you may also be able to use Win+Shift+S to take a screenshot.

## How do I see my coordinates?

This wiki sometimes lists coordinates of hard-to-find objects for extra clarity. To see your coordinates on the current map, hit F3 (Fn+F3 on some laptops). You will be able to see your current position under the heading "XYZ," and can also see the coordinates of the block you are currently looking at under "Looking at block."

Make sure you are on the right map! Hogwarts, Hogsmeade, the various lessons, and so on, each exist in their own spaces with their own coordinates!

## I can't complete the Burrow Infestation quest

This quest has an error in some older releases, but should be fixed in 1.0. To fix it, go to .minecraft/saves, find the folder that holds the Witchcraft & Wizardry map, and then navigate to datapacks/hp/data/hp/functions/quests/quests/burrow\_infestation/function.mcfunction, and in line 21, replace `runn` with `run`

Then reload the map and reselect the quest to fix it.

## How do I add Azkaban to my Marauder's Map?

This is bugged in the 1.0 release and will unfortunately never unlock. It is supposed to unlock after you complete the quest, Azkaban, and works properly in version 1.1.

You can unlock the map using the command /function hp:discovery/regions/azkaban.

## Keys don't work

Keys don't work if you changed your Minecraft controls. A fix for this can be resetting your controls. If you don't want to reset your controls you can just perform the action the key does by default:

 F
 Q
 E

## Entities turn yellow when highlighted

Entities turn completely yellow, while highlighted, if you set Fast Render to ON.

You can turn Fast Render OFF by following these steps:

* go to Options

* go to Video Settings

* go to Performance Settings

* click on "Fast Render: ON" to turn it off

Now highlighted entities should look normal.

## Additional Questions

If you have a question not answered above, ask it on the Discord.