ThrowableSpawnEggs
ThrowableSpawnEggs
Throw spawn eggs instead of just clicking with them!
Version: v2.6
Now, instead of awkwardly clicking blocks with spawn eggs, you can now seamlessly toss them in the air! TSE also removes a small bug where two mobs couldn't be spawned in the same spot at the same time. Lightweight and efficient, TSE is a must-have for any server that uses spawn eggs!
Video:
Requirements:
None
Commands:
None
Permissions:
- tse.use - allows player/group to throw eggs (default everyone, negate to stop)
Changelog:
See files
To do:
- None
Credits:
- _InnoKo_: Created the plugin.
- hawkfalcon: recoded plugin + continuing development
-
View User Profile
-
Send Message
Posted Mar 29, 2012When throwing eggs, sometimes a chicken spawns o_O
Fun plugin btw. Thnx! :-)
-
View User Profile
-
Send Message
Posted Mar 29, 2012Sorry, shoulda noticed that;/
-
View User Profile
-
Send Message
Posted Mar 29, 2012@danielboyz
Fixed!
You will now see two options in the config.yml:
survival-infinite-eggs
creative-infinite-eggs
Pretty self explanatory, but this lets you choose each gamemode separately. I recommend leaving them default (survival false, creative true) but its there if you want to change it. :)
-
View User Profile
-
Send Message
Posted Mar 29, 2012@imilkywayz
Thanks, man! I'm planning on adding some extra features to this plugin to make it more exciting, such as custom traits for spawned creatures. So stay tuned :)
@danielboyz
Thanks for letting me know! I'll change it so that infinite is seperate for creative. (default true for creative)
-
View User Profile
-
Send Message
Posted Mar 29, 2012@Malikk65
No, that's not how i did it. Download and unzip the .jar, the source code is all in there so you can see exactly what i did (: You're right, my method is a lot more efficient and lightweight. Check the source for the exact code, but what I basically did was used the PlayerEggThrowEvent. if you do event.getLocation() it returns the location of the egg wherever it hits, so i got the location and spawned the creature from the egg there.
-
View User Profile
-
Send Message
Posted Mar 29, 2012Nice, I like it!
But there's a little bug if infinite eggs are disabled, they are no longer infinite on creative as well... It's nothing big but I thought I should post it on here.
-
View User Profile
-
Send Message
Posted Mar 28, 2012MobCatcher is my plugin, that's why this caught my eye, lol. That's only a tiny feature of mine, and he does it differently anyways. Probably better, i just didnt like the fact that if I had done it that way, the egg would become a normal chicken egg while its in the air. Mine uses a scheduler to check if the egg is still moving. This is a bit more lightweight
-
View User Profile
-
Send Message
Posted Mar 28, 2012Is it strange that this showed up in the server mods right before mob catcher which has this exact feature (and more) Im not against you making this since i made a plugin similar to someone else's before (on accident) and i turned it into something better then his existing plugin. Well good luck on TSE :)
-
View User Profile
-
Send Message
Posted Mar 28, 2012Fellow plugin Developer:
just curious, how did you get the block that the egg hit?
Edit:
Wait, you probably set hatching to true and set the mob type to the spawner eggs type.
-
View User Profile
-
Send Message
Posted Mar 28, 2012Okay, will test soon:)
-
View User Profile
-
Send Message
Posted Mar 27, 2012@hawkfalcon ...Really? The video is proof it SHOULD work but.. hm. I'll take a look at it. Edit: Fixed now. It was just a small change i had to make after updating to 1.2.4
-
View User Profile
-
Send Message
Posted Mar 27, 2012Hmm, straight up doesn't work.
-
View User Profile
-
Send Message
Posted Mar 27, 2012@_InnoKo_
Okay I will:)
-
View User Profile
-
Send Message
Posted Mar 26, 2012@hawkfalcon
Yeah sure! If you find bugs let me know.
-
View User Profile
-
Send Message
Posted Mar 26, 2012oooh nice!! May I be the tester?;o