Block states
Last updated
Last updated
If you'd like your EB to have a specific state, for example:
A Lit lamp
A Trapdoor in a specific position or looking into a specific direction
A custom note block
A lit furnace
etc
You have to create your EB, set the things you want, etc and then create an activator PLAYER_PLACE
After that, go to commands and add a setblock command, in my case I want to setblock a lit furnace, so the setblock command will refeer to that block.
Its a normal setblock command, if don't know how it works you should take a look at "how to use vanilla commands"
The example is placing a lit furnace, to place another stuff the block will have different nbt, you can check them in https://minecraft.fandom.com/wiki/Tutorials/Command_NBT_tags
So once I place it, even though in my inventory it looks like a normal furnace
Once I place it, it looks like:
And that's it, the idea is ready, now there are some problems that we will tell you below.
Now, actually it only has one problem, the direction, right now it doesn't keep the direction, so you'll need to create 4 activators using direction conditions to place it correctly.