I'm completely new at writing plugins and I'm having a bit of difficulty with this one.
I've seen a few Portal Gun plugins people have made that look like the game Portal.
Basically so a player can right click and left click creating two different portals or be able to teleport between the two places while maintaining velocity.
How should I go about doing this? I've been trying to manually create portals, but for some reason they aren't spawning.
Should I be using the EntityTeleportEvent instead of the EntityCreatePortalEvent?
If I'm making portals how do I link them?
Well, first, you can't. Maybe if you use Spout you can, not sure. Anyways, giving the players an item ID that the game doesn't know about will crash the client (I think).
For linking them, though, I really have no idea. I suck at Java
I've seen a few Portal Gun plugins people have made that look like the game Portal.
Basically so a player can right click and left click creating two different portals or be able to teleport between the two places while maintaining velocity.
How should I go about doing this? I've been trying to manually create portals, but for some reason they aren't spawning.
Should I be using the EntityTeleportEvent instead of the EntityCreatePortalEvent?
If I'm making portals how do I link them?
For linking them, though, I really have no idea. I suck at Java