-
Notifications
You must be signed in to change notification settings - Fork 384
Closed
Description
I don't know if this is the best/right place to leave these kind of questions. If not, please direct me to the correct place, and I will glad ask them there.
I'm trying to generate entities to populate some structures that I am creating. I would like to do something like the following, but I cannot get it to work:
/js self.world.spawnEntity(self.location.clone().add(10,0,0),org.bukkit.EntityType.PIG)
As a simple example, I was hoping this would spawn a pig 10 blocks from me. But I get an error.
Metadata
Metadata
Assignees
Labels
No labels