Started by
Hey_itz_Jim
on
Topic category: Advanced modding
So i need some help im making this mod and theres gonna be a block that can only be placed on endstone but I dont know how to do that can anyone help me plz
Topic category: Advanced modding
So i need some help im making this mod and theres gonna be a block that can only be placed on endstone but I dont know how to do that can anyone help me plz
You can do it using events: Do when block added event ten you can use conditions, use the condition BlockAt[i,j,k] == item/block and set the block as endstone and put a -1 after the j. Do the result add block. Does this work?
@#1 thanks man that helped alot that will be in the next update of the mod im making now can you guys keep this post up as a reference for me and anyone else that has this problem thank you
@#1 hey man I thought it worked but its not working for me any other ideas
Try this:
Event:Block placed
Condition:BlockAt[i,j-1,k] != item/block Put a ! in place of the first =.
Result:Remove block with or without drop.
And delete the other event. I tested it, it works.
@#2 thank you