Minecraft Data Packs / Other

Day Counter Title Message

  • check_circle Functions
  • 11,321 views, 156 today
  • 4,528 downloads, 68 today
  • 57
  • 60
  • 7
Armir_Mitrandir avatar Armir_Mitrandir
Level 28 : Expert Miner
Every time you login to your world, when you finish your sleep or when new day arrives a title message with a number of a day appears in front of you.

Minecraft day starts with 0, this counter starts with 1.

Perfect for 100days hardcore videos.

Based and improved on https://www.planetminecraft.com/data-pack/dawn-day-counter/ by DontCallMeSir.
Posted with creator permission

Created by Armir_Mitrandir.
CompatibilityMinecraft 1.13
toMinecraft 1.18

Create an account or sign in to comment.

01/06/2022 10:57 pm
Level 1 : New Miner
User3947520G avatar
Can you please add support to change how long a day lasts in ticks? I want to use this with my modpack which makes days last twice as long
01/20/2022 6:08 pm
Level 28 : Expert Miner
Armir_Mitrandir avatar
Mod works like this:
1. check what day is it
2. is it the same day as day stored in a value called "previousDay"
3. if yes, do nothing
4. if no, show message and set previousDay to currentDay value

This is the trick - it doesnt store ticks. It just checks the day and show message when the day is different to previous, stored value. I dont see a room here to implement functionality you want.

Also, when dealing with precise timing, think of a lag, disconnects etc. The precision you want is simply unachieveable withouth server-side tool. For example, 2b2t time is so chaotic and the time measurements on this server are their own history.
12/11/2021 5:14 am
Level 12 : Journeyman Dragon
ACEolyeet avatar
idk why but its stuck on 1 day later then the day i'm on, a function to set the day could be nice tbh
12/30/2021 4:18 am
Level 28 : Expert Miner
Armir_Mitrandir avatar
It is because minecraft start on day 0, not day 1. So when you login to the just created world, the time is Day 0 and this addon then displays Day 1.
12/09/2021 2:22 pm
Level 10 : Journeyman Miner
miniluv73 avatar
Thanks! This will help a lot with my own 100 days adventure
12/09/2021 10:54 am
Level 1 : New System
K1isHype avatar
Thanks Mate This Really Helped In Me and My Server Thankss
12/09/2021 1:34 am
Level 1 : New Miner
SoulShade avatar
Planet Minecraft


© 2010 - 2022