SynapseLib
A Minecraft: Java Edition code library for 1.12.2
This is the library mod that will be used in newer versions of Wyrms of Nyrus. For players, this mod does nothing on its own, but for modders, this provides tools, shortcuts, AI and more that they can take advantage of.
Features:
- RNG helper functions
- Proximity block detection
- Material type checking
- Configuration file helpers
- Clamp functions
- Block blacklist generation
- Block breaking functions for entities
- Chat formatting
- Helpers for animated entities
How to Install SynapseLib (Mod)
SynapseLib by Modrome is verified for Forge across Minecraft versions 1.12.2 (latest release: 4.0, file size: 33 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.12.2) and platform (Forge).
- Make sure you have the compatible loader or environment installed for Forge.
- Move the downloaded SynapseLib file into your Minecraft
.minecraft/modsfolder and launch the game.
- In AnimatedEntity:
- Removed getVariant()
- Removed getEntityTexture()
- Removed getEntityGlowTexture()
- Enhanced: getEntityTexture(T entity)
- Enhanced: getEntityGlowTexture(T entity)
- Added: getVariantEntity(T entity)
- Override: renderModel
- Added: getOpacity()
- Fixed buildscript
- Block Breaking now accepts sound playback chance (integer) as a parameter
- THIS VERSION BREAKS VERSIONS OF WYRMS OF NYRUS THAT ARE BELOW V0.3.10**
## CHANGELOG
- Animated Mob abstract class
- Major refactoring
- Entity block breaking code
- New config functions
- Array config support for Integers and Booleans
- Chat formatting enums for easier chat message stylization in mods
- Getter function to return all namespaces of blocks in a mod