-
Notifications
You must be signed in to change notification settings - Fork 28
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
setBlock set only 'Sandstone' #16
Comments
try this |
Any ideas of how to make all scripts written with ID but not a string as parameter work again? |
You need to create a simple dictionary...
|
oh no... that's not the best way. I wish I could change something in mcpi files to bring it to life. |
Try to use original mcpi |
unfortunately it doesn't help =( |
I have a solution for this: In short: mc.setBlock(1, 2, 3, mcpi.block.TNT.id) needs to be: mc.setBlock(1, 2, 3, 'tnt') This is because the newer protocol now needs the actual string representation of the block type passed over the connection rather than the integer ID. Not sure when exactly this became the case. You will need to install my fork of the I think you can install with pip install git+https://github.com/cjdell/mcpi |
I run a spigot server and the JuiciyRaspberryPie Plugin in the Version 1.18.1 and i can only set 'Sandstone' Blocks. What's wrong here?
The text was updated successfully, but these errors were encountered: