Mo Flowers 图标

Mo Flowers

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.0.1-BETA
本资源为搬运资源,原资源地址: https://modrinth.com/mod/moflowers
资源信息

Minecraft 版本: 1.21.5

平台: fabric

标签: adventure worldgen

资源介绍
MoFlowers - Bring New Life to Your Minecraft World!

MoFlowers is a Minecraft mod that breathes new life into your adventures by adding a wide variety of unique flowers, berry bushes, and decorative blocks. Every plant is carefully designed to blend naturally into the world, offering new mechanics, vibrant biomes, and creative possibilities for builders and explorers alike.

HeaderTop

✨ Main Features

  • New Flowers & Bushes: Discover species like wildflowers with open/closed states, lavenders, calendulas, foxgloves, hebeas, and aquatic lilies...
  • Berry Bushes: Harvest sweet blue and glowing berries for food and attracting animals.
  • Flowers Chest: A chest that only accepts mod items for organizing your floral collection.
  • Decorative Blocks: Petals, pots, and tall variants for customization.
  • Biome Integration: New plants naturally generate in specific biomes.
  • Public API: Allows other mods or datapacks to register compatible flowers and blocks.
  • Custom Rendering & Loot: Unique drop system and visual effects.
  • Multilanguage Support: Available in English and Spanish.

? Installation

  1. Install Fabric Loader.
  2. Download the latest release from GitHub.
  3. Place the .jar file into your mods folder.


FooterTop

? MoFlowers API Documentation

MoFlowers provides a simple and extensible API for modders and datapack creators to register, query, and interact with custom flowers and related blocks.

HeaderBottom

Accessing the API

Use the static access point to get the API instance

import net.bichal.moflowers.api.MoFlowersAPI;
import net.bichal.moflowers.api.IMoFlowersAPI;

IMoFlowersAPI api = MoFlowersAPI.getInstance();

Registering Flowers

You can register new flowers, blocks, or detailed flower data:

// Register a flower item
api.registerFlower(myFlowerItem);

// Register a flower block
api.registerFlowerBlock(myFlowerBlock);

// Register a custom flower with extra data
api.registerCustomFlower(new FlowerData.Builder(myItem, myBlock)
.defaultColor(0xFF00FF)
.tallVariant(true)
.biomeRestriction(myBiomeId)
.build());

Querying Flowers

Check if an item or block is a MoFlower

boolean isFlower = api.isMoFlower(item);
boolean isFlowerBlock = api.isMoFlowerBlock(block);

Flowers Chest

Access the special Flowers Chest block and item

Item flowersChestItem = api.getFlowersChestItem();
Block flowersChestBlock = api.getFlowersChestBlock();

Flower Registration Events

Subscribe to flower registration events for integration

api.registerFlowerRegistrationCallback(flowerData ->{
// Your code here (e.g., log, add custom behavior)
});

Extending MoFlowers

  • Add new flowers: Register your own flowers or blocks for full compatibility.
  • Custom recipes/tags: Use the provided tags for recipes, advancements, and more.
  • Localization: Add translations for your custom flowers using standard Minecraft lang files.
For more details, see the JavaDocs in the api package or explore the example usages in the mod source.

FooterBottom

This mod is licensed is All Rights Reserved.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
The Deep(The Peak)

价格:0 墨喵币
下载量:0

查看详情
No Increasing Repair Cost

价格:0 墨喵币
下载量:0

查看详情
Skipper's Venture

价格:0 墨喵币
下载量:0

查看详情
ODMod

价格:0 墨喵币
下载量:0

查看详情