Mobs To Eggs | Catch mobs and get spawn eggs icon

Mobs To Eggs | Catch mobs and get spawn eggs -----

A mob catcher where you throw chicken eggs at mobs for a chance to catch them!




UPDATED:
  • Added permissions for capsule crafting (use mobstoeggs.crafting.capsule).
  • Fixed bug when setting change-spawners: false disabling all spawner changing (instead of just mobstoeggs).
  • Added back support for 'mushroom_cow' for those who don't use 'mooshroom'.
  • Fixed bug with the no permissions error when changing a spawner not displaying the entity name in the mobs.yml.
----------, Sep 28, 2024

UPDATED:
  • Fixed issue with all MythicMobs being uncatchable (and throwing an error).
  • Added support for StackMob.
  • Fixed 'None' showing in loaded dependancies (on server start in console) when all dependancies are being used.
  • Internal changes to update NBTAPI.
----------, Aug 7, 2024

UPDATED:
  • Fixed Zombie Villagers throwing an error when caught/spawned.
  • Fixed Cats throwing an error when caught/spawned.
  • Fixed Frogs throwing an error when caught/spawned.
  • Fixed Wolf variant data-tag (wolf variants now save on 1.20.5+).
  • Removed leftover debug message when catching a wolf.
  • Fixed Snow Golems not being able to save data.
  • Fixed Mooshrooms not being able to save data.
  • Renamed Snow Golem from 'Snowman' in the mobs.yml and permissions.
  • Renamed Mooshroom from 'Mushroom_Cow' in the mobs.yml and permissions.
  • Fixed Snow Golem and Mooshroom permission issue.
Note the change to Snow Golem & Mooshroom permissions:
  • mobstoeggs.catch.snow_golem
  • mobstoeggs.spawner.snow_golem
  • mobstoeggs.catch.mooshroom
  • mobstoeggs.spawner.mooshroom
----------, Jul 22, 2024

UPDATED:
  • Fixed error with language files not loading correctly.
  • Updated how language files are loaded and called internally.
  • Fixed entity that was leashed not dropping the lead when caught.
  • Added support for HEX colors on the capsule name and lore.
  • Added support for HEX colors on the mob spawn egg name and lore.
  • Fixed 1.21 mobs not loading in the mobs.yml.
MobsToEggs no longer provides support for versions below 1.20.
----------, Jul 9, 2024

UPDATED:
  • Fixed capsule crafting recipe breaking the plugin when using empty slots in the recipe.
  • Fixed Foxes trying to save a non-existant trusted player.
  • Added support for the Breeze and Bogged mobs.
  • Temporarily removed wolf variant data-tag due to errors.
----------, Jun 23, 2024

UPDATED:
  • Changed internal config library to have better performance.
  • Changed `/mte` and `/mte help` layout to be easier to read.
  • Changed `/mte give <player> <amount>` to now support player or amount in any order when giving a capsule.
  • Updated config.yml and mobs.yml config updater (changing the config-version value will break your config files).
  • Updated plugin update listener.
  • Added armadillo entity (1.20.6).
  • Added wolf variant data-tag (1.20.6).
----------, May 1, 2024

UPDATED:
  • Added support for MythicMobs to be caught.
    • Each MythicMob can be automatically added to the mobs.yml when it is first hit by the capsule. Settings for the MythicMob can then be changed. All 'egg' values here are ignored.
    • When using permissions, each MythicMob needs to be individually added to the player's permission group with mobstoeggs.catch.mythicmobname. i.e. mobstoeggs.catch.skeletalknight.
    • When a mythic mob is caught, the spawn egg will be added directly to the player's inventory.
  • Fixed the positioning of the throw particles so they no longer appear inside the ground.
  • Fixed the positioning of the throw sound to be more inline with the player's head.
  • Added support for changing the throw and catch particle speed.
  • Added the option to define the throw particle x,y,z offset (default is 0.5 each).
  • Fixed the default catch particles appearing to explode outward too much (default particle speed is now set at 0.2).
  • Fixed support for Enderman catching when throwing the capsule at them.
  • Updated the plugin update checker.
  • Fixed the issue with the throw method not automatically updating the capsule projectile-type unless the server is restarted (this will now update when the config.yml is updated).
  • Fixed the issue with off-hand punched capsules removing 2 capsules from the player instead of 1.
  • Disabled baby chickens spawning from eggs only when the capsule (as an Egg) is thrown, has a name or lore, and enable-chicken-egg-hatching: false. Normal chicken eggs will now spawn baby chickens.
  • Removed the old v1.5.5_5 and below config backup system. If you are still on one of these old plugin versions for some reason, please load v1.7.7 before using v1.7.8+ to backup old config files.
  • Kotlin internal library updated to v1.9.22 (This will auto download on your first server start with this plugin version).
----------, Jan 23, 2024

UPDATED:
  • Fixed issue with other MobsToEggs dependencies not loading when Vault is installed.
  • Fixed issue with custom capsule crafting recipe not working on the server start when using Vault (linked to issue above).
  • Added support for HEX colors in language file messages (use &#HEXVALUE - Use two in one message for a gradient between them).
  • Fixed the issue with null entity owners in mob egg data trying to be assigned to a player when the mob is spawned.
  • Added a check when data tags fail to be assigned to avoid duplicated entities from spawning from a single spawn egg.
  • Fixed the capsule item value never being used (it now correctly applies the item look of the thrown projectile).
  • Fixed the issue with Armor stands being caught.
  • Set the default assigned value of the capsule item to 'Egg' instead of 'Snowball'.
  • Added command '/mte info' to see which dependencies are currently being used.
  • Kotlin internal library updated to v1.9.10 (This will auto download on your first server start with this plugin version).
----------, Sep 27, 2023

UPDATED:
  • Fixed entities spawning from spawn eggs at the wrong y-axis when trying to spawn on blocks that can be walked through (i.e. tall grass, flowers, etc).
  • Fixed spawn eggs causing the entity to spawn when trying to open an interactive block (i.e. chests, furnace, etc).
  • Fixed entity spawn eggs not being consumed/spawning a mob instead when changing a spawner type.
----------, Aug 23, 2023

UPDATED:
  • Removed "failed to find NBTAPI dependency" message when not using NBTAPI.
----------, Aug 20, 2023

UPDATED:
  • Changed all entity data-tags to be booleans (true/false) instead of a list (it's recommended to reset your mobs.yml file).
  • Fixed capsule-item crafting recipe not working on server start.
  • Fixed issues with villagers duplicating when they had no profession.
  • Wandering trader offers are saved.
  • Removed the auto-adding dispenser catch method that was unused.
  • Fixed the typo in the salmon catch/spawner use permission check.
  • Fixed WorldGuard region checking (now works as intended).
  • Fixed Player entity being added to the mobs.yml.
  • Added a whole bunch of new data-tags for mobs.
  • Chest inventory carrying mobs like mules, donkeys, llamas now have their inventory saved.
  • Added the option 'remove-all-spawn-egg-data' to remove the hidden persistent data added to spawn eggs (this will make all spawn eggs vanilla spawn eggs, but some features of MTE will no longer work).
  • Removed pre-set spawn egg displaynames that were left on some mob eggs.
----------, Aug 20, 2023

UPDATED:
  • Fixed the 'owner' data tag for tamed mobs not correctly saving the tamed mob owner.
  • Fixed Bee's hive a flower locations not being saved.
  • Fixed entities with items in their main hand not spawning with the items (i.e. Skeleton bows).
  • Removed version check for 'isfrozen' and 'freezeticks' as MobsToEggs no longer supports MC versions below 1.17.
  • Fixed encoding issues with config files having special characters.
  • Changed capsule catching internal workings (should be more efficient now).
  • Internal library updates.
  • Now supports Villager trade and data saving (Using NBTAPI only and not Wandering Traders yet).
  • Removed the Villager data tags:
    - profession
    - villagertype
    - villagerlevel
  • Added new Villager data tags:
    - merchantoffers
    - merchantvillagerdata
    - brain
----------, Aug 4, 2023

UPDATED:
  • Added a new config value "ignore-catch-tamed-mobs-value-for-camels" which will allow camels to be caught when tamed mob catching is turned off.
  • Community translation added for Brazilian Portuguese (credit: mihdrix).
----------, Jun 21, 2023

UPDATED:
  • Added support for the Camel and Sniffer mobs added in MC 1.20.
----------, Jun 10, 2023

UPDATED:
  • Fixed spawner changing always checking for permissions, even with "use-permissions: false".
  • Fixed issue that allowed entities to be caught inside WorldGuard regions (other claiming regions too) where the mob should not be hurt.
  • Added "send-catch-fail-generic-message" option to the config.yml for those who don't want the "catch-fail-generic" message to be sent everytime the catch fails due to failed catch-chance.
----------, Mar 13, 2023

UPDATED:
  • Now checks if a projectile (our catch capsule) tries to damage a mob in a Towny claim, and blocks if not allowed.
----------, Feb 1, 2023

UPDATED:
  • Fixed capsules bypassing Towny claim protection.
  • Fixed mobs with higher than normal health from not being caught.
  • Added 'catch capsule' crafting.
  • Made small changes to plugin startup messages to be more compact.
  • Added a message that is displayed when a mob fails to be caught.
  • Slight change in wording for the MTE version control.
  • Added a bulk update mobs.yml command to allow for money cost, item cost, and catch chance to be updated for all mobs at once.
  • Updated to Kotlin 1.8.0 (this will automatically download on server start if it hasn't been previously downloaded).
----------, Jan 26, 2023

UPDATED:
  • Fixed issue with mobs not being caught unless the plugin was reloaded.
  • Updated to Spigot 1.19.3.
  • Removed the cached config values (little to no performance change anyway).
  • Removed cache reload command and messages.
  • Changed Snow Golem, Iron Golem, Ender Dragon and Wither spawn egg material to the new 1.19.3 spawn eggs.
  • Changed the default capsule projectile to a chicken egg instead of snowball (only for new config files generated).
  • Added an option to toggle permission checks globally for those who don't use permission plugins.
  • Set-up camel data ready for when they're added.
----------, Dec 20, 2022

UPDATED:
  • Fixed performance issues when throwing multiple capsules.
  • Updated internal library Kotlin to v1.7.21 (this will automatically download on your first server start with this version).
----------, Nov 12, 2022

UPDATED:
  • Fixed mobs being caught in protected regions when they shouldn't have been able to (catching goes by this rule: can hurt mob = can catch mob).
  • Fixed capsule displayname not being checked on throw method.
  • Fixed capsule lore not being checked on throw method.
----------, Nov 6, 2022

UPDATED:
  • Internal workings have been optimized to improve performance.
  • Updated to Kotlin 1.7.20 (your server will download this on the first server start-up with the plugin installed, unless it's already downloaded).
----------, Nov 1, 2022

UPDATED:
  • Fixed NPE thrown when the capsule had a displayname, but not a lore.
----------, Sep 10, 2022

UPDATED:
  • Fixed the capsule item not working when lore was added.
  • Fixed spawners not changing when using a mte spawn egg on them (still fixing mob spawning from egg when using containers/spawners).
  • Fixed mobs with items in their main hand from not saving the item (i.e. Skeletons with bows now saves the bow. You need to add the data tag "iteminmainhand" to the mobs.yml file or reset the mobs.yml file).
  • Fixed chicken egg hatching overriding other plugins which previously cancel it.
Please note that v1.6.7 will not work for versions lower than 1.19 and will not be updated to support lower versions at this stage.
----------, Sep 10, 2022

UPDATED:
  • Fixed the issue with spawn egg data not applying to mobs when spawned.
  • Fixed custom spawn eggs not spawning mobs.
  • Spawner changing has subsequently broken and will be fixed later.
  • Opening container blocks while holding a MobsToEggs spawn egg will once again spawn the mob instead of opening the container. This will also be fixed later.
----------, Aug 28, 2022

UPDATED:
  • Fixed the error thrown when you tried to catch a Hoglin.
  • Fixed error with isVisualFire not working on versions lower than 1.17 (legacy MTE version).
----------, Aug 8, 2022

UPDATED:
  • Fixed off-hand not taking the spawn egg when clicked.
  • Fixed spawn egg spawning a mob instead of opening a container block.
  • Added the ability to change mob spawners using spawn eggs.
----------, Aug 5, 2022

UPDATED:
  • Fixed item cost to now actually take items from a stack of items.
  • Fixed mobs being automatically added if they're not proper mobs.
  • Code clean-up.
These Spigot downloaded versions only work on 1.19+, see the provided links in the overview tab for lower version support.
----------, Jul 18, 2022

YOU WILL NOT BE ABLE TO USE v1.6.4 ON SPIGOT 1.18.2 OR LOWER!
Support for these lower versions is found here and is marked as legacy.

UPDATED:
  • Added support for 1.19 mobs (Warden, Tadpole, Frog, Allay).
  • MobsToEggs now automatically adds missing mobs to the mobs.yml file.
  • Updated to Kotlin 1.7.10 (You may see the library download when you first launch this version).
  • Added option to stop baby chickens from spawning when throwing chicken eggs as a capsule.
  • Optimized catching code.
----------, Jul 15, 2022

UPDATED:
  • Fixed checking for non-players throwing projectiles when a player was supposed to.
  • Added Simplified and Traditional Chinese language support.
----------, May 27, 2022

UPDATED:
  • Fixed a bug that allowed mobs to be caught in protected regions.
  • Fixed a bug that allowed mobs to be spawned in a protected region.
  • Fixed mobs being caught when the capsule name and/or lore was not correct.
  • Fixed off-hand throwing of the capsule working with non-capsule items.
----------, May 22, 2022

UPDATED:
  • Fixed error stopping the plugin from starting when Vault is not installed, even when economy features were disabled.
----------, May 15, 2022

MobsToEggs v1.6 has been re-created from scratch to improve on all the previous issues older plugin versions contained.

If you are upgrading from v1.5.5_5 or lower, you will need to configure the plugin again!
If you participated in the 1.5.6_DEV versions, please regenerate your config files.


It is important to note that v1.6 is completly different to any previous version and runs using new config and language files. All previous config files will be moved to a new folder for you to reference.

UPDATED:
  • The plugin still functions the same as before with throwing projectiles to catch a mob.
  • Players will now need to be given the permissions for catching mobs.
  • Improved config files and removed confusing values.
  • Plugin now runs using Kotlin (The Kotlin library will be downloaded when the plugin first runs).
  • The whole plugin has been re-created from scratch with better support for future features.
  • CustomModelData supported for spawn eggs and capsule.
  • WorldGuard regions and per world catching restrictions.
  • Mobs data (i.e. sheep color) can be saved to the spawn egg.
  • Punch catch method added (hit mobs to catch).
  • More particle and sound effect options.
  • Custom mob spawn eggs (can use any item).
  • Support for boss mobs, golems, giants.

ISSUES TO NOTE:
(for future updates)
  • Spawners can't be changed by mob spawn eggs with data stored on them.
  • Mobs with inventories/trade systems will not have their inventories saved (villager trades are not currently saved).
  • Tamed mob catching is available to allow, but there are issues with keeping the mob owner when spawned again with the egg.
----------, May 13, 2022

UPDATED:
  • Added 'remove-custom-name' config value.
    This is useful to remove custom names on mobs from plugins like mcmmo that add a mob health bar, such as this
    [​IMG]
In future MobsToEggs updates we will be dropping support for any Minecraft version below 1.16. This is just a pre-warning.
----------, Jul 10, 2021

UPDATED:
  • Added support for Goats, Axolotls and Glow Squid.
  • Shrunk loading messages in console.
  • Disabled update checking if 'update-notify' is false.
  • Update checks are now less frequent.
----------, Jun 15, 2021

UPDATED:
  • Added support for Piglin Brutes.
  • Added German translation file.
----------, Oct 29, 2020

UPDATED:
  • Fixed PaperMC EndermanEscapeEvent issue
----------, Jul 29, 2020

UPDATED:
  • Fixed the issue with mobs always being protected when first hit by a capsule, even when not in a protected region.
  • Simplified Chinese language file added.
Please report any future bugs you find to discord.sugar.fyi so we can fix them quickly!
----------, Jul 29, 2020

UPDATED:
  • 1.16 mobs have been added to the mobs.yml.
  • Traditional Chinese language supported (zh.yml).
  • Per mob spawner changing permissions added.
The global spawner permission has changed to mobstoeggs.spawner.* instead of mobstoeggs.spawners. Please update this permission in your permission plugin.
----------, Jun 26, 2020

UPDATED:
  • You can now catch mobs using an item.
  • Fixed custom named mobs from charging a cost even when disabled in the config.
  • You can now customize the message when a player is given a mob capsule.
  • Some new console error messages.
  • Code cleanup.
TO ENABLE ITEM COST

Code (YAML):

# config.yml
cost-type
: ITEM
# To set the item cost use "global-cost: ITEM_NAME-#" where ITEM_NAME is the item name and the # is the amount of that item.
global-cost
: DIAMOND-20

# If you have "use-global-values: false" you need to set the "price:" value to ITEM_NAME-# in your mobs.yml file
# mobs.yml
THEMOBNME
:
  enabled
: true
  price
: DIAMOND-20
  catch-chance
: 30
  change-spawner
: true
 
----------, Apr 19, 2020

UPDATED:
  • Fixed issue with Skeletons, Llamas, Drowned, etc causing errors when they shoot projectiles.
  • Fixed issue with NPE on some capsule throws.
  • This update fixes the errors being randomly spammed in console.
Please report any future bugs you find to discord.sugar.fyi so we can fix them quickly!
----------, Mar 6, 2020

UPDATED:
  • Fixed issue where a custom named capsule with lore would throw an error if only one was held.
  • Fixed issue with global catch chance always being 100%.
  • Fixed an issue with economy doubling the price.
  • Added /mte give <amount> <player> command to give the capsule to the player (useful if you have a custom name or lore in the capsule).
  • Added new permission mobstoeggs.give which allows anyone with the permission to use the /mte give command.
  • Skeleton Horses can now be caught naturally.
----------, Mar 5, 2020

UPDATED:
  • The capsule can now have a custom name.
  • A lore is supported in the capsule.
  • Fixed captures not working 100% of the time when the capsule is set to a damaging projectile (Arrow, Trident, Spectral arrow, etc).
  • Fixed permission issue where players with the permission mobstoeggs.spawners still couldn't change the spawner type.
  • Update notify message changes.
Please note that you need to either regenerate your config or add the following under capsule:

Code (YAML):
capsule:
  type
: THE TYPE YOU HAVE SET
  name
: ""
  lore
: [ ]
Here is an example of custom name and lore in use:
Code (YAML):
capsule:
  type
: EGG
  name
: "&cThe Mob Catcher"
  lore
:
  - "&cThis is the first line!"
  - "&cThis is another line"
----------, Feb 28, 2020

UPDATED:
  • Added support to stop mobs being caught inside regions protecting mobs from damage.
  • Added customization to the catching effect.
  • Added the ability to disable catching of mobs with custom names.
  • Removed old config updater.
  • Added language support for French and Spanish.
  • messages.yml has changed to the respective language file defined in the config.yml (default is English) please rename messages.yml to en.yml before updating, or copy all values into the en.yml file.
Thanks to Zegameus and Elriclespiques for translating the language files, if you want to help translate please head to the Sugarfyi Discord
----------, Jan 29, 2020

UPDATED:
  • This update was needed so future features can be added much more easily.
  • Bees have been added if using 1.15.*
  • Restructured all config files (backup files will be created of your current configs if you have loaded MobsToEggs before this update)
  • Added the ability to use other projectiles other than eggs.
  • Config files contain help messages.
  • Added Iron Golem, Ender Dragon and Wither item drops (not eggs), this will be changed in the future when egg data is saved.
  • Reworked most features.
If something has broken between the previous version and this version, please notify staff on our Discord http://discord.sugar.fyi
----------, Jan 5, 2020

UPDATED:
  • Fixed saddles on pigs being dropped even though the pig has not been caught.
----------, Aug 28, 2019

UPDATED:
  • Fixed economy and permissions breaking when a mob has a custom name.
  • Fixed enderman economy being ignored.
  • Permission changes to reflect the new catching methods:
    • mobstoeggs.catch.mooshroom is now mobstoeggs.catch.mushroom_cow.
    • mobstoeggs.catch.zombie_pigman is now mobstoeggs.catch.pig_zombie.
  • Config changes:
    • MOOSHROOM is now MUSHROOM COW.
    • ZOMBIE PIGMAN is now PIG ZOMBIE.
Using MobsToEggs and would like to help other members using it? Head on to our Discord (http://discord.sugar.fyi) and apply for the Helper rank!
----------, Aug 21, 2019

UPDATED:
  • Added option to allow or deny spawner changing per mob.
  • Fixed bug where an Enderman couldn't be caught when global enable was false.
  • Added separate no permission message for spawner changing.
  • Config changes:
    • All mob names are now uppercase.
    • Each mob has a new 'change-spawner' value to allow or deny per mob spawner changing.
    • Value 'allow-all-spawner-changing' was added to globally override per mob 'change-spawner' value (set to false to enable per mob values).
    • Fixed spelling on salmon.
(Please save a copy of your config.yml and let the plugin regenerate a new config.yml, alternatively you can rename all mobs in UPPERCASE)
----------, Aug 2, 2019

UPDATED:
  • Fixed non-named mobs not being caught when 'allow-customname-catching:' was set to false.
----------, Jul 30, 2019

UPDATED:
  • Mobs that have been named now keep their name if caught in an egg.
  • Fixed an issue with non-players (dispenser, 3rd party custom mob plugins) throwing errors when eggs are thrown from them.
  • Fixed the spelling mistake in the config (MTE will generate the new 'update-notify' value, please delete the old value).
  • Added an option to deny or allow custom named mobs from being caught.
  • New message formats in lang-en.yml (These are only small edits to support coloured named mobs, you don't have to apply the edits).
Want to translate the plugin or need support? Ask on our Discord server http://discord.sugar.fyi.
----------, Jul 30, 2019

UPDATED:
  • You can now stop players from changing spawners with eggs using the config value allow-spawner-changing.
  • Messages have been moved from the config.yml to their own language file.
  • Removed version checker as it is no longer needed.
  • Catching mobs no longer cycles through a list of possible mob names to find a spawn egg, instead it finds the egg based on the mob being hit (massive performance boost for your server).
  • Trader Llamas and Drowned now work!
  • Fixed missing percentage in /mte list.
  • Big re-code of most plugin features, please report any issues at http://discord.sugar.fyi
(The config.yml file has changed! Please either delete it and let the plugin generate a new one, or delete all message values)

Alternatively you may let the plugin generate the lang-en.yml file and copy any changed message values over, then remove from config.yml


Want to translate the plugin? Save a copy of the lang-en.yml file and translate the values, then send the translated file to our discord and I'll add it to the plugin!
----------, Jul 25, 2019

UPDATED:
  • No longer tries to find a spawn egg for an item frame when hit by an egg.
  • Fixed permissions when setting use-permission to true, mobstoeggs.catch.* now allows all mobs to be caught.
A reminder to report any bugs you find to the Discord Server (http://discord.sugar.fyi) or if you just want to have a chat about Mobs To Eggs you are more than welcome to join. We take suggestions here too and are currently looking for Server helpers to help players with questions!
----------, Jul 20, 2019

UPDATED:
  • You can now charge money for a successful capture (Requires Vault to be installed).
  • You can now set the catch chance per mob.
  • You will now be notified in-game when a new version is available for download (You can toggle this off in the config).
  • Config changes:
    • Please let the plugin generate a new config file or manually remove 'catch-chance'
If you encounter any errors, please send them to the support channel on our Discord server.
----------, Jul 19, 2019

UPDATED:
  • Fixed 1.13.* hook and will now load correctly.
  • Fixed Pigs being unable to be caught.
  • Added placeholders for future economy support.
  • Config changes.
(Please let the plugin regenerate a new config file or you will encounter errors!)
----------, Jul 19, 2019

UPDATED:
  • Removed all unnecessary code and shrunk it down to an easier to manage size (The plugin still behaves the same as before, just no clunky code).
  • You can now catch an Enderman by holding an egg and punching it (This works as an alternative since Endermen teleport away when an egg is thrown at them).
  • Replaced the &c with &7 for the Enderman under MobList (Either change manually or let the plugin generate a new config).
----------, Jul 17, 2019

Resource Information
Author:
----------
Total Downloads: 34,834
First Release: Jul 17, 2019
Last Update: Sep 28, 2024
Category: ---------------
All-Time Rating:
34 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings