Started by
Shigure.no
on
Topic category: Help with MCreator software
Hello!
I am attempting to make a block that is bigger then 3x3, and have decided to split this block into two.
Is there a procedure or anything that I could use that would automatically place the top part of the block when the bottom part is placed by a player?
Thank you in advance!
I mean, you've sort of just described it yourself. You'd need a couple though.
That being said, (depending on what you're using this for), could be easier to just make an entity with no AI and a solid bounding box that;s 3*3*3 blocks big.
Hey! Thanks so much for replying!
I've decided to go with making it an entity like you suggested, and that's working fine - I am now wondering if there is a way to make the entity always spawn in the same placement every time?
By that I mean, when I spawn it in, it changes directions it is facing just like if you were to spawn a mob, which isn't great since it is meant to be a furniture piece!
Thanks so much again for the help!
I've seen that happen with entities before, it's sort of like it takes a moment for the game to realize they have no AI. I just recommend running a procedure on entity update tick that sets the entity's position to its current x/y/z rounded down, and it's current yaw/pitch to zero. (And of course make sure the bounding box is set to solid, and collisions are disabled.)
Thanks so much for the answer and the help!
This will work just fine :)