how make a procedure that "stop time"

Started by ArzagGaming on

Topic category: Help with modding (Java Edition)

Last seen on 09:35, 16. Sep 2020
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how make a procedure that "stop time"

Hi i am working on a item that on right click will freeze the world for 10 second expt you but i have no ides how do it.

 

Last seen on 18:56, 17. Nov 2020
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a procedure to run the…
Mon, 09/21/2020 - 16:06

Make a procedure to run the command: /effect give @a slowness 10 255 true.

Then, under that, make a procedure to run this command: /effect clear.

Make the command lines under your username so the game will know the player did the command. If you need more help, contact me.

Last seen on 23:41, 3. Jun 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ZA WURDO
Tue, 11/10/2020 - 14:45

ZA WURDO

Last seen on 17:18, 29. May 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a very basic version…
Tue, 12/15/2020 - 20:44

This is a very basic version of timestop. When you think of time stopping you don't think of every living entity being slow. If an entity were to be falling when time "stops" with your version, it would continue falling with just the slowness effect. Also, this doesn't affect items like arrows.

Last seen on 15:55, 26. Jul 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can change the movement…
Mon, 03/28/2022 - 16:02

You can change the movement vectors of all entities except you to 0 every tick, which would make entities even stop falling. Additionally, if you want, you could save their movement vectors previous to the "event" as a local variable at every entity, and then afterwards set their movement to that variable, to make them resume their previous movement. 

Last seen on 08:29, 5. Apr 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and how would you do that?
Mon, 04/04/2022 - 12:30

and how would you do that?

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here's what I've come up…
Mon, 04/04/2022 - 14:18

Here's what I've come up with;

https://imgur.com/a/vfKgwKo

You'd create two procedures with the same event trigger, with 4 global variables - as the same two local variables won't work across two seperate procedures.

Note - I forgot to add the part that checks for the item but you'll add that before the checks to see if frozen is true or false

I haven't been able to test it so if you do let me know how it goes!

Last seen on 11:29, 16. Apr 2024
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually you could put it…
Tue, 04/05/2022 - 14:28

Actually you could put it into one procedure and use local variables like cerebalpalsyguy mentioned, but check if frozen is true of false beforehand

Last seen on 23:20, 19. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You guys could make every…
Fri, 04/08/2022 - 12:14

You guys could make every entity's velocity to be set to zero in x, y, and z except the player. That would work, right?

Last seen on 12:11, 28. Jul 2023
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tried this, made an item,…
Mon, 07/17/2023 - 08:41

I tried this, made an item, but since the global trigger is the player right clicking, the event/target entity is the player. It freezes the game trying to right click the item. I can´t find a way to only target mobs. Source entity cant be used because the item dependencies dont allow it. Is there any way to just target the mobs?

Here is my procedure:

https://imgur.com/6sqRJN5

Last seen on 16:38, 14. Mar 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i think u need to make a…
Sat, 02/24/2024 - 10:55

i think u need to make a potion effect that does it on getting the effect

Last seen on 16:38, 14. Mar 2024
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i made it work you need to…
Sat, 02/24/2024 - 12:11

i made it work you need to put it in an effect wich u apply to the person who isn't stopped

here are all the procedures: https://imgur.com/a/l0U8mqT