Started by
perigrine3
on
Topic category: Minecraft mod ideas exchange
can someone help me make a mod where you can throw a blade and wherever it lands is where the thrower is teleported to. BUT... the coolest part is that the player gets the blade back... :D
anyways, if someone can help me out with that, that would be awesome. thanks in advance!
Sounds amazing, it could be done with events if you know how many blocks the blade is thrown, but other than that I have no idea how to implement this, sounds like an amazing mod though
Good start could be a entity that extends EntityThrowable. In constructor you will need a field for EntityPlayer that shooted it. Then simply in onImpact() teleport the EntityPlayer on position of the entity + it destroys the entity and give him the item back.
you could also make an upgrade to the sword (via crafting i guess) which makes you teleport behind enemy mobs if you hit them with the blade's throwing attack (ofc you get it back)
Nevermind. I spent like two years working on it, and I made my own. It's actually pretty sick. I'll try to upload it soon.