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
- 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