Survival Freecam Data Pack
This data pack allows you to go into Spectator and Survival mode using "/trigger spectator" and "/trigger survival". This data pack works kind of like a freecam would, It allows you to go into Spectator but it doesn't allow you to use Spectator as a way of traveling. (i.e: If your coordinates are: x:10,y:50,z:-200. then after you do /trigger spectator and go to any coordinates in the world and then you do /trigger survival, It will teleport you back to your original coordinates a.k.a 10,50,-200). This feature is useful in cases where for example you want to fly around your build or someone else's build or when your compact redstone mechanism broke and you want to find out why it could've happened. In these cases and some more this "freecam" feature can be very useful.
Some Things To Note
- This data pack will work both in Singleplayer and in Multiplayer and in all vanilla dimensions(Overworld, Nether, End).
- If you're on multiplayer and you don't want your players to abuse spectator to explore new chunks to find structure you can just type the command "/gamerule spectatorsGenerateChunks false". This will disable generating chunks for spectators but I do not recommend it too much because I'm pretty sure that even in 1.20.1 there's a bug where you can't rejoin your world/server if you try to do it while in spectator when /gamerule spectatorsGenerateChunks is off so use this at your own risk! That said, If mojang ever fixes this bug then you can definitely use this gamerule.
- If you find any bugs/problems with the data pack, Please report them to me in discord. My username is "sernor".
Future Plans For The Data Pack
- Bugfixes in case there are bugs.
- New features in case I get any new ideas to add.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+