I am trying to code a mod that adds random features...but I can't get my first key bind to register, any help would be greatly appreciated...
-KeyHandler.java-
package io.github.TooVeryIcey.Frostwave.Utils;
import java.awt.event.InputEvent;
import org.lwjgl.input.Keyboard;
import io.github.TooVeryIcey.Frostwave.Modules.Exploit.PlayerFinder;
import net.minecraft.client.settings.KeyBinding;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
public class KeyHandler {
private static final KeyBinding[] KeyBindings = null;{
KeyBindings[0] = new KeyBinding("Player Finder", Keyboard.KEY_NUMPAD1, "Frostwave");
for (int i = 0; i < KeyBindings.length; ++i)
{
ClientRegistry.registerKeyBinding(KeyBindings[i]);
}
}
@SideOnly(Side.CLIENT)
@SubscribeEvent(receiveCanceled = true)
public void onKeyEvent(InputEvent event) {
if (KeyBindings[0].isPressed()) {
PlayerFinder.togglePF();
}
}
}
Now, this may be because I didn't put it in the client side Initializer, however when I get the following crash report (I believe it gives me the same error if it is in PreInit, or Init):
-Console Output-
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
[10:20:30] [main/INFO] [GradleStart]: Extra: []
[10:20:30] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/2VeryIcey/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[10:20:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[10:20:30] [main/INFO] [FML]: Forge Mod Loader version 13.20.0.2253 for Minecraft 1.11.2 loading
[10:20:30] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_51, running on Mac OS X:x86_64:10.12.1, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home/jre
[10:20:30] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[10:20:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[10:20:30] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[10:20:30] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[10:20:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[10:20:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:30] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[10:20:32] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[10:20:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[10:20:32] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[10:20:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[10:20:33] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:20:33] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[10:20:33] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[10:20:35] [Client thread/INFO]: Setting user: Player36
[10:20:41] [Client thread/INFO]: LWJGL Version: 2.9.2
[10:20:41] [Client thread/INFO] [FML]: MinecraftForge v13.20.0.2253 Initialized
[10:20:41] [Client thread/INFO] [FML]: Replaced 232 ore recipes
[10:20:42] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[10:20:42] [Client thread/INFO] [FML]: Searching /Users/2VeryIcey/Documents/Games/Files/Minecraft/MC Clients/Frostwave/Developer-Assets/Forge/forge-1.11.2-13.20.0.2253-mdk/run/mods for mods
[10:20:43] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[10:20:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, frostwave] at CLIENT
[10:20:44] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, frostwave] at SERVER
[10:20:45] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Frostwave Client [Private]
[10:20:45] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[10:20:45] [Client thread/INFO] [FML]: Found 444 ObjectHolder annotations
[10:20:45] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[10:20:45] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[10:20:45] [Client thread/INFO] [FML]: Applying holder lookups
[10:20:45] [Client thread/INFO] [FML]: Holder lookups applied
[10:20:45] [Client thread/INFO] [FML]: Applying holder lookups
[10:20:45] [Client thread/INFO] [FML]: Holder lookups applied
[10:20:45] [Client thread/INFO] [FML]: Applying holder lookups
[10:20:45] [Client thread/INFO] [FML]: Holder lookups applied
[10:20:45] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[10:20:45] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[10:20:45] [Client thread/INFO]: [STDOUT]: -=Frostwave Client Pre-Initilization Began=-
[10:20:45] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Found status: OUTDATED Target: 13.20.0.2259
[10:20:48] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Injecting Process Began
[10:20:49] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Modifing File Names
[10:20:50] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Completed...
[10:20:51] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Accessing Root Directory
[10:20:53] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Located...Preparing Directory For Injection
[10:20:54] [Client thread/INFO]: [STDOUT]: -=Frostwave Client=- Completed...Preparing Files To Inject
[10:20:55] [Client thread/INFO]: [STDOUT]: -=Frostwave Client Pre-Initilization Completed=-
[10:20:55] [Client thread/INFO] [FML]: Applying holder lookups
[10:20:55] [Client thread/INFO] [FML]: Holder lookups applied
[10:20:55] [Client thread/INFO] [FML]: Injecting itemstacks
[10:20:55] [Client thread/INFO] [FML]: Itemstack injection complete
[10:20:58] [Sound Library Loader/INFO]: Starting up SoundSystem...
[10:20:58] [Thread-6/INFO]: Initializing LWJGL OpenAL
[10:20:58] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[10:21:00] [Thread-6/INFO]: OpenAL initialized.
[10:21:00] [Sound Library Loader/INFO]: Sound engine started
[10:21:05] [Client thread/INFO] [FML]: Max texture size: 8192
[10:21:06] [Client thread/INFO]: Created: 16x16 textures-atlas
[10:21:07] [Client thread/INFO]: [STDOUT]: -=Frostwave Client Initilization Began=-
[10:21:07] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
[10:21:07] [Client thread/ERROR] [FML]:
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHI minecraft{1.11.2} [Minecraft] (minecraft.jar)
UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.0.2253.jar)
UCHI forge{13.20.0.2253} [Minecraft Forge] (forgeSrc-1.11.2-13.20.0.2253.jar)
UCHE frostwave{0.1-Alpha} [Frostwave Client [Private]] (bin)
[10:21:07] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[10:21:07] [Client thread/ERROR] [FML]: Caught exception from Frostwave Client [Private] (frostwave)
java.lang.NullPointerException
at io.github.TooVeryIcey.Frostwave.Utils.KeyHandler.<init>(KeyHandler.java:19) ~[bin/:?]
at io.github.TooVeryIcey.Frostwave.proxy.Client.init(Client.java:38) ~[bin/:?]
at io.github.TooVeryIcey.Frostwave.Main.init(Main.java:47) ~[bin/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:643) ~[forgeSrc-1.11.2-13.20.0.2253.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:246) ~[forgeSrc-1.11.2-13.20.0.2253.jar:?]
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:224) ~[forgeSrc-1.11.2-13.20.0.2253.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:147) [LoadController.class:?]
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828) [Loader.class:?]
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:350) [FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.init(Minecraft.java:562) [Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
[10:21:07] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
// There are four lights!
Time: 3/18/17 10:21 AM
Description: There was a severe problem during mod loading that has caused the game to fail
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Frostwave Client [Private] (frostwave)
Caused by: java.lang.NullPointerException
at io.github.TooVeryIcey.Frostwave.Utils.KeyHandler.<init>(KeyHandler.java:19)
at io.github.TooVeryIcey.Frostwave.proxy.Client.init(Client.java:38)
at io.github.TooVeryIcey.Frostwave.Main.init(Main.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:643)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:246)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:147)
at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:828)
at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:350)
at net.minecraft.client.Minecraft.init(Minecraft.java:562)
at net.minecraft.client.Minecraft.run(Minecraft.java:387)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Mac OS X (x86_64) version 10.12.1
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 729292528 bytes (695 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.38 Powered by Forge 13.20.0.2253 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHI minecraft{1.11.2} [Minecraft] (minecraft.jar)
UCHI mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCHI FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.0.2253.jar)
UCHI forge{13.20.0.2253} [Minecraft Forge] (forgeSrc-1.11.2-13.20.0.2253.jar)
UCHE frostwave{0.1-Alpha} [Frostwave Client [Private]] (bin)
Loaded coremods (and transformers):
[10:21:07] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# /Users/2VeryIcey/Documents/Games/Files/Minecraft/MC Clients/Frostwave/Developer-Assets/Forge/forge-1.11.2-13.20.0.2253-mdk/run/./crash-reports/crash-2017-03-18_10.21.07-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
-Client.java (Is used to store Clientside Initialization code) (With KeyHandler being initialized)-
package io.github.TooVeryIcey.Frostwave.proxy;
import io.github.TooVeryIcey.Frostwave.Utils.ChatUtils;
import io.github.TooVeryIcey.Frostwave.Utils.EventManager;
import io.github.TooVeryIcey.Frostwave.Utils.KeyHandler;
import net.minecraft.client.settings.KeyBinding;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
public class Client extends Common{
@Override
public void preInit(FMLPreInitializationEvent event) throws InterruptedException {
System.out.println("-=Frostwave Client Pre-Initilization Began=-");
MinecraftForge.EVENT_BUS.register(new ChatUtils());
Thread.sleep(3000);
System.out.println("-=Frostwave Client=- Injecting Process Began");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- Modifing File Names");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- Completed...");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- Accessing Root Directory");
Thread.sleep(2000);
System.out.println("-=Frostwave Client=- Located...Preparing Directory For Injection");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- Completed...Preparing Files To Inject");
Thread.sleep(1000);
System.out.println("-=Frostwave Client Pre-Initilization Completed=-");
}
@Override
public void init(FMLInitializationEvent event) throws InterruptedException {
System.out.println("-=Frostwave Client Initilization Began=-");
MinecraftForge.EVENT_BUS.register(new KeyHandler());
Thread.sleep(1000);
System.out.println("-=Frostwave Client Initilization Completed=-");
}
@Override
public void postinit(FMLPostInitializationEvent event) throws InterruptedException {
System.out.println("-=Frostwave Client Post-Initilization Began=-");
Thread.sleep(3000);
MinecraftForge.EVENT_BUS.register(new EventManager());
System.out.println("-=Frostwave Client=- Injecting Process Completed");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- Finalizing And Saving Changes");
Thread.sleep(1000);
System.out.println("-=Frostwave Client=- All files Have Been saved, And the Game Will Finish Loading");
Thread.sleep(1000);
System.out.println("-=Frostwave Client Post-Initilization Completed=-");
}
}