Package juuxel.unprotect
Class Transformation
java.lang.Object
juuxel.unprotect.Transformation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandlesClass(org.objectweb.asm.Type classType, boolean isEmpty) booleanprocessClass(org.objectweb.asm.tree.ClassNode classNode)
-
Field Details
-
TARGET_SYSTEM_PROPERTY
A system property ("unprotect.target") for determining which classes to transform.Possible values (case-insensitive with respect to
Locale.ROOT):all: apply to all classesminecraft+forge(default): apply to Minecraft and (Neo)Forge classesnone: disable Unprotect completely and apply to no classes
- Since:
- 1.1.0
- See Also:
-
MAPPING_LOCATION_SYSTEM_PROPERTY
A system property ("unprotect.mappings") for determining where to load mappings for theminecraft+forgetarget.The value should be a file path to a zip containing the mapping files at
mappings/mappings.tinyin Tiny v2 format. It can also be a list of file paths separated byFile.pathSeparator, of which the first suitable one will be used.If absent, Unprotect will try to load them from the classpath at the same file path.
- Since:
- 1.2.0
- See Also:
-
-
Constructor Details
-
Transformation
-
-
Method Details
-
handlesClass
public boolean handlesClass(org.objectweb.asm.Type classType, boolean isEmpty) -
processClass
public boolean processClass(org.objectweb.asm.tree.ClassNode classNode)
-