What if there was a teleportation blade mod?

Started by perigrine3 on Thu, 12/01/2016 - 20:53

Topic category: Mod ideas

Last seen on 15:24, 27. Aug 2019
Joined Nov 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
What if there was a teleportation blade mod?
Thu, 12/01/2016 - 20:53

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!

Last seen on 19:56, 13. Sep 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sounds amazing, it could be
Thu, 12/01/2016 - 21:53

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

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Good start could be a entity
Thu, 12/01/2016 - 23:03

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.

Last seen on 20:10, 1. Mar 2017
Joined Apr 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
you could also make an
Fri, 12/02/2016 - 14:35

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)