With this Add-on, you can now Truely, Realistically, Spectate your world when you die, just like in JAVA Edition. If this was enabled!
IMPORTANT NOTE:
•This Add-on will only works in Minecraft 1.19 and above!
•I don't know if this Add-on will work on Realms, so try at your own risk!
•ENJOY!!!!
INSTRUCTIONS:
Wait for the Add-on to be successfully imported!

For this Add-on to work/function properly, you have to enable the Spectator mode in the Experimental feature!
DISABLED:

ENABLED:

It will disabled your Achievements, if you use this Add-on, to your pure survival world. To solve this problem just make a copy of your world, or if not create a new world:

And also this Add-on will work in multiplayer. Just simply toggle this:

Check mark [√] indicates toggle ON:

When you die, you will be given a Night Vision, so you can see through dark:



Without Night Vision:

With Night Vision:

IN-GAME SCREEN SHOTS:






INFORMATION:
Once the Add-on is added it will automatically set the difficulty and other settings when you play the world. You don't have to do anything to set your settings on your world, just enable the Spectator Mode in the Experimental Feature and then hit play!