Set game speed

Started by Bullfighter2009 on Thu, 10/29/2020 - 18:01

Topic category: Help with modding (Java Edition)

Last seen on 06:07, 26. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Set game speed
Thu, 10/29/2020 - 18:01

How to set game speed? If it unreal how to do it with custom code spippet?

Last seen on 03:18, 26. Nov 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What do you mean by "game…
Tue, 11/03/2020 - 18:40

What do you mean by "game speed?" If you just mean the tick speed, that's easily done with a gamerule (/gamerule randomTickSpeed X (default is 3, goes up to ~4000)).

Last seen on 06:07, 26. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No, I want make slowmo…
Sun, 11/08/2020 - 15:23

No, I want make slowmo effect.

Last seen on 15:08, 21. Nov 2020
Joined Oct 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I don't think that is…
Sun, 11/08/2020 - 16:56

I don't think that is possible. Not with mcreator and maybe not even with coding

Last seen on 06:07, 26. Nov 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I know. There isn't any…
Sun, 11/08/2020 - 19:09

I know. There isn't any procedure in MCreator what can do it, but can you find code what can do it?

Last seen on 16:25, 25. Nov 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
there might be a way to…
Mon, 11/09/2020 - 16:05

there might be a way to simulate a time slowing effect on living entities, but requires some coding. basically you hook net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent. cancel the event at certain intervals to slow down its tick updates, that will simulate a slowmo effect.

Last seen on 19:31, 25. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
 cancel the event at certain…
Mon, 11/09/2020 - 17:21

 cancel the event at certain intervals to slow down its tick updates, that will simulate a slowmo effect.

It will be more of a lag effect :D

Last seen on 16:25, 25. Nov 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
you think so? i would've…
Mon, 11/09/2020 - 18:07

you think so? i would've thought it would speed up the game due to it skipping no many ticks

Last seen on 16:25, 25. Nov 2020
Joined Nov 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i just tested the theory in…
Mon, 11/09/2020 - 18:32

i just tested the theory in a flat world, view distance at 12 chunks, and approx 100+ living entities in sight. i skipped every 2 out of 3 ticks on all living entities. the frame rate was a steady 250 fps. although it did look like the world was in slowmo, all entities movement was segmented (movement wasn't smooth). that may give the impression of world lag idk. i wonder if there's a way to remedy that.