Jump to content

Increase flower weights. (Configurable)


Psicraft

Recommended Posts

Request

A simple mod that increases the flower weights for growing red roses and yellow flowers using bonemeal.

The mod would allow the vanilla flowers to be prioritised over mod flowers.

The mod should be configurable so the weights of the red roses and yellow flowers can be adjusted as mod flowers are added to the collection.

MineCraftForge.addGrassPlant()



public static void addGrassPlant(Block block,

int metadata,

int weight)

Register a new plant to be planted when bonemeal is used on grass.



Parameters:

block - The block to place.

metadata - The metadata to set for the block when being placed.

weight - The weight of the plant, where red flowers are 10 and yellow flowers are 20.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...