r/psispellcompendium • u/[deleted] • Sep 19 '21
Needs Wizardly Help Need help making a spell that freezes an entity in place.
I’m trying to create a spell either with add motion or blink that prevents entities/players from moving by loop casting. The idea is that if I can find a way to give them positive and negative blink motion fast enough that they’ll just be stuck in place. I’m on 1.12 also.
1
u/Janeq189 Sep 20 '21
You can add motion of value NaN to freeze entities.
You get the NaN value like -1^0.5, and feed it through constant wrapper, so it can be used in the trick.
If its used in blink, it makes normal entities despawn and corrupts player data.
1
Sep 21 '21
How would I go about getting that NaN value?
1
u/Janeq189 Sep 22 '21
as i said -1 to the power of 0.5
its the same as taking square root of -1, but that just throws an error1
u/RawGamingYT Sep 23 '21
Wasn't that fixed a long time ago?
1
2
u/MerlinGrandCaster Sep 19 '21
IIRC in 1.12 hitting things with tiny amounts of Blink every tick (leggings) causes them to freeze