project-314955
Modby jredfox_
A Library For Core Modding that Prevents Circulatory Class Exceptions
Description
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.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Detect Jujutsucraft
Detect somes data from jujutsu craft
Inventorio Fixes
A dirty collection of patches for the mod Inventorio targeting mod support
Koifee's Mobs
Adds a bunch of creatures and monsters to spice up the game
FormicAPI
API and utility classes common to mods of the Ant Colony
Mystical Trinkets
Mystical Trinkets
Create: Access Denied
Simple access management for stock managers in your Create logistics nework.