NoAI tag to entities on spawn

Discussion in 'Plugin Help/Development/Requests' started by MuisYa, Feb 16, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    MuisYa

    Hey guys, basically what I'm trying to do is add the NoAI tag on an EntitySpawn.
    I have no clue on how I would go about doing this and I would love some help.

    I heard I should use NBT stuff but I cant figure it out :(
     
  2. Offline

    pie_flavor

    @MuisYa If you don't want to have to do NBT stuff, you can do getServer().dispatchCommand(getServer().getConsoleSender(), "entitydata "+entity.getUniqueId()+" {NoAI:1}");
     
  3. Moved to Bukkit Alternates.
     
Thread Status:
Not open for further replies.

Share This Page