Pollen - Universal Library for Minecraft Mod Development
Pollen is a multifunctional library designed to simplify the process of developing Minecraft mods. The main advantage of this library is its full compatibility with both popular platforms - Forge and Fabric, achieved through the use of Architectury architecture.
Key Library Capabilities
The Pollen library offers developers a wide range of tools and APIs that significantly simplify mod creation:
• Cross-platform APIs for working with Fabric and Forge through Architectury (although using Architectury is not a mandatory requirement)
• Modern geometry and animation system based on the Bedrock Edition format
• Efficient static block rendering without the need for Block Entity Renderers
• API for modifying vanilla registries through datapacks (achievements, item overrides, and much more)
• Various utilities for simplifying the rendering of simple objects
• Configuration system for Fabric with format similar to Forge configs
• API for data synchronization with simple information storage on entities
• Simplified and intuitive API for working with network interactions
Getting Started for Developers
To integrate Pollen into your development environment, you need to add the appropriate dependencies to the build.gradle file. Make sure the code is added outside the buildscript block. Replace
For Forge:
repositories {
maven { url = "https://maven.moonflower.gg/releases" }
}
dependencies {
implementation fg.deobf("gg.moonflower:pollen:
For Fabric:
repositories {
maven { url = "https://maven.moonflower.gg/releases" }
}
dependencies {
modImplementation "gg.moonflower:pollen:
Setting Up Dependencies
For Forge: In the mods.toml file, add at the end of the file:
[[dependencies.
For Fabric: In the fabric.mod.json file, add to the depends object:
"depends": {
"pollen": "[
Working with Architectury
When using Architectury with three modules (common, fabric, and forge), in the fabric and forge folders follow the instructions above. To use Pollen in the common module, add to the build.gradle of the common folder:
dependencies {
implementation "gg.moonflower:pollen:
The Pollen library continues to evolve and offers more and more possibilities for creating high-quality Minecraft mods.