Jump to content

Recommended Posts

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...