Skip to content
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

How to specify spawn entity arguments #115

Open
tryce404 opened this issue Aug 5, 2022 · 1 comment
Open

How to specify spawn entity arguments #115

tryce404 opened this issue Aug 5, 2022 · 1 comment

Comments

@tryce404
Copy link

tryce404 commented Aug 5, 2022

I'm trying to figure out how to specify NBT parameters when spawning an entity. mc.spawnEntity(x,y,z, SHEEP, "{Color:1b}") How do you change color of sheep when spawning???

@Marcinosoft
Copy link

It's not possible to specify colour. spawEntity make use only four of it's argument: coordinates and entity_id.
Even if you pass more params, it won't be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants