Jump 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.

Featured Replies

Posted

hey,

 

I'm working on my mod called AgricultureCraft,

I want to make my corn crop 2 high and it starts growing like seeds.

how would I do it?

 

problems:

how to use a double high texture for the plant?

how do I extend the bounding box as the plant grows?

and, obvious, how to make it 2 blocks high?

 

thanks for the responce!

I'm fairly certain you use two separate blocks, when the bottom block changes to for example meta data '3' you set the block above it to the other block, so it simulates a larger crop.

does anyone else have an idee how to do it?

Zedicus explained how do it, when the crop's at a specific height (using metadata or another system) set the above block to the crop block. No one is going to code it for you and the hard part has been explained. Have a look at Minecraft's existing crops and code it.

for his idea you could add a onBlockUpdate() and then check if the metadata == 3 and then put a random update for the top part

The Korecraft Mod

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.

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.