FlowerMap

This plugin is designed to help anyone building a flower farm in a Flower Forest. The flowers generated by using bonemeal on grass block in Minecraft are normally random. A particular block might produce several different types of flowers depending on its biome. But the flower forest biome is special. Not only does it generate two flowers you can't get anywhere else, Lily of the Valley and Allium, but it also has a set pattern of flowers that grow from bonemeal. This pattern is NOT determined by the world seed! It is the same for every world, and it depends only on the X / Z coordinate of the block. For example, if the the block at -1718, -694 in your world happens to be a flower forest, the flower generated on that block by bonemeal will always be a Lily of the Valley.

This is described on the Minecraft wiki under Flower Gradients. A sample pattern is given, but due to the complexity of the algorithm there is no information given on how to determine which block will generate which flower. I couldn't find any information online, so I dug into the source and found the algorithm and determined how it worked. Using that knowledge I wrote this plugin.

 

Screenshot of a flower map


This plugin will display a textual map of flower generation when you use the /flowers command. Just face North, run the command, and you'll see exactly where to build your farm to get the flowers you want. No messy math or worrying with silly things like Perlin noise algorithms. Your current position is denoted by the green X, and each flower type is indicated by both a color and a letter.

If you wish to deny certain users access to this command (you monster), just disable the trinity.command.flowers permission for that user in your permissions plugin.

That's it! It's really that simple. Hope you enjoy it! Happy farming!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files