-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mcpi] How to use setBlock to create a door? #112
Comments
I checked it with Minecraft 1.18.2 and it works but door parts have to be placed in reverse order. Previous door order worked with Minecraft 1.12.2 for sure.
|
I will test this, but how do you find out the order need to be reversed? |
Every door are constructed with two parts, bottom one and upper one. In recent Minecraft somehow when you put upper part on bottom one it breaks. So I tried set upper part first. That's the whole story :) |
I found it by brute force hahaha I did a tutorial but it's in spanish but the code it's the same. |
I am following the answers here, but it doesn't seem to work now.
I can use setBlock in command console to create a door but not the API. Not sure if values for the block data fields are changed. I also tried getBlockWithData to get the state of a door I manually created, using setBlock with those state didn't work either.
The text was updated successfully, but these errors were encountered: