Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.7.10]How to make two block high plants

Featured Replies

What you're trying to do is achieved with renderers or stacked blocks, not larger textures. Minecraft only accepts equal sized textures that are powers of 2s.

What everyone above has been telling you to do is fix your textures into 2 separate parts and get them working first before they can supply any more help.

 

As for how to do this: Try looking at the actual code of the Sunflowers, Lilacs, Rose Bushes, and other flowers you're trying to mimic.

  • Replies 56
  • Views 35.1k
  • Created
  • Last Reply

Top Posters In This Topic

  • Author

how do i make that 2 seperate parts like to first block grow and then another and its finished

how do i make that 2 seperate parts like to first block grow and then another and its finished

Have a look at the vanilla BlockBush BlockDoublePlant class. That should tell you most of what you need to know.

  • Author

how do i add seed like to seed is food or custom item and it drops custom food

And I also said don't copy the code, write it yourself and learn from my code, and you copied it, thats not how you learn.

  • Author

and i wanna to grow but to drop me food

because i set me food to grow with it but it doesn't grow

  • Author

what with drop for me item i tried return (MainClass.Corn); and it not work minecraft than crash

  • Author

it does not grow with bonemeal but its public class BlockCorn extends Block implements IPlantable, IGrowable

  • Author

this is me drop option

@Override

public Item getItemDropped(int parMetadata, Random parRand, int parFortune){

 

// DEBUG

System.out.println("BlockCorn getItemDropped()");

return (MainClass.tomato); }

}

  • Author

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.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.