Changes:
- Item and Block API have been rewritten in alot of parts.
- Config API has been moved to .legacy in favor of possibly new API
- ResourceLocation is now Identifier and made using Identifier#of
- ResourcePack API has been rewritten from scratch
New:
- BaseMap which can be extended to make your own maps
- BlockEntity (for Block ticking and data)
- ParticleEmitter for dynamic particle source
- ItemDisplay capabilities to particle API
- PlayerData and Attribute API
- DamageType API (not tested, requires BootStrap)
- WorldMeta class for easy use of world PDC
- DataPack class for loading datapacks from within plugin (requires bootstrap)
- BlockProperties which allow setting custom hardness, allowing fortune/requiring silktouch for blocks (will be expanded).
- Custom block break handling (has visual bugs)
- Experimental entity api (no loot table/ event hooks in-class, need to be handled in respective events for now)
- ItemType and ItemTier
- experimental packet api
- TTF, bitmap char arrays, unihex and space provider support for Font class
- TextOffset class for easily getting any offset (gui position etc)
- keepAlive to MySQL database
Removed:
- BlockData removed in favor of BlockEntity
- Builtin RecipeViewer and Recipe serialization removed in favor of WIP separate plugin.
** Docs will be updated in july
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }