How do I make a crop grow like a melon or pumpkin?

Started by supersammy82 on Fri, 04/03/2020 - 15:04

Topic category: Help with MCreator software

Last seen on 05:28, 30. Mar 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a crop grow like a melon or pumpkin?
Fri, 04/03/2020 - 15:04

Sorry for posting twice in a row, but these were two separate problems. Is there any way to (1) make a crop grow like melons or pumpkins, and (2) make the texture for the seed? (i.e multi-stage melon growing as in vanilla minecraft along with a flat texture like normal seeds.)

Last seen on 23:51, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how about making a block
Fri, 04/03/2020 - 18:08

how about making a block

Last seen on 23:51, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
also making a procedure that…
Fri, 04/03/2020 - 18:22

also making a procedure that activates when it's placed might help:

while [not [[get block at [x] [y] [z]] = [the block]]]

a block that waits [how long it takes]

place [the block] at [x] [y] [[z]+[1]]

but I don't know if there's a block that waits.

Last seen on 05:28, 30. Mar 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Either way, I still don't…
Sat, 04/04/2020 - 12:17

Either way, I still don't know how to create a texture for watermelon, and apparently the "Plant" element thing doesn't work very well... at all. There's no stage growing, and it doesn't allow for watermelon-type growing. Can you help with that?

Last seen on 00:13, 27. Mar 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Maybe some thing in ther…
Mon, 04/06/2020 - 05:32

Maybe some thing in ther procedures for tick update like:

If random 0,1  ≤ 0.1 

Remove block at x y z 

Place ____ block at x y z    ( this would be the second stage of the plant so make another mid plant stage texture)

Else If random 0,1 ≤ 0.0

Remove block at  X Y Z

Place  ____ block at X Y Z

Then go to the [procedures for the mid plant stage block and do the tick update procedure and do:

If random 0,1  ≤ 0.2 

Remove ____ block at X Y Z

Place ____ block at X Y Z ( this would be the last stage texture)

If Block Air at X + 1 

Place "Melon" block at X + 1

Else If block Air at X - 1  

Place "Melon" block at X - 1

Then basically do the place if air for rest of locations.

Dont know if this is correct, and if you have a question just ask :)

 

Last seen on 23:51, 22. Jun 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
an item called ___ seed when…
Sun, 04/19/2020 - 14:10

an item called ___ seed

when right clicked on block:
if block at x y z = farmland:1

call whenSeedPlanted procedure x y+1 z

variable for whenSeedPlanted called time

plants:

___lvl1 and ___lvl2 and ___lvl3

whenSeedPlanted:

place ___lvl1 at x y z

set time to time of world + how many ticks you want it to take to go to the next stage

place ___lvl2 at x y z

set time to time of world + how many ticks you want it to take to go to the next stage

place ___lvl3 at x y z

while block at x y z = ___lvl3:

set time to time of world + how many ticks you want it to take to go to the final stage

if block at x+1 y z is air

place your final block at x+1 y z

continue with next iteration

if block at x y z-1 is air

place your final block at x y z-1

continue with next iteration

if block at x-1 y z is air

place your final block at x-1 y z

continue with next iteration

if block at x y z+1 is air

place your final block at x y z+1

continue with next iteration

end of the while loop