Custom tile entities in Mob Spawners?

Discussion in 'Plugin Development' started by xTrollxDudex, Jun 18, 2013.

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


    Is it possible to edit the mob inside of a mob spawner to contain a block, just for looks, and disable spawning anything from spawning from the particular spawner?

    Anyway? NBT, packet injection, metadata? At least without spout.
  2. Offline


  3. Offline


  4. Offline


    I wish I knew how to to anything with NBTdata. Anyway though, they can spawn item entities, if memory servers. Not sure if that is graphical or not, though.

    Bump :D
  5. Offline



    CreatureSpawnEvent and CreatureSpawnEvent.SpawnReason. With that you might be able to narrow it down to the actual spawner if you need specific control over it. If you needed to change what spawns you simply remove the one that is spawning and instead spawn your new creature in the same place with your desired settings.

    Edit: Just did another look at your post.. Sry this won't work for yah, lol...
  6. Offline


    He wants a block instead of creature
  7. Offline


    Since it is in fact possible to disguise a mob as a block with packets i assume it has to be possible to place a block in a spawner, and yes stopping them from actually spawning while still having the spinning entity is easy, just cancel the spawn event, unfortunately i don't actually know how to do the packet stuff so can't help you there, but there is no reason it shouldn't be possible.
  8. Offline


    I have no idea how to, but I know you can do it with NBT. Look at some of SethBling's MCEdit filters.
  9. Offline


    MCEdit filters are written in python. The only thing you could get out of that is a rough understanding.
  10. Offline


    Just use it figure out what NBT tags are edited...
  11. Offline


    You could figure out how to put a custom falling sand entity with custom block id
Thread Status:
Not open for further replies.

Share This Page