Data Packs Game Mechanic

Longer Days 1.4

  • 4.9k views 0 today
  • save_alt 477 downloads
Compatibility
Minecraft 1.16
Changes include
  • Advancements
  • Functions
  • 23
  • 21
  • 5
Antor_exe
Lvl 17Journeyman Explorer
0
This is my attempt of making what some mods do but in vanilla Minecraft,
This Datapack Extend the length of time of a day up to 24h like in real life,
This does not synchronize your computer clock to Minecraft. You have to do it manually.


Features:

-Extend the time of the day to 24H

-Display Time by holding a clock in your hand, also work when holding with second hand,
Longer Days 1.4 Minecraft Data Pack

-This pack also have a function to set the time of the day by yourself to help you synchronize your Minecraft world to real-time:
/function antor:longer_days/set
Longer Days 1.4 Minecraft Data Pack
See how to use it

Note: Minecraft has a feature that when Sleeping in the bed will not skip the night when Daylight Cycle is disabled. which goes well with Longer Days intent to not skip the night.



Installation:

Just add the datapack to the datapack folder for your world when creating it or after being created
what will happen when enabled is the gamerule DodaylightCycle will be automatically disabled and do the job.


Uninstallation:

To uninstall the datapack and turn your world back to normal, Type the command /functionantor:longerdays/uninstall.
after entering the command, all scorboard related to Longer Days will be removed, Longer Days will be disabled, and the game will suggest to you to enable the gamerule DodaylightCycle back to true.



I recommend disabling the gamerule "sendCommandFeedback".

It works on a solo world, but you will need to set the time every time you start a new session (and pressing pause) and work better on a multiplayer world that is active 24h/24.


5 Update Logs

Version 1.4 : by Antor_exe 04/23/2021 11:19:37 amApril 23, 2021 @ 3:19 pm UTC

*Added Numeric Time display when holding a clock on main hand or off hand

*Added #Comments in the code
Made code easier to read if you want to configurate it for yourself
LOAD MORE LOGS

More like this

  Have something to say?

pickelhippo
04/20/2021 12:15 am
Level 1 : New Miner
i cant get this to work in my server the command says unknown
2
Antor_exe
04/20/2021 4:18 am
Level 17 : Journeyman Explorer
history
If it says unknown, that means the datapack is not enabled, or the server didn't found the datapack,

-on your server, type the command /reload.

-check the command /datapack enable "something that should be suggested here" or /data pack list available.

-If nothing is suggested in the command or nothing is in the list, check the datapack folder from your world folder and verify that the .zip is in this folder.


I Hope this help you
1
VioletZCato
04/17/2021 11:08 am
Level 43 : Master Technomancer Magical Girl
I like this idea a lot, I feel that it might be especially useful on a server, so that real life would match the in-game world better.
2
Empressmay
04/16/2021 4:19 pm
She/They • Level 44 : Master Magical Girl Princess
This would really help if you want to spend more time doing daytime things instead of waiting the night out or sleeping.
2
PvPqnda
04/15/2021 10:29 pm
Level 59 : Grandmaster Engineer Commander
cool! i made this about 2 years ago but never released it lol
3

Welcome