Download Pollen — Minecraft Mods — MetaMods

Pollen

Active

Downloads

23

Last update

2 years ago
Client
Fabric
Quilt
Forge
Neoforge
Libraries

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 with the target Pollen version. For example, for version 1.0.0 on Minecraft 1.16.5, use 1.0.0+1.16.5.

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.]] modId="pollen" mandatory=true versionRange="[,)" ordering="NONE" side="BOTH"

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.

Project members
jackson

jackson

Ozelot5836

Ozelot5836

moonflowerteam

moonflowerteam

jacksonhardaway

jacksonhardaway

Created: 6 Aug 2023

ID: 13789