[Hard] Spawning mob with NBT Data

Discussion in 'Plugin Development' started by pokuit, Feb 18, 2014.

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

    pokuit

    I think the title sums it up quite well. I am wondering how would I go around spawning mobs with NBT data. I've looked through craftbukkit code and come up empty handed.

    Any help is appreciated,
    Thanks in advance!
     
  2. Offline

    McMhz

  3. Maybe this helps a bit?
    Code:java
    1. ((CraftZombie) zombie).getHandle();
     
  4. Offline

    pokuit

    BlockCat Hmm, I thought about just plain out doing that though surely you can spawn a mob with NBT data. I understand you can't change a mob's nbt data once it's spawned as nbt data is just a save format. Though again there must be a way other than that to spawn a mob with custom NBT data.
     
  5. Nope,
     
Thread Status:
Not open for further replies.

Share This Page