I need help stopping time, im sure it has to do with tickrate, but i dont know much

Started by Mathew118 on

Topic category: Minecraft mod ideas exchange

Active 5 years ago
Joined Feb 2020
Points:
650

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
I need help stopping time, im sure it has to do with tickrate, but i dont know much

Im working on a mod that can stop time for version 1.14.4 and everytthing is pretty much done i just need a string of custom code that "stops time", which i dont know how to do because i only took like one semester of computer programming, can anybody provide said code for me? if so this would help out BIG time, once im done ill make sure everything is good and release it to the public.

Active 4 years ago
Joined Jan 2020
Points:
798

User statistics:

  • Modifications: 1
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 80
This effectively pauses the…
Fri, 02/21/2020 - 23:16

This effectively pauses the game for the number of ticks (4500). Change it to whatever you want.

Execute command:

try{Thread.sleep(4500);}catch(InterruptedException ex){Thread.currentThread().interrupt();}

Active 9 months ago
Joined Jun 2019
Points:
2792

User statistics:

  • Modifications: 4
  • Forum topics: 48
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3704
It actually pauses the game,…
Sat, 02/22/2020 - 01:42

It actually pauses the game, like lag, so.....

Active 5 years ago
Joined Feb 2020
Points:
650

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
ill try it out
Sat, 02/22/2020 - 02:06

ill try it out

Active 10 months ago
Joined Dec 2017
Points:
865

User statistics:

  • Modifications: 8
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 98
do you want to stop all mobs…
Sat, 03/07/2020 - 07:00

do you want to stop all mobs from moving aswell? if just block updates, you can change the tick speed. otherwise, not sure if you can implement this properly

Active 2 months ago
Joined Mar 2018
Points:
764

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 55
I think he means something…
Tue, 03/10/2020 - 13:25

I think he means something like the world from jojo's bizarre adventure where everything around you cannot move but you can.

Active 4 years ago
Joined Dec 2019
Points:
967

User statistics:

  • Modifications: 1
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 263
Thats what I want to do, can…
Sat, 04/25/2020 - 17:08

Thats what I want to do, can you slide the code for that

Active 4 years ago
Joined May 2020
Points:
668

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
You could just use the /tick…
Fri, 06/12/2020 - 01:48

You could just use the /tick command to set the tick speed to zero, then the entire game would be frozen but mobs and the player,

and if you want mobs to be frozen you can use the slowness potion effect or the NoAI NBT data

Active 5 years ago
Joined Feb 2020
Points:
650

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
i finished it a while back…
Wed, 07/01/2020 - 02:38

i finished it a while back but im trying to update it to 1.15.2 now, if you wanna try out my AbilityArrow mod i can send it to you through discord but rn its at 1.14.4