4 Important Questions That Need To Be Answerd

2 posts / 0 new
Last post
Offline
Last seen: 1 year 2 months ago
Joined: 01/02/2015 - 13:25
Gems: 0
4 Important Questions That Need To Be Answerd

Hello Guys.

I have got 4 important questions wich are :

1-How to make a dyable armor like leather armor ?

2-How to make an armor that is not on the overlay layer ?

3-How to make a sword with extended range ?

4-How to make a crop like Wheat ?
 

Thanks For Reading, Have a good day.



Nuparu00's picture
Offline
Last seen: 1 hour 2 min ago
Joined: 08/27/2013 - 18:03
Gems: 277
4. How to make crop like a

4. How to make crop like a wheat ( probably you want to know how to make a plant with the gradual growth.)

Step 1

Make a item for seed.

Step 2 

Make a block for first stage of growth.

Step 3 in seed item to "On block rightclick" event change condition from  "In all cases" to "blockAt[i, j, k] == item/block" .As a block select a farmland ( or different block) and make stack event.

To stack event add:

Add block event. As the block set your first stage block.

Add consume item in inventory. As the item select your seed item.

 

 

Step 4

Now make 2nd growth stage block.

In 1st stage block in top-left corner set tickrate of the growth (4 ticks = 1 second)

To update tick event simply add "Add block" and as the block set your next stage block.

In the same manner you can make more stages.

In final stage in the "Block destroy" event add:

"Add item in inventory" or "Spawn Gem" and as the item set your item for mature crop.

"Add item in inventory" and As the block set your seed and to amount write: 
(int)(Math.random()*3)+1

If you want to be your seed dropped from grass like what seed in the item allow: Can be dropped from a grass.

It's propably all.

 

I hope it helps.

 

Sorry for my very bad english.