Jump to content

Forge Update Checker stays PENDING


_NIMJA

Recommended Posts

This is my first time using Forge Update Checker, and I can't get it to work. I've made sure I'm following the formatting guides, but nothing seems to change. Here is my update.json: https://github.com/matthrewp/_NIMJA_Update_JSONs/blob/master/BBV_UpdateJSON.json

Here is my main class:

Spoiler

//imports, blah, blah
@EventBusSubscriber
@Mod(updateJSON = BiomeBorderViewer.UPDATE_JSON, modid = BiomeBorderViewer.MODID, name = BiomeBorderViewer.NAME, version = BiomeBorderViewer.VERSION, acceptedMinecraftVersions = BiomeBorderViewer.MC_VERSION)
public class BiomeBorderViewer {

	public static final String MODID = "biomeborderviewer";
    public static final String NAME = "Biome Border Viewer";
    public static final String VERSION = "1.2.1";
    public static final String MC_VERSION = "[1.12.2]";
    public static final String UPDATE_JSON = "https://github.com/matthrewp/_NIMJA_Update_JSONs/raw/master/BBV_UpdateJSON.json";
    
    public static Logger logger;
    
    @EventHandler
    public void preInit(FMLPreInitializationEvent event) {
        logger = event.getModLog();
    }
 
    @EventHandler
    public void init(FMLInitializationEvent event) {
    	VisualizeBorders.showBorders = new KeyBinding("Show Biome Borders", Keyboard.KEY_B, "Biome Border Viewer");
    	ClientRegistry.registerKeyBinding(VisualizeBorders.showBorders);
    }
 
    @EventHandler
    public void postInit(FMLPostInitializationEvent event) {
    	VisualizeBorders.mc = Minecraft.getMinecraft();
    	VisualizeBorders.thisMod = Loader.instance().activeModContainer();
    }
}

 

Here is an excerpt from a class checking the update status:

Spoiler

static long time = 0;
public static ModContainer thisMod;
static boolean continueCheck = true;
@SubscribeEvent
public static void updateCheck(TickEvent event) {
    if (time + 1000 < System.currentTimeMillis() && continueCheck) {
    	continueCheck = false;
    	time = System.currentTimeMillis();
    	CheckResult result = ForgeVersion.getResult(thisMod);
    	System.out.println("Update Check: " + result.status.toString());
    	if (result.status == Status.PENDING) {
    		continueCheck = true;
    	}
    		
    }
}

 

Here's a log from running the game:

Spoiler

[16:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:39:15] [main/INFO] [FML]: Forge Mod Loader version 14.23.4.2705 for Minecraft 1.12.2 loading
[16:39:15] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_172, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_172
[16:39:15] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
[16:39:15] [main/ERROR] [FML]: Full: C:\Users\Matthew\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
[16:39:15] [main/ERROR] [FML]: Trimmed: c:/users/matthew/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
[16:39:15] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:39:15] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
[16:39:15] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
[16:39:15] [main/INFO] [FML]: Searching D:\ProgramData\Making Mods\ForgeMDK\BiomeBorderViewer\run\.\mods for mods
[16:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:39:15] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:39:15] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:39:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:39:18] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:39:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:39:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:39:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:39:18] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:39:18] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:39:19] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:39:20] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: _NIMJA
[16:39:25] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4
[16:39:26] [main/INFO] [FML]: -- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_172, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 553907776 bytes (528 MB) / 789053440 bytes (752 MB) up to 3790077952 bytes (3614 MB)
    JVM Flags: 0 total; 
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: 
    Loaded coremods (and transformers): 
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.36' Renderer: 'GeForce GTX 1060/PCIe/SSE2'
[16:39:26] [main/INFO] [FML]: MinecraftForge v14.23.4.2705 Initialized
[16:39:26] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[16:39:27] [main/INFO] [FML]: Replaced 1036 ore ingredients
[16:39:27] [main/INFO] [FML]: Searching D:\ProgramData\Making Mods\ForgeMDK\BiomeBorderViewer\run\.\mods for mods
[16:39:28] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
[16:39:29] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, biomeborderviewer] at CLIENT
[16:39:29] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, biomeborderviewer] at SERVER
[16:39:29] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 230173939 nanos
[16:39:30] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Biome Border Viewer
[16:39:30] [main/INFO] [FML]: Processing ObjectHolder annotations
[16:39:30] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
[16:39:30] [main/INFO] [FML]: Identifying ItemStackHolder annotations
[16:39:30] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:39:30] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:39:30] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[16:39:30] [main/INFO] [FML]: Applying holder lookups
[16:39:30] [main/INFO] [FML]: Holder lookups applied
[16:39:30] [main/INFO] [FML]: Applying holder lookups
[16:39:30] [main/INFO] [FML]: Holder lookups applied
[16:39:30] [main/INFO] [FML]: Applying holder lookups
[16:39:30] [main/INFO] [FML]: Holder lookups applied
[16:39:30] [main/INFO] [FML]: Applying holder lookups
[16:39:30] [main/INFO] [FML]: Holder lookups applied
[16:39:30] [main/INFO] [FML]: Injecting itemstacks
[16:39:30] [main/INFO] [FML]: Itemstack injection complete
[16:39:30] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[16:39:30] [Forge Version Check/INFO] [forge.VersionCheck]: [biomeborderviewer] Starting version check at https://github.com/matthrewp/_NIMJA_Update_JSONs/raw/master/BBV_UpdateJSON.json
[16:39:34] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...
[16:39:34] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL
[16:39:34] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:39:34] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized.
[16:39:34] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started
[16:39:40] [main/INFO] [FML]: Max texture size: 16384
[16:39:41] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas
[16:39:43] [main/INFO] [FML]: Applying holder lookups
[16:39:43] [main/INFO] [FML]: Holder lookups applied
[16:39:43] [main/INFO] [FML]: Injecting itemstacks
[16:39:43] [main/INFO] [FML]: Itemstack injection complete
[16:39:43] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods
[16:39:43] [main/INFO] [com.mojang.text2speech.NarratorWindows]: Narrator library for x64 successfully loaded
[16:39:44] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:45] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:46] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:47] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:48] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:49] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:50] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:51] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:52] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:53] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:54] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:55] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:56] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:57] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:58] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:39:59] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:00] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:01] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:02] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:03] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:04] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:05] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:06] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:07] [main/INFO] [STDOUT]: [com._NIMJA.biomeborderviewer.visualize.VisualizeBorders:updateCheck:246]: Update Check: PENDING
[16:40:08] [main/INFO] [net.minecraft.client.Minecraft]: Stopping!
[16:40:08] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down...
[16:40:08] [main/WARN] [net.minecraft.client.audio.SoundManager]: Author: Paul Lamb, www.paulscode.com

Does anyone know what I've done wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.