Sueta

Mob Capture [NBT]

1.1

Capture mobs and summon them later (With NBT support!)

·Plugin

Have you found the perfect villager and you don't want to lose him? Do you want to move your animals but It is just not easy? Well I got the solution, you can pick them up, save them on your inventory/chests, and place them later! And the best? It is 100% NBT compatible, which means that the entity that you place is exactly the same as the one you picked and not one similar!

Requires:

Commands:

  • /mobcapture - Gives an egg
  • /mobcapture reload - Reloads the configs


Permissions:

  • mobcapture.admin - Permission to execute /mobcapture
  • mobcapture.use - Permission to use the eggs


Config:

sounds  :  
  capture   :  ENTITY_CHICKEN_EGG  
  release   :   NONE  
 
blocked-types   : 
  - WITHER 
  - ENDER_DRAGON

How does it work?
I use both the item's NBT and the entity NBT, I put the entity's NBT into the item's NBT (which means no huge configs, and after restart it will still work), and when I want to spawn the entity, I retrieve the NBT Compound and apply it to the newborn entity.

How to use it:
Type /mobcapture (admin only!) and it will give you a plain "capture" egg!

Source code:
You can see this project's source code in Github

Similar projects

Plugin →