Solved [Help]Can I make this with Tile Entity Blocks NMS ?

Discussion in 'Spigot Plugin Development' started by Gcunha, Aug 6, 2018.

Thread Status:
Not open for further replies.
  1. Is it possible to create a TileEntity Block using nms that works just like mobspawner but instead of spawning monster entity spawning other things ?


    Like Item entity?
     
  2. I think I've seen something like that done in adventure maps. The minecraft wiki page has detailed information about the NBT layout; it looks like you could put any entity type in there.
     
    • Useful Useful x 2
  3. That's definely something. But what i really want to do Its a plugin where players mine a Block then they wait X ticks and the blocks spawn again(like cosmicprisons mining system), I was thinking if its possible for change the mob spawning to changing the block type. Do you have any clue on that ?
     
  4. Mob spawners can only spawn entities, so no. You will need to track broken blocks yourself and restore them after some time.
     
    • Like Like x 1
    • Agree Agree x 1
  5. Guys already know what im going to do, it was kinda of obvious but i didnt tought about!

    Thank you all for trying to help me!
     
    • Like Like x 1
Thread Status:
Not open for further replies.