I haven't seen a poke ball mod yet! So i have this idea that we could make slime balls into pokeballs. You could throw the slime ball and if it hits the mob, it captures it. if you throw the ball again it releases it. to better explain what I'm trying to say goto this video: http://www.youtube.com/watch?v=57jBzlTo0lU
You obviously haven't seen this. It only works on single player, but it pretty much puts Pokemon Silver onto your maps, lol.
yea like when the ball hits a mob, it will tp it to someplace, then when u throw the ball again, it will tp it back
Uhm... no... When a ball hits a mob remove the mob, add an entry to a HashMap and give the ball a data value. later on, when the ball is thrown again read out it's data value, use the hash map to see which mob was in, spawn the mob, delete the entry from the map. Just not sure if you can freely edit a slime balls data value.
Yeah this may need spout or somefin. You might as well, since then you could get a custom item texture for the ball. Or just a custom item... EDIT: Oh wait, except how would you tell if a dropped item hits an entity? You could just try to get the targeted entity using onPlayerInteract, but that wouldn't be cool if you weren't looking at the entity...
There has been a plugin that did this called pokeblocks but it has been inactive since bukkit version 818, or thereabouts. I'm interested in seeing what comes of the new pokeplugin though :3
Wanna marry me? No problem, just one thing, we're developing in Java, not JavaScript. (Video will be ready to view in around 30 minutes). To do: Implement a method to give every filled ball it's own unique ID (right now they all get 5, so you can have only one filled ball at a time). Done! Make slimeballs non stackable (stacking overwrites the ID). Done. Add persistence.
Wait for the release, it will (as always) contain the sources in the jar file. And it will be soon (look at the to do list one post above yours). Till then a hint: A Item is a entity, a entity has the method getNearbyEntities(), a mob is a entity, too...
oh hehe ;D Mkay. I'll do a lil noob challenge for myself in the meantime. @V10lator oh hehe ;D Mkay. I'll do a lil noob challenge for myself in the meantime. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I will setup a page on bukkitDev later, in the meantime you can download it <Edit by Moderator: Redacted mediafire url> To throw a ball you have to right click. Update: <Edit by Moderator: Redacted mediafire url> EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Sounds like a outdated bukkit version, which is the version you are using? @EpicMule: Another update with minor bugfixes: http://dev.bukkit.org/server-mods/pokeslime/
I don't kill mobs for catching them, I remove them (entity.remove(); ) - so they won't drop anything.