Trident that works when not raining
This trident allows you to launch yourself if it isn't raining
Last updated
This trident allows you to launch yourself if it isn't raining
Last updated
To create it you have to use /ei create <id>
Once you have created it, set the material to trident, and edit the visual stuff as display name, lore, etc.
The idea is to simulate the real trident, to do it we will launch an invisible projectile and make the player to follow that projectile, so we need a custom projectile, let's create one
There is already a tutorial for this, we aren't going to explain this too much, it will just be an invisible snowball with velocity 4.3
Depending on the velocity of the snowball your trident will launch you stronger or weaker.
Now create an activator PLAYER_LAUNCH_PROJECTILE
And add into commands LAUNCH <id of the projectile created>
Enable cancel event so the real trident doesn't disappears.
Now we are launching the projectile, but we aren't launching ourselves, the idea is to make us to follow the path of the projectile launched, let's do it.
Now it will be a PLAYER_CUSTOM_LAUNCH
and in commands:
And that's it, now when launching the trident, you won't launch the trident because of cancel event but you will launch an invisible snowball, that, with the 2nd activator you will get launched yourself into the position of the snowball and with it, recreate the motion of the trident.
You can add particles and sounds to make it look more real