Mod
Dirty Quilt Hacks
No reviews yet
Gives access to a lot of reflective tooling.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
A small library built as a Quilt mod which gives modders access to Unsafe (both the sun one and the jdk internal one, assuming it's exported at compile time) and easily supports runtime module exporting and trusted MethodHandles.Lookup calls.
Current features
Unsafe.sun()for asun.misc.UnsafeinstanceUnsafe.jdk()for ajdk.internal.misc.Unsafeinstance (needs export — see below)Unsafe.lookup()for the trustedMethodHandles.Lookupinstance- Field getting and setting with force
- Enum widening
- Function accessor for allowing runtime use of JDK's internal ASM copy
- Shortcut methods for getting
MethodHandleinstances through the trusted lookup - Runtime module exporting / opening
- Forceful SecurityManager setting
Exporting modules
At runtime, call ModuleWidener.exportModule with either a class in the requested package, a class in the module and a string of the package, or the module instance and a string of the package.
At compile time, use javac compile arguments:
tasks.withType(JavaCompile).configureEach {
it.options.compilerArgs << "addExports" << "TheModuleGoesHere/ThePackageToExport=ALL-UNNAMED"
// This cannot be used with the release field. Instead use source / target compatibility fields in the java object.
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers