Minecraft Data Packs / Mob

Rideable Phantoms

  • check_circle Functions
  • 7,591 views, 7 today
  • 1,061 downloads, 1 today
  • 36
  • 29
  • 17
scarlet_glitch's Avatar scarlet_glitch
Level 32 : Artisan Engineer
4
This is a simple datapack that allows you to ride Phantoms

How to use:

- Throw an ender eye to them to make them docile
- Right-click on them to mount
- You control them with the mouse
- Press shift to get off the Phantom

Additional info about tamed Phantoms:
- They won't move when no one is riding them, even if you leash them
- They won't despawn unless you kill them
- They won't burn in daylight

I tested this datapack in Vanilla and Paper 1.18 to 1.18.2 and it worked fine

How does it work?
When you throw an ender eye to a Phantom, it will kill it and summon an invisible Llama and a new Phantom with specific tags. The Phantom is constantly teleported to the Llama position so when you mount the Llama it actually looks like you are riding the Phantom. When you are riding the mob it will check if the block in front of you is solid or not. If it is a non-solid block the mob will be teleported forward.

I hope you'll enjoy this datapack!




P.S.
To make it work on server I had to use the NoAI NBT Tag for the Llama, which annoys me a little bit because I would have preferred the tamed Phantoms to stroll around when no one is riding them.
For some reason if you don't use this NBT Tag on a Paper server the tamed Phantom will move as if a player is riding it, which is way too fast.
So if you know how to fix this issue please let me know! :)
CompatibilityMinecraft 1.18
toMinecraft 1.20
Tags

1 Update Logs

Toggle burning in daylight : by scarlet_glitch 07/17/2023 5:30:07 amJul 17th, 2023

You can now choose whether or not Phantoms will burn in daylight with these 2 commands:

/function rideable_phantoms:burn_on  tamed Phantoms will burn in daylight
/function rideable_phantoms:burn_off  tamed Phantoms won't burn in daylight (default)

Create an account or sign in to comment.

1
08/31/2022 4:03 am
Level 26 : Expert Warrior
NuggetBoy64
NuggetBoy64's Avatar
could you add some form of combat feature, since you cant shoot directly downwards, or else you would shoot your phantom, what if you could drop bombs or the phantom could shoot some sort of beam or dragon breath
1
08/02/2022 10:49 pm
Level 1 : New Miner
AMentalAsylum
AMentalAsylum's Avatar
How'd u make it immune to fire
1
05/26/2022 2:26 pm
Level 1 : New Miner
Tunatheman
Tunatheman's Avatar
I cant tame it na matter what
1
05/31/2022 6:50 pm
Level 32 : Artisan Engineer
scarlet_glitch
scarlet_glitch's Avatar
Try to do what I replied to NuggetBoy in the comments, check your Minecraft version and make sure you're not using other datapacks involving phantoms. I hope this helps!
1
05/19/2022 8:50 am
Level 1 : New Miner
Bladereaper
Bladereaper's Avatar
Every time I tame the phantom the llama instantly dies but the phantom remains still and unrideable, know of a fix?
1
05/19/2022 8:58 am
Level 1 : New Miner
Bladereaper
Bladereaper's Avatar
Nevermind, fixed it by running /function rideable_phantoms:main then /function rideable_phantoms:load
1
05/19/2022 9:01 am
Level 1 : New Miner
Bladereaper
Bladereaper's Avatar
I think the issue was caused via the largerphantoms datapack
1
05/19/2022 11:15 am
Level 32 : Artisan Engineer
scarlet_glitch
scarlet_glitch's Avatar
oh yeah I think my datapack might not be compatible with other datapacks involving phantoms since it actually kills the phantom you tame an then summons a tamed one... I'm sorry if this issue annoyed you :(
1
05/15/2022 10:19 am
Level 26 : Expert Warrior
NuggetBoy64
NuggetBoy64's Avatar
Reply To: Scarlet Glitch: what doesn't work exaclty? the summoning part or the riding part?

NuggetBoy64 avatar
the taming, as in i summon in a phantom, but then when i throw the ender eye at it, it doesnt tame
2
05/15/2022 11:49 am
Level 32 : Artisan Engineer
scarlet_glitch
scarlet_glitch's Avatar
You have to aim well to tame them, if the ender eye doesn't pass close enough to them it won't work, that's why it's easier to tame them in survival as they come at you to attack you (note: you have to drop the eye on them, not use it by right-clicking).

Try in creative mode to first drop an ender eye in front of you, then make a phantom appear on the same block with an egg or a command and normally it should work. At least it works for me in vanilla 1.18-1.18.2 (java edition)...

Let me know if there's still an issue!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome