I like how Edge has somehow joined the family of bad web browsers.
It's not that it's "bad" per se, it's that it adopts the microsoft behaviour of "we know best". Basically what it does is request the file from the server, the server says "here's a file, it's encoding is application/x-octet-stream, it's name is blah.litemod", most browsers leave it at that and don't try and do anything clever. However MS browsers actually look at the file header and see the "PK" which indicates a .zip file and "helpfully" change the extension "back". Since this is a non-standard behaviour there actually is an option to turn it off, it's just that it's actually easier to just say "use another browser or change the extension back" than it is to provide instructions on how to change that setting for every possible version of IE.
That would be yet another reason not to use Edge. It's a lot better than IE, but still has many of it's own problems.
Rollback Post to RevisionRollBack
I'm not active on these forums, so forgive me if I don't respond!
If you want to contact me, try going through Discord or you can find me on GitHub where I am still updating the below mods (and more):
Though it only works on IE8 and later, but that should cover most cases. I've set that on my server at least and it actually seems to work, downloading the files they now actually do maintain their litemod extension. I suggest anyone self-hosting their mods should set the same response header in order to at least reduce the inevitable support requests.
The hour should also be shifted to correctly align with the sun's position. So midday is 12 (AM), 23 at 11PM, and midnight is 0 (12PM).
In vanilla minecraft it's counted with 0 being sunrise, 6 being midday, 12 being sunset, and 18 being midnight.
I like how Edge has somehow joined the family of bad web browsers.
I fully understand about shifting the time, I was just trying to get the hand to move around the whole clock as it should first.
Rollback Post to RevisionRollBack
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
I fully understand about shifting the time, I was just trying to get the hand to move around the whole clock as it should first.
I don't really understand your problem but your code is just over-complicated so it's probably hiding some simple mistake. This is what it should look like to do what you want:
/**
* Gets the current time and calculates the angles for the clock hands
*/
private void calculateAngles(Minecraft minecraft)
{
long ticks = (minecraft.theWorld.getWorldTime() + 6000) % 12000;
int hour = MathHelper.floor_float(ticks * 0.001F);
int minute = MathHelper.floor_float(ticks * 0.06F) % 60;
int second = MathHelper.floor_float(ticks * 3.6F) % 60;
this.smallHandAngle = 360.0F * (0.0833F * hour + 0.00138F * minute);
this.largeHandAngle = 360.0F * (0.0166F * minute);
this.secondHandAngle = 360.0F * (0.0166F * second);
}
I have minecraft 1.9.4 with Forge and Liteloader. Now Forge has come out with an update, and I'm having a hard time figuring out how to do it. I know I have to remove all the mods first, which I did. Do I have to remove Liteloader also before installing the new updated Forge? and if so, where do I find Liteloader in .minecraft?
Never done this before and I have googled and watched a youtube video but none of them show how and if I need to remove Liteloader first
I have minecraft 1.9.4 with Forge and Liteloader. Now Forge has come out with an update, and I'm having a hard time figuring out how to do it. I know I have to remove all the mods first, which I did. Do I have to remove Liteloader also before installing the new updated Forge? and if so, where do I find Liteloader in .minecraft?
Never done this before and I have googled and watched a youtube video but none of them show how and if I need to remove Liteloader first
You don't need to remove anything, with the new launcher you can have as many versions installed as you like. Simply run the forge installer to install the new version, then run the liteloader installer again and link it to the new version.
I don't really understand your problem but your code is just over-complicated so it's probably hiding some simple mistake.
As far as being overcomplicated, it's pretty much just me being fairly new to this, not knowing what classes already exist where within minecraft already, and essentially trying to reinvent the wheel as an alternative.
What you gave me works, though I had to remove the second hand due to an insane rotation speed. After I add a few more features, would you mind if I upload it publicly (with credit given where it's due, of course)?
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
As far as being overcomplicated, it's pretty much just me being fairly new to this, not knowing what classes already exist where within minecraft already, and essentially trying to reinvent the wheel as an alternative.
What you gave me works, though I had to remove the second hand due to an insane rotation speed. After I add a few more features, would you mind if I upload it publicly (with credit given where it's due, of course)?
ExampleMod is basically just there as a quick and dirty demo of how to make a simple mod, you can do whatever you like with it.
[21:44:29] [main/INFO]: Loading tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Using primary tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Calling tweak class com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:30] [main/INFO]: Bootstrapping LiteLoader 1.7.10
[21:44:30] [main/INFO]: Registering API provider class com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient
[21:44:30] [main/INFO]: Spawning API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' ...
[21:44:30] [main/INFO]: API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' provides API 'liteloader'
[21:44:30] [main/INFO]: Initialising API 'liteloader' ...
[21:44:30] [main/INFO]: LiteLoader begin PREINIT...
[21:44:30] [main/INFO]: Initialising Loader properties...
[21:44:30] [main/INFO]: Setting up logger...
[21:44:30] [main/INFO]: LiteLoader 1.7.10_04 starting up...
[21:44:30] [main/INFO]: Java reports OS="linux"
[21:44:30] [main/INFO]: Enumerating class path...
[21:44:30] [main/INFO]: Class path separator=":"
[21:44:30] [main/INFO]: Class path entries=(
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mumfrey/liteloader/1.7.10/liteloader-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/16.0/guava-16.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/netty/1.6/netty-1.6.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/15.0/guava-15.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/tv/twitch/twitch/5.16/twitch-5.16.jar
classpathEntry=/home/xmajedz/.minecraft/versions/1.7.10/1.7.10.jar
)
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleClassPath: [<Java Class Path>]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods/1.7.10]
[21:44:30] [main/INFO]: Adding supported mod class prefix 'LiteMod'
[21:44:30] [main/INFO]: Discovering tweaks on class path...
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods/1.7.10
[21:44:30] [main/INFO]: LiteLoader PREINIT complete
[21:44:30] [main/INFO]: Sorting registered packet transformers by priority
[21:44:30] [main/INFO]: Added 0 packet transformer classes to the transformer list
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.transformers.event.EventProxyTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.launch.LiteLoaderTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.client.transformers.CrashReportTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[21:44:30] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Linux:amd64:3.19.0-32-generic, installed at /opt/java/64/jre1.8.0_92
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:33] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Injecting downstream transformers
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:33] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:44:33] [main/INFO]: Injecting onstartupcomplete[x1] in func_71384_a in Minecraft
[21:44:34] [main/INFO]: Injecting prerenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting postrenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontimerupdate[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting onrender[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontick[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting updateframebuffersize[x1] in func_147119_ah in Minecraft
[21:44:34] [main/INFO]: Injecting newtick[x1] in func_71407_l in Minecraft
[21:44:34] [main/INFO]: Applying overlay com.mumfrey.liteloader.client.overlays.MinecraftOverlay to net.minecraft.client.Minecraft
[21:44:34] [main/INFO]: MinecraftOverlayTransformer found INIT injection point, this is good.
[21:44:34] [main/INFO]: Injecting onoutboundchat[x1] in func_71165_d in EntityClientPlayerMP
[21:44:34] [main/INFO]: Injecting onc16packetclientstatus[x1] in func_148833_a in C16PacketClientStatus
[21:44:34] [main/INFO]: Injecting onrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting postrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting onc00handshake[x1] in func_148833_a in C00Handshake
[21:44:34] [main/INFO]: Injecting onc00packetloginstart[x1] in func_148833_a in C00PacketLoginStart
[21:44:35] [main/INFO]: Injecting ons03packettimeupdate[x1] in func_148833_a in S03PacketTimeUpdate
[21:44:35] [main/INFO]: Setting user: xMajedz
[21:44:36] [main/INFO]: Injecting ons34packetmaps[x1] in func_148833_a in S34PacketMaps
[21:44:37] [main/INFO]: [net.minecraft.client.main.Main:main:144]: Completely ignored arguments: [{}, , xMajedz, , d353abc5e4003da4a7cf68bee4229760, , 1.7.10, , xMajedz]
[21:44:37] [Client thread/INFO]: Injecting onc15packetclientsettings[x1] in func_148833_a in C15PacketClientSettings
[21:44:38] [Client thread/INFO]: LWJGL Version: 2.9.1
[21:44:39] [Client thread/INFO]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
[21:44:39] [Client thread/ERROR]: Couldn't initialize twitch stream
[21:44:39] [Client thread/INFO]: Injecting renderfbo[x1] in func_147615_c in Framebuffer
[21:44:39] [Client thread/INFO]: Injecting oncreateintegratedserver[x1] in <init> in IntegratedServer
[21:44:39] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 5/24/16 9:44 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.19.0-32-generic
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 100768520 bytes (96 MB) / 326631424 bytes (311 MB) up to 954728448 bytes (910 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ' Vendor: 'Intel Open Source Technology Center' Version: '3.0 Mesa 10.1.3' Renderer: 'Mesa DRI Intel(R) Sandybridge Mobile '
[21:44:39] [Client thread/INFO]: Attempting early MinecraftForge initialization
[21:44:39] [Client thread/INFO]: MinecraftForge v10.13.4.1614 Initialized
[21:44:39] [Client thread/INFO]: Replaced 183 ore recipies
[21:44:40] [Client thread/INFO]: Completed early MinecraftForge initialization
[21:44:40] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[21:44:40] [Client thread/INFO]: Searching /home/xmajedz/.minecraft/mods for mods
[21:44:40] [Client thread/INFO]: Also searching /home/xmajedz/.minecraft/mods/1.7.10 for mods
[21:44:52] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[21:44:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, Faithful32(xMrVizzy)
[21:44:53] [Client thread/INFO]: Processing ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Identifying ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[21:44:53] [Client thread/INFO]: Applying holder lookups
[21:44:53] [Client thread/INFO]: Holder lookups applied
[21:44:53] [Client thread/INFO]: Injecting itemstacks
[21:44:53] [Client thread/INFO]: Itemstack injection complete
[21:44:53] [Client thread/INFO]: Generating new Event Handler Proxy Class com.mumfrey.liteloader.core.event.EventProxy
[21:44:53] [Client thread/INFO]: Successfully generated event handler proxy class with 19 handlers(s) and 19 total invokations
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
[21:44:29] [main/INFO]: Loading tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Using primary tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Calling tweak class com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:30] [main/INFO]: Bootstrapping LiteLoader 1.7.10
[21:44:30] [main/INFO]: Registering API provider class com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient
[21:44:30] [main/INFO]: Spawning API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' ...
[21:44:30] [main/INFO]: API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' provides API 'liteloader'
[21:44:30] [main/INFO]: Initialising API 'liteloader' ...
[21:44:30] [main/INFO]: LiteLoader begin PREINIT...
[21:44:30] [main/INFO]: Initialising Loader properties...
[21:44:30] [main/INFO]: Setting up logger...
[21:44:30] [main/INFO]: LiteLoader 1.7.10_04 starting up...
[21:44:30] [main/INFO]: Java reports OS="linux"
[21:44:30] [main/INFO]: Enumerating class path...
[21:44:30] [main/INFO]: Class path separator=":"
[21:44:30] [main/INFO]: Class path entries=(
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mumfrey/liteloader/1.7.10/liteloader-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/16.0/guava-16.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/netty/1.6/netty-1.6.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/15.0/guava-15.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/tv/twitch/twitch/5.16/twitch-5.16.jar
classpathEntry=/home/xmajedz/.minecraft/versions/1.7.10/1.7.10.jar
)
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleClassPath: [<Java Class Path>]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods/1.7.10]
[21:44:30] [main/INFO]: Adding supported mod class prefix 'LiteMod'
[21:44:30] [main/INFO]: Discovering tweaks on class path...
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods/1.7.10
[21:44:30] [main/INFO]: LiteLoader PREINIT complete
[21:44:30] [main/INFO]: Sorting registered packet transformers by priority
[21:44:30] [main/INFO]: Added 0 packet transformer classes to the transformer list
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.transformers.event.EventProxyTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.launch.LiteLoaderTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.client.transformers.CrashReportTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[21:44:30] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Linux:amd64:3.19.0-32-generic, installed at /opt/java/64/jre1.8.0_92
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:33] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Injecting downstream transformers
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:33] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:44:33] [main/INFO]: Injecting onstartupcomplete[x1] in func_71384_a in Minecraft
[21:44:34] [main/INFO]: Injecting prerenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting postrenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontimerupdate[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting onrender[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontick[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting updateframebuffersize[x1] in func_147119_ah in Minecraft
[21:44:34] [main/INFO]: Injecting newtick[x1] in func_71407_l in Minecraft
[21:44:34] [main/INFO]: Applying overlay com.mumfrey.liteloader.client.overlays.MinecraftOverlay to net.minecraft.client.Minecraft
[21:44:34] [main/INFO]: MinecraftOverlayTransformer found INIT injection point, this is good.
[21:44:34] [main/INFO]: Injecting onoutboundchat[x1] in func_71165_d in EntityClientPlayerMP
[21:44:34] [main/INFO]: Injecting onc16packetclientstatus[x1] in func_148833_a in C16PacketClientStatus
[21:44:34] [main/INFO]: Injecting onrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting postrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting onc00handshake[x1] in func_148833_a in C00Handshake
[21:44:34] [main/INFO]: Injecting onc00packetloginstart[x1] in func_148833_a in C00PacketLoginStart
[21:44:35] [main/INFO]: Injecting ons03packettimeupdate[x1] in func_148833_a in S03PacketTimeUpdate
[21:44:35] [main/INFO]: Setting user: xMajedz
[21:44:36] [main/INFO]: Injecting ons34packetmaps[x1] in func_148833_a in S34PacketMaps
[21:44:37] [main/INFO]: [net.minecraft.client.main.Main:main:144]: Completely ignored arguments: [{}, , xMajedz, , d353abc5e4003da4a7cf68bee4229760, , 1.7.10, , xMajedz]
[21:44:37] [Client thread/INFO]: Injecting onc15packetclientsettings[x1] in func_148833_a in C15PacketClientSettings
[21:44:38] [Client thread/INFO]: LWJGL Version: 2.9.1
[21:44:39] [Client thread/INFO]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
[21:44:39] [Client thread/ERROR]: Couldn't initialize twitch stream
[21:44:39] [Client thread/INFO]: Injecting renderfbo[x1] in func_147615_c in Framebuffer
[21:44:39] [Client thread/INFO]: Injecting oncreateintegratedserver[x1] in <init> in IntegratedServer
[21:44:39] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 5/24/16 9:44 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.19.0-32-generic
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 100768520 bytes (96 MB) / 326631424 bytes (311 MB) up to 954728448 bytes (910 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ' Vendor: 'Intel Open Source Technology Center' Version: '3.0 Mesa 10.1.3' Renderer: 'Mesa DRI Intel(R) Sandybridge Mobile '
[21:44:39] [Client thread/INFO]: Attempting early MinecraftForge initialization
[21:44:39] [Client thread/INFO]: MinecraftForge v10.13.4.1614 Initialized
[21:44:39] [Client thread/INFO]: Replaced 183 ore recipies
[21:44:40] [Client thread/INFO]: Completed early MinecraftForge initialization
[21:44:40] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[21:44:40] [Client thread/INFO]: Searching /home/xmajedz/.minecraft/mods for mods
[21:44:40] [Client thread/INFO]: Also searching /home/xmajedz/.minecraft/mods/1.7.10 for mods
[21:44:52] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[21:44:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, Faithful32(xMrVizzy)
[21:44:53] [Client thread/INFO]: Processing ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Identifying ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[21:44:53] [Client thread/INFO]: Applying holder lookups
[21:44:53] [Client thread/INFO]: Holder lookups applied
[21:44:53] [Client thread/INFO]: Injecting itemstacks
[21:44:53] [Client thread/INFO]: Itemstack injection complete
[21:44:53] [Client thread/INFO]: Generating new Event Handler Proxy Class com.mumfrey.liteloader.core.event.EventProxy
[21:44:53] [Client thread/INFO]: Successfully generated event handler proxy class with 19 handlers(s) and 19 total invokations
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Either a resource pack problem or you to tweak the JVM arguments, try un-checking the JVM arguments in the launcher to reset it to default, and also try replacing/removing your current resource pack.
The download page does not work for me, neither in Chrome not IE.
Easiest workaround for now is to click the link for "all development builds" on the jenkins server, then click the tab at the top for the version you want. Mumfrey's been busy restructuring the website on top of all the developing he does for liteloader itself and the mods he maintains for it, so it's understandable when something breaks.
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
I have a question of my own now, regarding setting up gradle to use a transformer class. In prior versions of this mod, the only link that ties that class into the rest of the mod is "classTransformerClasses": "my.custom.transformer.EventTransformer" in the litemod.json file.
I don't have access to the original code, so I can't se how it was set up there, nor can I find sufficient documentation that says how one goes about actually applying the transformer via gradle, so while it technically compiles, it just skips completely over the transformer class, rendering the class useless.
Rollback Post to RevisionRollBack
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
I have a question of my own now, regarding setting up gradle to use a transformer class. In prior versions of this mod, the only link that ties that class into the rest of the mod is "classTransformerClasses": "my.custom.transformer.EventTransformer" in the litemod.json file.
I don't have access to the original code, so I can't se how it was set up there, nor can I find sufficient documentation that says how one goes about actually applying the transformer via gradle, so while it technically compiles, it just skips completely over the transformer class, rendering the class useless.
It's not that it's "bad" per se, it's that it adopts the microsoft behaviour of "we know best". Basically what it does is request the file from the server, the server says "here's a file, it's encoding is application/x-octet-stream, it's name is blah.litemod", most browsers leave it at that and don't try and do anything clever. However MS browsers actually look at the file header and see the "PK" which indicates a .zip file and "helpfully" change the extension "back". Since this is a non-standard behaviour there actually is an option to turn it off, it's just that it's actually easier to just say "use another browser or change the extension back" than it is to provide instructions on how to change that setting for every possible version of IE.
Ah, I see.
That would be yet another reason not to use Edge. It's a lot better than IE, but still has many of it's own problems.
If you want to contact me, try going through Discord or you can find me on GitHub where I am still updating the below mods (and more):
PRESENCE FOOTSTEPS - (github)
VOID FOG - (github)
Doing a little digging I was actually able to find out a way to have the server disable this "feature" by sending the following header:
Though it only works on IE8 and later, but that should cover most cases. I've set that on my server at least and it actually seems to work, downloading the files they now actually do maintain their litemod extension. I suggest anyone self-hosting their mods should set the same response header in order to at least reduce the inevitable support requests.
I fully understand about shifting the time, I was just trying to get the hand to move around the whole clock as it should first.
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
I don't really understand your problem but your code is just over-complicated so it's probably hiding some simple mistake. This is what it should look like to do what you want:
I have minecraft 1.9.4 with Forge and Liteloader. Now Forge has come out with an update, and I'm having a hard time figuring out how to do it. I know I have to remove all the mods first, which I did. Do I have to remove Liteloader also before installing the new updated Forge? and if so, where do I find Liteloader in .minecraft?
Never done this before and I have googled and watched a youtube video but none of them show how and if I need to remove Liteloader first
You don't need to remove anything, with the new launcher you can have as many versions installed as you like. Simply run the forge installer to install the new version, then run the liteloader installer again and link it to the new version.
Ok that's good to know.
I download the new Forge but it's not showing up in minecraft. It shows the previous version. I used the installer-win.exe
I can see it in the versions folder in .minecraft though
Never mind, it showed up after I installed Liteloader.
Thank you so much for yhour help
As far as being overcomplicated, it's pretty much just me being fairly new to this, not knowing what classes already exist where within minecraft already, and essentially trying to reinvent the wheel as an alternative.
What you gave me works, though I had to remove the second hand due to an insane rotation speed. After I add a few more features, would you mind if I upload it publicly (with credit given where it's due, of course)?
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
ExampleMod is basically just there as a quick and dirty demo of how to make a simple mod, you can do whatever you like with it.
i have problem installing liteloader with forge
[21:44:29] [main/INFO]: Loading tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Using primary tweak class name com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:29] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Calling tweak class com.mumfrey.liteloader.launch.LiteLoaderTweaker
[21:44:30] [main/INFO]: Bootstrapping LiteLoader 1.7.10
[21:44:30] [main/INFO]: Registering API provider class com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient
[21:44:30] [main/INFO]: Spawning API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' ...
[21:44:30] [main/INFO]: API provider class 'com.mumfrey.liteloader.client.api.LiteLoaderCoreAPIClient' provides API 'liteloader'
[21:44:30] [main/INFO]: Initialising API 'liteloader' ...
[21:44:30] [main/INFO]: LiteLoader begin PREINIT...
[21:44:30] [main/INFO]: Initialising Loader properties...
[21:44:30] [main/INFO]: Setting up logger...
[21:44:30] [main/INFO]: LiteLoader 1.7.10_04 starting up...
[21:44:30] [main/INFO]: Java reports OS="linux"
[21:44:30] [main/INFO]: Enumerating class path...
[21:44:30] [main/INFO]: Class path separator=":"
[21:44:30] [main/INFO]: Class path entries=(
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mumfrey/liteloader/1.7.10/liteloader-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/16.0/guava-16.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-compiler/2.11.1/scala-compiler-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-library_2.11/1.0.2/scala-continuations-library_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/plugins/scala-continuations-plugin_2.11.1/1.0.2/scala-continuations-plugin_2.11.1-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-library/2.11.1/scala-library-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-parser-combinators_2.11/1.0.1/scala-parser-combinators_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-reflect/2.11.1/scala-reflect-2.11.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-swing_2.11/1.0.1/scala-swing_2.11-1.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/scala-lang/scala-xml_2.11/1.0.2/scala-xml_2.11-1.0.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/lzma/lzma/0.0.1/lzma-0.0.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/17.0/guava-17.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/netty/1.6/netty-1.6.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/realms/1.3.5/realms-1.3.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/java3d/vecmath/1.3.1/vecmath-1.3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/ibm/icu/icu4j-core-mojang/51.2/icu4j-core-mojang-51.2.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecjorbis/20101023/codecjorbis-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/codecwav/20101023/codecwav-20101023.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/libraryjavasound/20101123/libraryjavasound-20101123.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/librarylwjglopenal/20100824/librarylwjglopenal-20100824.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/paulscode/soundsystem/20120107/soundsystem-20120107.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/io/netty/netty-all/4.0.10.Final/netty-all-4.0.10.Final.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/guava/guava/15.0/guava-15.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-io/commons-io/2.4/commons-io-2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/commons-codec/commons-codec/1.9/commons-codec-1.9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/com/mojang/authlib/1.5.21/authlib-1.5.21.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-api/2.0-beta9/log4j-api-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/apache/logging/log4j/log4j-core/2.0-beta9/log4j-core-2.0-beta9.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl/2.9.1/lwjgl-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.1/lwjgl_util-2.9.1.jar
classpathEntry=/home/xmajedz/.minecraft/libraries/tv/twitch/twitch/5.16/twitch-5.16.jar
classpathEntry=/home/xmajedz/.minecraft/versions/1.7.10/1.7.10.jar
)
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleClassPath: [<Java Class Path>]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods]
[21:44:30] [main/INFO]: Registering discovery module EnumeratorModuleFolder: [/home/xmajedz/.minecraft/mods/1.7.10]
[21:44:30] [main/INFO]: Adding supported mod class prefix 'LiteMod'
[21:44:30] [main/INFO]: Discovering tweaks on class path...
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods
[21:44:30] [main/INFO]: Discovering valid mod files in folder /home/xmajedz/.minecraft/mods/1.7.10
[21:44:30] [main/INFO]: LiteLoader PREINIT complete
[21:44:30] [main/INFO]: Sorting registered packet transformers by priority
[21:44:30] [main/INFO]: Added 0 packet transformer classes to the transformer list
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.transformers.event.EventProxyTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.launch.LiteLoaderTransformer'
[21:44:30] [main/INFO]: Injecting required class transformer 'com.mumfrey.liteloader.client.transformers.CrashReportTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:30] [main/INFO]: Queuing required class transformer 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:44:30] [main/INFO]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[21:44:30] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_92, running on Linux:amd64:3.19.0-32-generic, installed at /opt/java/64/jre1.8.0_92
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:44:30] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[21:44:32] [main/INFO]: Found valid fingerprint for Minecraft. Certificate fingerprint cd99959656f753dc28d863b46769f7f8fbaefcfc
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:44:32] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:44:33] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:44:33] [main/INFO]: Injecting downstream transformers
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.LiteLoaderEventInjectionTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.client.transformers.MinecraftOverlayTransformer'
[21:44:33] [main/INFO]: Injecting additional class transformer class 'com.mumfrey.liteloader.common.transformers.LiteLoaderPacketTransformer'
[21:44:33] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:44:33] [main/INFO]: Injecting onstartupcomplete[x1] in func_71384_a in Minecraft
[21:44:34] [main/INFO]: Injecting prerenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting postrenderfbo[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontimerupdate[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting onrender[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting ontick[x1] in func_71411_J in Minecraft
[21:44:34] [main/INFO]: Injecting updateframebuffersize[x1] in func_147119_ah in Minecraft
[21:44:34] [main/INFO]: Injecting newtick[x1] in func_71407_l in Minecraft
[21:44:34] [main/INFO]: Applying overlay com.mumfrey.liteloader.client.overlays.MinecraftOverlay to net.minecraft.client.Minecraft
[21:44:34] [main/INFO]: MinecraftOverlayTransformer found INIT injection point, this is good.
[21:44:34] [main/INFO]: Injecting onoutboundchat[x1] in func_71165_d in EntityClientPlayerMP
[21:44:34] [main/INFO]: Injecting onc16packetclientstatus[x1] in func_148833_a in C16PacketClientStatus
[21:44:34] [main/INFO]: Injecting onrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting postrenderchat[x1] in func_73830_a in GuiIngame
[21:44:34] [main/INFO]: Injecting onc00handshake[x1] in func_148833_a in C00Handshake
[21:44:34] [main/INFO]: Injecting onc00packetloginstart[x1] in func_148833_a in C00PacketLoginStart
[21:44:35] [main/INFO]: Injecting ons03packettimeupdate[x1] in func_148833_a in S03PacketTimeUpdate
[21:44:35] [main/INFO]: Setting user: xMajedz
[21:44:36] [main/INFO]: Injecting ons34packetmaps[x1] in func_148833_a in S34PacketMaps
[21:44:37] [main/INFO]: [net.minecraft.client.main.Main:main:144]: Completely ignored arguments: [{}, , xMajedz, , d353abc5e4003da4a7cf68bee4229760, , 1.7.10, , xMajedz]
[21:44:37] [Client thread/INFO]: Injecting onc15packetclientsettings[x1] in func_148833_a in C15PacketClientSettings
[21:44:38] [Client thread/INFO]: LWJGL Version: 2.9.1
[21:44:39] [Client thread/INFO]: [tv.twitch.StandardCoreAPI:<init>:16]: If on Windows, make sure to provide all of the necessary dll's as specified in the twitchsdk README. Also, make sure to set the PATH environment variable to point to the directory containing the dll's.
[21:44:39] [Client thread/ERROR]: Couldn't initialize twitch stream
[21:44:39] [Client thread/INFO]: Injecting renderfbo[x1] in func_147615_c in Framebuffer
[21:44:39] [Client thread/INFO]: Injecting oncreateintegratedserver[x1] in <init> in IntegratedServer
[21:44:39] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 5/24/16 9:44 PM
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Linux (amd64) version 3.19.0-32-generic
Java Version: 1.8.0_92, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 100768520 bytes (96 MB) / 326631424 bytes (311 MB) up to 954728448 bytes (910 MB)
JVM Flags: 1 total; -Xmx1G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ' Vendor: 'Intel Open Source Technology Center' Version: '3.0 Mesa 10.1.3' Renderer: 'Mesa DRI Intel(R) Sandybridge Mobile '
[21:44:39] [Client thread/INFO]: Attempting early MinecraftForge initialization
[21:44:39] [Client thread/INFO]: MinecraftForge v10.13.4.1614 Initialized
[21:44:39] [Client thread/INFO]: Replaced 183 ore recipies
[21:44:40] [Client thread/INFO]: Completed early MinecraftForge initialization
[21:44:40] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[21:44:40] [Client thread/INFO]: Searching /home/xmajedz/.minecraft/mods for mods
[21:44:40] [Client thread/INFO]: Also searching /home/xmajedz/.minecraft/mods/1.7.10 for mods
[21:44:52] [Client thread/INFO]: Forge Mod Loader has identified 3 mods to load
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[21:44:52] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[21:44:53] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, Faithful32(xMrVizzy)
[21:44:53] [Client thread/INFO]: Processing ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ObjectHolder annotations
[21:44:53] [Client thread/INFO]: Identifying ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[21:44:53] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[21:44:53] [Client thread/INFO]: Applying holder lookups
[21:44:53] [Client thread/INFO]: Holder lookups applied
[21:44:53] [Client thread/INFO]: Injecting itemstacks
[21:44:53] [Client thread/INFO]: Itemstack injection complete
[21:44:53] [Client thread/INFO]: Generating new Event Handler Proxy Class com.mumfrey.liteloader.core.event.EventProxy
[21:44:53] [Client thread/INFO]: Successfully generated event handler proxy class with 19 handlers(s) and 19 total invokations
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Either a resource pack problem or you to tweak the JVM arguments, try un-checking the JVM arguments in the launcher to reset it to default, and also try replacing/removing your current resource pack.
1.9 version works fine but 1.7.10 dose't work, thanks for your help
Easiest workaround for now is to click the link for "all development builds" on the jenkins server, then click the tab at the top for the version you want. Mumfrey's been busy restructuring the website on top of all the developing he does for liteloader itself and the mods he maintains for it, so it's understandable when something breaks.
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
I have a question of my own now, regarding setting up gradle to use a transformer class. In prior versions of this mod, the only link that ties that class into the rest of the mod is "classTransformerClasses": "my.custom.transformer.EventTransformer" in the litemod.json file.
I don't have access to the original code, so I can't se how it was set up there, nor can I find sufficient documentation that says how one goes about actually applying the transformer via gradle, so while it technically compiles, it just skips completely over the transformer class, rendering the class useless.
Have an idea for a mod? Join me on Discord or let me know here! (I prefer Discord though)
Keep track of the latest news and updates by following my twitter!
Feel like playing MC with me? Join me on the official PC Gamer US server here!
Should be fixed now, I accidentally nerfed the tabs when making a minor update earlier.
Use a litemod.json in src/main/resources
Mods I work on and maintain:
TabbyChat | Mine Little Pony
My Blog
Alternatively (and I personally recommend) using the "litemod" block in your build.gradle. Simply specify classTransformerClasses there as follows:
I find that method doesn't work in eclipse. The litemod is generated by gradle, not the ide.
Mods I work on and maintain:
TabbyChat | Mine Little Pony
My Blog
That's for production, obviously you need one in resources for dev-time but that can literally be a skeleton file as shown in the example project.