Started by
KingBugz
on
Topic category: Help with Minecraft modding (Java Edition)
Title says it all,
I would like to know how to remove a block, and replacing it with a new block while keeping the previous block's facing state.
Topic category: Help with Minecraft modding (Java Edition)
Title says it all,
I would like to know how to remove a block, and replacing it with a new block while keeping the previous block's facing state.
You will be able to do this in 2019.5 using get and set procedure blocks.
Awesome, that's good to hear :)
Thanks for the reply!
So how would I go about doing that?
I understand how to get the block's facing state, but not how to apply that to a new block that is being placed after removing the block.
One option is if stamement. For example:
if block direction is DOWN
place new block
rotate it DOWN
elseif block direction is SOUTH
place new block
rotate it SOUTH
and so on
Thank you very much, I got it to work like a charm, and now I have a LOT of back tracking and procedure updating to do lol
How did you get it to work? I've done the exact same thing
2020.2 has replace block and keep rotation procedure block.
This is an old thread but recently in version 2020.5 is this what the keep state checkmark on the "Replace Block" code block does?
Yes