MineCart Mob spawner set spawn type?

Discussion in 'Plugin Development' started by ti07shadow, Jul 18, 2015.

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

    ti07shadow

    i know in command blocks theres a way to set the data on a minecart mob spawner, but how do you do this in bukkit code?
     
  2. Offline

    ti07shadow

    Ight let me rephrase.

    How would I go about changing the spawning type of a Minecart Spawner to the entity of my choosing? (e.g. creeper, skeleton, zombie, etc) By my understanding this can be done by changing its NBT data; however, I a unaware of how to do this. A push in the right direction would be nice. Maybe perhaps an example?
     
Thread Status:
Not open for further replies.

Share This Page