Freezes the executing entity

*** Input parameters ***

- "time" <int>  |  Ex. {"time":"7"}
Amount of time in seconds the freeze effect will last

- "shatter" <true|false> | Ex. {"shatter":"false"}
When true, entity will shatter when they hit the ground from up high, causing a lot of damage

- "height" <int> | Ex. {"height":"10"}
If shatter is set to true, the minimum height the entity must fall in order to activate shatter



*** Examples ***

~~~~~
Freezes the entity for 7 seconds. If they fall and hit the ground from at least 10 blocks high, they will shatter
/function ac_lib0002:effect/freeze/do {"time":"7","shatter":"true","height":"10"}
~~~~~


Some pre-configured presets can also be called to

~~~~~
# Basic freeze that stops entity movement
/function ac_lib0002:effect/freeze/preset/freeze_basic

# Freeze that stops entity movement, and makes them shatter after falling a short distance
/function ac_lib0002:effect/freeze/preset/freeze_shatter
~~~~~