# Mcfunction-Debugger is a debugger for Minecraft's *.mcfunction files that does not require any
# Minecraft mods.
#
# © Copyright (C) 2021-2023 Adrodoc <adrodoc55@googlemail.com> & Skagaros <skagaros@gmail.com>
#
# This file is part of Mcfunction-Debugger.
#
# Mcfunction-Debugger is free software: you can redistribute it and/or modify it under the terms of
# the GNU General Public License as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# Mcfunction-Debugger is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Mcfunction-Debugger.
# If not, see <http://www.gnu.org/licenses/>.
execute store result score @s -ns-_Age run data get entity @s Age
execute store result score @s -ns-_Duration run data get entity @s Duration
execute store result score @s -ns-_WaitTime run data get entity @s WaitTime
data modify entity @s Age set value 0
data modify entity @s Duration set value -1
data modify entity @s WaitTime set value -2147483648
tag @s add -ns-_frozen