Started by
Max094_Reikeb
on
Topic category: Help with MCreator software
Hello,
I recently created a custom plant, but there's one problem.
I want this custom plant only being able to grow on Ice, Packed Ice or Blue Ice, and no other block.
I already followed a tutorial, but it was only working for 1.12.2 and not 1.14.4 so i'm a little lost now...
Thanks for any help you could get!
Edited by Max094_Reikeb on Tue, 03/10/2020 - 15:55
Please, anyone?
what you could do is have it that on spawn it checks the block underneath it, if it isn't the blocks you want set block at z y x air to despawn it.
you could also make it only spawn in an ice biome?
Yeah, but I still have the problem of making the plant able to spawn and grow on ice, I don't know how to do it!
let it be "cave" type plant.
and then bind this to when block added:
if(NOT(getblock(x,y,z)=ice)){
setblock(x,y,z)=air
}
I did this but it's not working :
event trigger : a block is placed
if ((get block at x, y, z) = ice_cane) {
if ((NOT(get block at x, y-1, z) = ice) OR (NOT(get block at x, y-1, z) = packed_ice) OR (NOT(get block at x, y-1, z) = blue_ice)) {
remove block at x, y, z;
}
}
why isn't it working, and why is my ice_cane alway being removed?
I think it is not a problem with the procedure. Because icy biomes usually don’t have that much ice, only in the lakes. So I suggest you to go fly around to find some.
yes this is a problem with the procedure because I placed ice and an ice cane on top of it and the ice cane was removed all the time!
Can you screenshot your procedure for me? Thank you
Already gave you the code, but okay, if it can help...
Actually you bind the procedure to plant tick update,
and you set block at x y z to air, not cancel event
This time, I did this and linked the procedure to the update tick event from my plant but it still doesn't work!
Calm down, I'm trying to help :)
try to place a plant and see if it works, that will help to narrow down the problem
I'm calm, who said I'm not lmao?
So, when I place my Ice cane, it can be placed on any block with solid face, just like my procedure doesn't exists, but I don't understand why because I linked my procedure to the update tick ice cane...