File Details
SanLib-1.12.2-1.6.0.jar
- R
- Feb 14, 2021
- 328.83 KB
- 1.1K
- 1.12.2
- Forge
File Name
SanLib-1.12.2-1.6.0.jar
Supported Versions
- 1.12.2
Curse Maven Snippet
- requires Forge 14.23.5.2831
- added API for data-driven GUIs based on the JSON format
- added emissive block/item model
- deprecated Lexicon API in favor of Patchouli
- added
GuiUtils#drawGradientRect()andGuiUtils#buildColoredQuad() @Initfrom the Config-API now has 2 stages,Pre(default) andPost- Config-API can now handle private/protected fields
MiscUtils#calcFormula()now correctly interprets asin/acos, not changing them to sin/cosLangUtilsnow converts newline characters properly- fixed hue "overshooting" past 360.0 in
ColorObj#calcAndSetRgbFromHsl() - added
Procedurefunctional interface - relicense to BSD-3-clause
- added fixed item_nbt variant for custom machine recipes
LangUtils#translate(String langKey, Object... args)now won't try to format with no additional arguments- fixed
InventoryUtils#addStackToCapability()to return the remainder instead of either all or none - fixed
ConcurrentModificationExceptionwhilst looking up an entity with their UUID viaEntityUtils#getEntityByUUID() - added
RenderUtils#renderStackInWorld()method with customizable transform type parameter - added
RenderUtils#renderStackInWorld()method with entity parameter (for custom model overrides) - added
GuiUtils#buildColoredQuad()method - added new methods to
JsonUtilsfor adding properties to JSON objects - added new methods to
EntityUtilstryApplyMultiplier()tryRemoveMultiplier()
- added new methods to
InventoryUtilsmergeItemStack()finishTransfer()dropBlockItems()
- added new methods to
ItemStackUtilsdropBlockItem()getCompactItems()
- added new methods to
MiscUtilswrap360()applyNonNull()buildCustomBlockStateContainer()readFile()readInteger()getNumberFormat()getNumberSiPrefixed()getPathedRL()
- added
getHeldItemOfType()toPlayerUtils - changed my implementation of my player model, it now uses the vanilla model with some modifications; it's now compatible with e.g. the Emote system from Quark