Help with plants!!!

2 posts / 0 new
Last post
JohnFrusciante's picture
Offline
Last seen: 1 year 8 months ago
Joined: 06/05/2015 - 03:01
Gems: 0
Help with plants!!!

 CUSTOM GROWING PLANT

I want to make a custom plant that grows from a seed and its 2 blocks high, each one different (like sunflowers)

Is it possible to make such thing? please i need help



Nuparu00's picture
Offline
Last seen: 10 hours 51 min ago
Joined: 08/27/2013 - 18:03
Gems: 305
I'm not 100% sure but i think

I'm not 100% sure but i think it cam be maked something like this.

1.Make item for seed

2. make a block for first stage of grown

3 in seed item in event " on block right click" add:

 If you want harvest this plant on specific block , change condition from "In all cases" to "blockAt[i, j, k] == item/block" and make stack event. To stack event add :

          1. "Add block". Coordinates dont edit and as a block set your block from step 2.

          2.  "Consume item in inventory" and select your seed.

         if you want harvest your plant on all block skip the changing   of condition.

4. In yout first stage block add tick rate on value what you want (4 ticks = 1 second (Ex. 400 ticks = 100 Seconds) and in event "update tick" set  

A)

Spoiler: Highlight to view
If you want grown down and top block of plant at same moment add "Stack event"

To Stack event add "Add Block and as a block add down block.

And add second Add Block event to stack event and there set as a block your top block.

B)

Spoiler: Highlight to view
Add only "add block" and set the block your down block.

In your down block make the same steps but as the block there set the up block.

 

That should be it all.

I hope it helps.

(I know, my english is very bad.)