Raven: Difference between revisions
Jump to navigation
Jump to search
Space Walker (talk | contribs) m (fix grammar) |
Space Walker (talk | contribs) (fix file spec section) |
||
Line 9: | Line 9: | ||
=== File Specification === | === File Specification === | ||
<code>.excs</code> files are <code>UTF-8</code> encoded text files | <code>.excs</code> files are <code>UTF-8</code> encoded text files. A line has the following format. | ||
<class name> <method name> <method type name>[ <exception class name>...] | <class name> | ||
<method name> <method type name>[ <exception class name>...] | |||
... | |||
... | |||
* <code>class name</code>: the internal name of the class. | * <code>class name</code>: the internal name of the class. |
Latest revision as of 08:00, 13 August 2025
Raven is Ornithe's patch for method throws clauses. It is used to modify methods attributes in Java class files.
See Exceptor for information on methods attributes and how these patches are applied.
Relevance
Most Minecraft versions before 1.8.2 Pre-release 5 had the exceptions from the methods attributes stripped from the jar. Raven was created in an effort to reconstruct what the original method throws clauses would have been in the source code.
File Specification
.excs
files are UTF-8
encoded text files. A line has the following format.
<class name> <method name> <method type name>[ <exception class name>...] ... ...
class name
: the internal name of the class.method name
: the method name.method type descriptor
: the descriptor describing the type of the method.exception class name
: the internal name of the exception class.