- Functions
Published Jul 13th, 2020, 7/13/20 1:35 pm
- 4,975 views • 1 today
- 221 downloads • 0 today
13
This is no longer supported, in favor of Soul Link! It does similar stuff and sets itself up now.
! YOU MUST RUN THE INIT FUNCTION FOR THIS TO WORK !
! MAKE BACKUPS JUST IN CASE !
! YOU MUST RUN THE INIT FUNCTION FOR THIS TO WORK !
! MAKE BACKUPS JUST IN CASE !
Pets (tamed cats, parrots,) become ghosts upon death (undying, glowing) and respawn at midnight. Incredibly simple, single-feature datapack. Does not require them to be named, but announces their death using their name if they have one.
Wolves respawn.
Cats respawn.
Parrots respawn.
Nothing else does.
Known bugs:
- Parrots die for good if given a cookie (Unfixable)
- Pets may become ghosts the first time they're loaded. (Workaround: Run the initialization function while all pets are already loaded.)
- Mobs continue trying to attack ghosts if they were already doing so when the pet died. (Unfixable)
- Ghosts are not affected by gravity.
- Ghosts respond to the moon even when it isn't visible.
- Parrots do not respawn if on your shoulder at midnight. (Unfixable)
| Credit | Bertiecrafter, for Pet Heaven, which I used as syntax reference while making this since I didn't know how to perform certain checks and the wiki wasn't helping. |
| Compatibility | Minecraft 1.16 |
| Tags |
4676371
119




Have something to say?