CurseForge · Minecraft mod
project-314955
A Library For Core Modding that Prevents Circulatory Class Exceptions
Quick answer
Which project-314955 release matches 1.12.2?
project-314955 mc-classwriter-1.2.jar targets 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is project-314955 required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does project-314955 mc-classwriter-1.2.jar need?
mc-classwriter-1.2.jar on 1.12.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add project-314955 without breaking your instance.
Built for project-314955 mc-classwriter-1.2.jar on 1.12.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use mc-classwriter-1.2.jar. It targets 1.12.2; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside mc-classwriter-1.2.jar. It opens that exact file at the source.
About this project
What does project-314955 add?
Description:
a core mod library that adds in a safe classwriter. It doesn't load any un loaded classes when writing your transformed class in asm. It's simple and easy to use. Before you credit me alone for the algorithm check permisions. I simply made a patch and bridge between forge and made it faster with a cache and clears when getting the byte arrray. It took 2 days(37 hours) and alot of work but, I didn't create the original code and yes the redistrobution is allowed on their licenses.
this project is separate from EvilNotchLib. I separated this as people might want to use this but, not everything that evil notch lib offered.
FAQ:
why? : to prevent class circulatory errors
update to 1.13? : forge fixed this in 1.13
downgrade to lower versions? : yes but, not likely soon
fix huge memory leak LaunchClassLoader#resourceCache && LaunchClassLoader#cachedClasses: no this mod isn't about fixing memory leaks or vanilla. If you want this you can install Evil Notch Lib as it's fixed properly there. Foamfix tried but, didn't understand how to fix it properly I did.
Api for modders:
ClassWriter classWriter = new MCWriter(ClassWriter.COMPUTE_MAXS | ClassWriter.COMPUTE_FRAMES);
classNode.accept(classWriter);
byte[] bytes = classWriter.toByteArray();
That's it that's all you have to do and It works with the EntityPlayerMP.class and all other classes inside of compiled
Permissions:
the class writer is modified so it works with minecraft forge's obfuscation and it's original author is found here and is also open distribution as long as you have the license inside of the class file with a comment on which I did provide. I also provided the source of that mod itself attached to the mod file as always.
Project description from CurseForge.
Pick your setup
project-314955 by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
project-314955 versions and loaders
mc-classwriter-1.2.jar
20 Feb 2019
mc-classwriter-1.1.jar
19 Feb 2019
mc-classwriter-1.0.jar
19 Feb 2019
Looking for an older file? The official CurseForge project page is in Resources.