net.minecraft.util
Class ThreadDownloadResources
java.lang.Object
java.lang.Thread
net.minecraft.util.ThreadDownloadResources
- All Implemented Interfaces:
- Runnable
public class ThreadDownloadResources
- extends Thread
Method Summary |
void |
closeMinecraft()
Called when Minecraft is closing down. |
void |
reloadResources()
Reloads the resource folder and passes the resources to Minecraft to install. |
void |
run()
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
resourcesFolder
public File resourcesFolder
- The folder to store the resources in.
ThreadDownloadResources
public ThreadDownloadResources(File par1File,
Minecraft par2Minecraft)
run
public void run()
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
reloadResources
public void reloadResources()
- Reloads the resource folder and passes the resources to Minecraft to install.
closeMinecraft
public void closeMinecraft()
- Called when Minecraft is closing down.