how make a procedure that "stop time"

Started by ArzagGaming on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Oct 2019
Points:
660

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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.

 

Active 4 years ago
Joined Jul 2020
Points:
646

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
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.

Active 4 years ago
Joined Dec 2019
Points:
966

User statistics:

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

ZA WURDO

Active 4 years ago
Joined Nov 2020
Points:
617

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 9
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.

Active 3 years ago
Joined Feb 2022
Points:
476

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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. 

Active 3 years ago
Joined Apr 2022
Points:
451

User statistics:

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

and how would you do that?

Active 8 months ago
Joined Apr 2020
Points:
704

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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!

Active 8 months ago
Joined Apr 2020
Points:
704

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 56
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

Active 3 days ago
Joined Jul 2020
Points:
1236

User statistics:

  • Modifications: 5
  • Forum topics: 90
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 233
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?

Active 2 years ago
Joined Jul 2023
Points:
219

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 10
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

Active 1 year ago
Joined Nov 2021
Points:
523

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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

Active 1 year ago
Joined Nov 2021
Points:
523

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 4
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

 

Active 6 days ago
Joined Jun 2025
Points:
10

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
thanks snyzard
Sun, 07/13/2025 - 17:39

thanks snyzard