Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10]How to make two block high plants


CroComeT
 Share

Recommended Posts

Here are all me classes for this :

now it drops 1 item because it was bug i need to fix it(it was leaving bottom or top block when break one)

 

BlockTomato :

https://gist.github.com/CroComeT/a4838d09dee2ec9d64f0

 

BlockCorn :

https://gist.github.com/CroComeT/7f7be09cb17fdbcc5c33

 

Please help it not grow and it show top of plant when place on farmland with seed.

Link to comment
Share on other sites

  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

I think what do i need to do because this is for me One Block

i think like me others crops cucumber, strawberry....

Do i need make new class for Double Block

 

Or i will copy ItemSeedFood and than fix, so can you say me what do i do.

 

 

Sorry for me English.

Link to comment
Share on other sites

  • 5 months later...

I've been following this a little, I'm really new to modding, three days. I've been looking at code to see how to make a two block high torch. From what I can tell, I need to make a script to place a block after the base block is placed. If you have anything to share, I'd like to see it. I know how to set textures and register items and stuff. Just don't know how to make blocks with false tops that emit light.

Link to comment
Share on other sites

I've been following this a little, I'm really new to modding, three days. I've been looking at code to see how to make a two block high torch. From what I can tell, I need to make a script to place a block after the base block is placed. If you have anything to share, I'd like to see it. I know how to set textures and register items and stuff. Just don't know how to make blocks with false tops that emit light.

 

You dont really need to make the upper block emit the light ;) (Simply let the block you are placing emit the light. particles could also be done, if you check, if its the upper part of the plant(or torch)) When i get home, i will take a look at the DoublePlant and try to help you ^^

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

 Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.