Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlowerMeal

Use bone meal on flowers to duplicate them. Right-click a flower with bone meal for a chance at a second one. Point a dispenser at a flower and feed it bone meal with redstone, and it duplicates too, so you can build automatic flower farms.

Works on Minecraft 1.17 and up, including newer flowers like torchflower, pitcher plant, and eyeblossom.

Features

  • Duplicate any flower, or any block you list, with bone meal
  • Works by hand or from a dispenser for redstone farms
  • Three ways to give the duplicate: drop it, add it to the inventory, or plant it nearby
  • Separate drop style and chance for hand use and dispensers
  • Handles two-high flowers like sunflower, lilac, and pitcher plant
  • Optional mcMMO herbalism XP per duplicate
  • Configurable drop chance, allowed game modes, and flower list
  • Config auto-upgrades on update and keeps your existing settings

Commands

Command Description
/flowermeal Show the current settings
/flowermeal reload Reload the config

Permissions

Permission Description Default
flowermeal.use Duplicate a flower with bone meal everyone
flowermeal.reload Use /flowermeal and reload the config op

Config

Everything lives in plugins/FlowerMeal/config.yml, and the file is fully commented. After editing it, run /flowermeal reload.

Option Description Default
enable-auto-update-check Check Spigot for a newer version on start true
enable-bstats Send anonymous usage stats to bStats true
enable-mcmmo Grant mcMMO herbalism XP on a duplicate true
herbalism-xp-gained Herbalism XP per duplicate, whole numbers only 50
allowed-game-modes Game modes where duplication works SURVIVAL
flower-drop-style Hand duplicate: plant, drop, or inventory plant
flower-drop-chance Chance to duplicate by hand, 0 to 100 30%
enable-dispensers Let dispensers duplicate flowers true
dispenser-drop-style Dispenser duplicate: plant, drop, or inventory drop
dispenser-drop-chance Chance to duplicate from a dispenser, 0 to 100 30%
flowers Blocks that count as flowers, any block works all vanilla flowers

Drop styles:

  • plant places the duplicate on grass, dirt, or similar ground within a few blocks
  • drop drops the duplicate on the ground
  • inventory gives it to the player, or for a dispenser puts it back into the dispenser and drops it if the dispenser is full

Dispensers

Point a dispenser at a flower and give it bone meal. When it fires, it duplicates the flower using the dispenser settings instead of the hand settings. The drop style pairs well with a hopper underneath for a fully automatic farm.

mcMMO

If mcMMO is installed, players earn herbalism XP each time they duplicate a flower. Turn it off with enable-mcmmo or change the amount with herbalism-xp-gained.

Installation

  1. Download FlowerMeal from the Spigot page.
  2. Put the jar in your server's plugins folder.
  3. Restart the server.
  4. Edit plugins/FlowerMeal/config.yml to taste, then run /flowermeal reload.

Building

Requires JDK 8 or newer and Maven.

mvn clean package

The built jar lands in target/.

Links

License

Released under the MIT License. See LICENSE.

About

Use bone meal on flowers to duplicate them, by hand or from dispensers

Topics

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages