The most upvoted post ever on /r/minecraftsuggestions is coloring beacon beams with stained glass. When it was reposted the other day I decided to try and get some code working, and here it is!
It is completely client side and should work on any 1.7.2, 1.7.9, or 1.7.10 server.
It works by placing one or more stained glass blocks above the beacon, and after the beam passes through a glass block, it is filtered to that color.
Note: This is not a Forge mod; it runs alone. I have decided to quit work on this mod as Dinnerbone added most of its functionality to 1.8. This mod will still work on any Vanilla 1.7 server, and of course you can use Minecraft version 1.8 and later to get a similar effect.
(If it's possible) could you make a liteloader version? =D
I know liteloader is usually compatible with clientside mods that don't add actual blocks, so I'd assume that it would be possible.
I downloaded and installed everything correctly and this is what the console put out, any idea what went wrong?
[23:07:59 INFO]: Client> Exception in thread "main" java.lang.SecurityException: SHA1 digest error for anc.class
[23:07:59 INFO]: Client> at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier.processEntry(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier.update(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
[23:07:59 INFO]: Client> at sun.misc.Resource.getBytes(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.defineClass(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.access$100(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader$1.run(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader$1.run(Unknown Source)
[23:07:59 INFO]: Client> at java.security.AccessController.doPrivileged(Native Method)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.findClass(Unknown Source)
[23:07:59 INFO]: Client> at java.lang.ClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at java.lang.ClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at ahu.p(SourceFile:384)
[23:07:59 INFO]: Client> at kb.b(SourceFile:355)
[23:07:59 INFO]: Client> at azd.<init>(SourceFile:229)
[23:07:59 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:84)
[23:07:59 ERROR]: Game ended with bad state (exit code 1)
[23:07:59 INFO]: Ignoring visibility rule and showing launcher due to a game crash
[23:07:59 INFO]: Deleting C:\Users\####\AppData\Roaming\.minecraft\versions\beacons\beacons-natives-13712325802993
[23:07:59 WARN]: Couldn't delete C:\Users\####\AppData\Roaming\.minecraft\versions\beacons\beacons-natives-13712325802993 - scheduling for deletion upon exit
But I hate forge. Never want to use it. Why does mojang want that crap?
if you hate forge, do you hate modding as well? and mojang just doesn't want people to modify the jar, because it's their game, and i don't think they want anyone to modify the base classes..
You didn't install the 1.7.2 version in a 1.7.10 or other version did you? Because that is what it looks like happened.
I just tried to install the 1.7.2 Version into a 1.7.2 Jar file again and the game didn't launch.
Then I tried to install the 1.7.10 Version into a 1.7.10 Jar file instead to see if that would work and it still wouldn't launch so I'm not sure what the problem is.
I just tried to install the 1.7.2 Version into a 1.7.2 Jar file again and the game didn't launch.
Then I tried to install the 1.7.10 Version into a 1.7.10 Jar file instead to see if that would work and it still wouldn't launch so I'm not sure what the problem is.
Can you post an output log? And did you remember to delete the META-INF folder in the .jar file?
Firstly, great work with this mod. It's been something I want to be added to Vanilla for a long time.Secondly, Forge would be great for this. It'd be awesome to add this to my modded world.
P.S. I've never seen a lot of people hate on Forge before. Forge is one of the things which still allows modding to even exist in Minecraft. It makes things easy and compatible with each other. So if you hate Forge, I suppose you hate almost every mod for Minecraft as well? Good for ya I guess...
It is completely client side and should work on any 1.7.2, 1.7.9, or 1.7.10 server.
It works by placing one or more stained glass blocks above the beacon, and after the beam passes through a glass block, it is filtered to that color.
.
Download:
1.7.10 - Dropbox
1.7.2 - Dropbox
Let me know what you think!
Note: This is not a Forge mod; it runs alone. I have decided to quit work on this mod as Dinnerbone added most of its functionality to 1.8. This mod will still work on any Vanilla 1.7 server, and of course you can use Minecraft version 1.8 and later to get a similar effect.
I'm working on an open-source mod called Craft++. Check it out!
Why does everyone like forge? It's better without it this mod. It doesn't add in new items.
Sure, I still have the code from that version somewhere. Give me a bit and I'll check it and update the post.
Edit: post updated with 1.7.2 version.
Forge is much easier and makes everything compatible.
Because Mojang doesn't want jar mods anymore.
Indeed, which is why I would like to make a Forge version at some point soon.
I know liteloader is usually compatible with clientside mods that don't add actual blocks, so I'd assume that it would be possible.
[23:07:59 INFO]: Client> at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier.processEntry(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier.update(Unknown Source)
[23:07:59 INFO]: Client> at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
[23:07:59 INFO]: Client> at sun.misc.Resource.getBytes(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.defineClass(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.access$100(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader$1.run(Unknown Source)
[23:07:59 INFO]: Client> at java.net.URLClassLoader$1.run(Unknown Source)
[23:07:59 INFO]: Client> at java.security.AccessController.doPrivileged(Native Method)
[23:07:59 INFO]: Client> at java.net.URLClassLoader.findClass(Unknown Source)
[23:07:59 INFO]: Client> at java.lang.ClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at java.lang.ClassLoader.loadClass(Unknown Source)
[23:07:59 INFO]: Client> at ahu.p(SourceFile:384)
[23:07:59 INFO]: Client> at kb.b(SourceFile:355)
[23:07:59 INFO]: Client> at azd.<init>(SourceFile:229)
[23:07:59 INFO]: Client> at net.minecraft.client.main.Main.main(SourceFile:84)
[23:07:59 ERROR]: Game ended with bad state (exit code 1)
[23:07:59 INFO]: Ignoring visibility rule and showing launcher due to a game crash
[23:07:59 INFO]: Deleting C:\Users\####\AppData\Roaming\.minecraft\versions\beacons\beacons-natives-13712325802993
[23:07:59 WARN]: Couldn't delete C:\Users\####\AppData\Roaming\.minecraft\versions\beacons\beacons-natives-13712325802993 - scheduling for deletion upon exit
But I hate forge. Never want to use it. Why does mojang want that crap?
You didn't install the 1.7.2 version in a 1.7.10 or other version did you? Because that is what it looks like happened.
if you hate forge, do you hate modding as well? and mojang just doesn't want people to modify the jar, because it's their game, and i don't think they want anyone to modify the base classes..
I just tried to install the 1.7.2 Version into a 1.7.2 Jar file again and the game didn't launch.
Then I tried to install the 1.7.10 Version into a 1.7.10 Jar file instead to see if that would work and it still wouldn't launch so I'm not sure what the problem is.
Can you post an output log? And did you remember to delete the META-INF folder in the .jar file?
Ah, I didn't know that rule still applied. I will try and delete the META-INF folder this time. LOL
I don't think it was included in the instructions so I didn't think it was necessary.
P.S. I've never seen a lot of people hate on Forge before. Forge is one of the things which still allows modding to even exist in Minecraft. It makes things easy and compatible with each other. So if you hate Forge, I suppose you hate almost every mod for Minecraft as well? Good for ya I guess...
How stupid. That isn't the point of the mod. Also, Guardian Beams are a good substitute.
I'm working on an open-source mod called Craft++. Check it out!