We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to use the spawn entity function and it's not working. here is the code.
from mine import * mc = Minecraft() mc.spawnEntity(10,10,10,VILLAGER)
Here's the error I am getting
Traceback (most recent call last): File "C:\Users\Name\AppData\Roaming\.minecraft\mcpipy\camera.py", line 13, in <module> mc.spawnEntity(10,10,10,VILLAGER) File "C:\Users\Name\AppData\Roaming\.minecraft\mcpipy\mcpi\minecraft.py", line 264, in spawnEntity return int(self.conn.sendReceive("world.spawnEntity", args)) File "C:\Users\Name\AppData\Roaming\.minecraft\mcpipy\mcpi\connection.py", line 134, in sendReceive return self.receive() File "C:\Users\Name\AppData\Roaming\.minecraft\mcpipy\mcpi\connection.py", line 128, in receive raise RequestError("%s failed"%self.lastSent.strip()) mcpi.connection.RequestError: world.spawnEntity(10,10,10,Villager) failed
Is there anything I can do to resolve this error?
The text was updated successfully, but these errors were encountered:
The entity goes before the coordinates.
Sorry, something went wrong.
Thanks, it worked
No branches or pull requests
I am trying to use the spawn entity function and it's not working. here is the code.
Here's the error I am getting
Is there anything I can do to resolve this error?
The text was updated successfully, but these errors were encountered: