Started by
supersammy82
on
Topic category: Help with MCreator software
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.)
how about making a block
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.
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?
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 :)
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