stuck in frozen state effect

Started by jeed_90 on

Topic category: Help with modding (Java Edition)

Last seen on 05:15, 26. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
stuck in frozen state effect

im using 1.20.1 minecraft mcreator 2024.1

 

in a projectile hitting entity i put the command-  set number of ticks (event/target) has been frozen for to (280)

normally it works and all, but sometimes if i shoot the projectile while moving i can get the ghost effect and has the screen with ice and slowness. also it can happen with a mob shooting me. it wont go away until i move the frozen ticks (get in bucketsnow or get shoot with the projectile)

Last seen on 05:15, 26. Jun 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
by using "wait (time) ticks…
Mon, 06/24/2024 - 20:14

by using "wait (time) ticks on server i got it working"

using 3 ticksit works for me, but i think 1 can do the trick

Last seen on 18:03, 26. Jun 2024
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Another option would be "if …
Mon, 06/24/2024 - 23:39

Another option would be "if [not[is provided world client-side]]" instead of wait, in case you don't want the delay, but the wait will work fine as well, just two different ways of doing it server-side only, which is more reliable than client-side in some(but not all) cases.