Solved SpawnEntity inside of a block

Discussion in 'Plugin Development' started by Mali_Plavi, Jul 1, 2018.

Thread Status:
Not open for further replies.
  1. world.spawnEntity(location, EntityType) cancels when there is a block in that location. I need to spawn an entity inside of a block so that it does not cancel.
     
  2. Offline

    ITGuy12

    Hey! Have you tried spawning it in one place, like 0 255 0 and then teleporting it into the block?
     
  3. no, that crossed my mind.

    spawning it out of the world and then teleporting it to the location you desire worked. Thanks

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 1, 2018
  4. Offline

    ITGuy12

    No problem! Bukkit is word like that sometimes xD


    Sent from my iPhone using Tapatalk
     
Thread Status:
Not open for further replies.

Share This Page