package com.infinityraider.ninjagear;

import com.infinityraider.ninjagear.apiimpl.APISelector;
import com.infinityraider.ninjagear.config.Config;
import com.infinityraider.ninjagear.proxy.IProxy;
import com.infinityraider.ninjagear.proxy.ServerProxy;
import com.infinityraider.ninjagear.proxy.ClientProxy;
import com.infinityraider.ninjagear.reference.Reference;
import com.infinityraider.infinitylib.InfinityMod;
import com.infinityraider.infinitylib.network.INetworkWrapper;
import com.infinityraider.ninjagear.network.*;
import com.infinityraider.ninjagear.registry.*;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.minecraftforge.fml.common.Mod;

@Mod(Reference.MOD_ID)
public class NinjaGear extends InfinityMod<IProxy, Config> {
    public static NinjaGear instance;

    @Override
    public String getModId() {
        return Reference.MOD_ID;
    }

    @Override
    protected void onModConstructed() {
        instance = this;
    }

    @Override
    @OnlyIn(Dist.CLIENT)
    protected IProxy createClientProxy() {
        return new ClientProxy();
    }

    @Override
    @OnlyIn(Dist.DEDICATED_SERVER)
    protected IProxy createServerProxy() {
        return new ServerProxy();
    }

    @Override
    public Object getModBlockRegistry() {
        return BlockRegistry.getInstance();
    }

    @Override
    public Object getModItemRegistry() {
        return ItemRegistry.getInstance();
    }

    @Override
    public Object getModEntityRegistry() {
        return EntityRegistry.getInstance();
    }

    @Override
    public void registerMessages(INetworkWrapper wrapper) {
        wrapper.registerMessage(MessageInvisibility.class);
        wrapper.registerMessage(MessageUpdateGadgetRenderMaskClient.class);
        wrapper.registerMessage(MessageUpdateGadgetRenderMaskServer.class);
    }

    @Override
    public void initializeAPI() {
        APISelector.init();
    }
}
@@ -32,16 +32,130 @@
 agear;%0A%0A
+import com.infinityraider.infinitylib.InfinityMod;%0Aimport com.infinityraider.infinitylib.network.INetworkWrapper;%0A
 import c
@@ -203,16 +203,16 @@
 lector;%0A
-
 import c
@@ -475,122 +475,8 @@
 ce;%0A
-import com.infinityraider.infinitylib.InfinityMod;%0Aimport com.infinityraider.infinitylib.network.INetworkWrapper;%0A
 impo
@@ -789,16 +789,16 @@
 nfig%3E %7B%0A
-
     publ
@@ -828,16 +828,65 @@
 tance;%0A%0A
+    public NinjaGear() %7B%0A        super();%0A    %7D%0A%0A
     @Ove

Add superconstructor for debug purposes