Obfuscate

Mods
831,872 Downloads Last Updated: Mar 5, 2019 Game Version: 1.12.2

THIS LIBRARY IS STILL IN DEVELOPMENT AND SUBSEQUENTLY THE API MAY CHANGE PRIOR TO THE INITIAL RELEASE (1.0.0)

 

Obfuscate is a simple library which provides useful events, utilities, and common code for mod developers. Originally created for compatibility in MrCrayfish's mod, this library is now targeted for all mod developers alike.

 

Currently the events this library implement are:

  • ModelPlayerEvent
    • SetupAngles - Allows you to manipulate the player's model angles without the need to worry about resetting them correctly (with Pre and Post sub events).
    • Render - Allows you to override the player model, add additional rendering, or cancel it completely (with Pre and Post sub events).
  • RenderItemEvent
    • Held - Change the rendering of a held item when in third person (with Pre and Post sub events).
    • Entity - Change the rendering of an item when it's dropped on the ground (with Pre and Post sub events).
    • Gui - Change the rendering of an item when it's in an inventory (with Pre and Post sub events).

More events coming soon!

 

If you are a developer and are wanting to add this to your project, all you have to do is add this to your build.gradle

repositories {
    maven { url = "https://mrcrayfish.com/maven" }
}

dependencies {
    compile "com.mrcrayfish:obfuscate:0.2.6-1.12.2"
}