Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $snapshot{ ## (player) -> PlayerSnapshot
- <Entity>
- DUP ISPLAYER IF
- @PlayerSnapshot NEW
- ELSE
- DROP NULL
- THEN
- }
- %PlayerSnapshot{ ## (player)
- %%player
- @player GAMEMODE %%gm
- @player NBT %%nbt
- @player SCOREBOARD %%board
- @player <Location> %%loc
- $player{@player}
- $restore{
- @player
- @board SETSCOREBOARD
- @gm SETGAMEMODE
- DUP "SelectedItemSlot" NBTQUERY %slot
- @nbt SETNBT
- @loc TPTO
- @slot "SelectedItemSlot" SETNBTQUERY
- 0 SETFALLDISTANCE
- 0 SETFIRE
- DROP
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement