MonitoringMinecraft MonitoringMinecraft

Minimal Day Counter

Датапак Datapack

Простой датапак для Майнкрафт со счётчиком игровых дней на экране.

466 скачиваний 0 подписчиков
Оцените первым

📅 Day Counter Datapack

  • A simple, lightweight datapack that displays the current day count every morning in Minecraft!

✨ Features

🌅 Automatic Day Tracking

  • Displays the day count every morning at sunrise.
  • Shows in the action bar with a beautiful gold and yellow text animation
  • Plays a pleasant sound effect when a new day begins

🎯 Smart & Accurate

  • Reads directly from Minecraft's internal day counter
  • Works perfectly with existing worlds no matter what day you're on!
  • Day counting starts at Day 1 (not Day 0 like Minecraft's internal counter).If you add this to a world that's already on Day 50, it will show "Day 51" immediately

⚡ Zero Configuration

  • Install and play - no commands needed No manual setup or initialization required Lightweight with minimal performance impact Works automatically for all players on the server

🔊 Immersive Experience

  • Satisfying sound notification every morning Non-intrusive action bar display (doesn't block your screen) Professionally formatted with bold, colored text

📥 Installation

  • Singleplayer: Download the datapack .zip file Navigate to your world's folder: .minecraft/saves/[YourWorldName]/datapacks/ Place the datapack file into the datapacks folder Launch your world or run /reload if already in-game
  • Multiplayer: Download the datapack .zip file Place it in your server's world/datapacks/ folder Restart the server or run /reload as an operator

🎮 How It Works

  • Every morning at sunrise (when daytime is between 0-100), the datapack:
  • Checks the world's current day using Minecraft's built-in day counter
  • Adds 1 to make it more intuitive (Day 1 instead of Day 0)
  • Displays "Day X" in the action bar with a gold/yellow color scheme
  • Plays a pleasant experience orb sound effect
  • Prevents duplicate notifications until the next day
  • The datapack intelligently tracks which day has been displayed, ensuring you only see the notification once per morning - even if you're playing for hours!

🛠️ Technical Details

Commands Used:

  1. scoreboard - For tracking day numbers and display states
  2. execute store result - Reading Minecraft's day and time values
  3. title actionbar - Displaying the day count above the hotbar
  4. playsound - Playing the notification sound
  • No External Dependencies:
  • Pure vanilla Minecraft datapack
  • No mods or plugins required
  • Works on both singleplayer and multiplayer servers

Performance:

  • Runs efficiently every tick with minimal overhead
  • Only executes the display function once per morning
  • No lag or performance issues even on lower-end systems

🎨 Customization

Want to customize the datapack? Here's what you can change:

  1. Sound Effect:
  • Edit show_day.mcfunction and replace the sound:
  • minecraft:block.note_block.chime - Bell chime
  • minecraft:entity.player.levelup - Level up sound
  • minecraft:ui.toast.challenge_complete - Achievement sound
  • minecraft:block.note_block.bell - Bell tone
  1. Colors:
  • Modify the title command in show_day.mcfunction:
  • Change "color":"gold" to any Minecraft color
  • Change "color":"yellow" to customize the number color
  1. Timing:
  • Adjust when the notification appears by changing daytime matches 0..100 in tick.mcfunction

❓ FAQ

Q: Does this work on existing worlds?

  • A: Yes! It reads your world's actual day count, so it works perfectly no matter when you install it.

Q: Will this affect my world's performance?

  • A: No, the datapack is extremely lightweight and runs efficiently every tick.

Q: Can I reset the day counter?

  • A: The counter follows your world's actual day cycle. You can reset it using /time set day to go back to Day 1.

Q: Does this work in multiplayer?

  • A: Absolutely! All players will see the day notification at the same time.

Q: Can I disable the sound?

  • A: Yes, simply remove or comment out the playsound line in show_day.mcfunction.

Q: What happens if I sleep through the night?

  • A: The datapack still works! It checks every tick during the morning window, so even if you skip to morning by sleeping, you'll still see the notification.

🐛 Known Issues

None currently! If you encounter any bugs, please report them in the issues section.

📋 Compatibility

✅ Compatible Versions:

  • Minecraft Java Edition 1.21.x (Tested on 1.21.11)
  • Minecraft Java Edition 1.20.5 - 1.20.6
  • Future 1.21.x updates (likely)

❌ Not Compatible:

Minecraft Bedrock Edition Versions below 1.20

📜 License

  • This datapack is free to use, modify, and redistribute. Credit is appreciated but not required!

💖 Support

  • If you enjoy this datapack, please consider:
  • ⭐ Leaving a star rating
  • 💬 Sharing feedback or suggestions
  • 📢 Sharing with friends who might enjoy it

🔄 Changelog

  • v1.0.0 - Initial Release
  • Automatic day counter display every morning
  • Action bar notifications with sound effects
  • Smart day tracking that works with existing worlds
  • Multiplayer support
  • Enjoy tracking your Minecraft adventures! 🌅

🔄 Version History

  • v1.1.0 (Latest): * Implemented min_format and max_format for broader 1.21.x compatibility.
  • Recommended version for users on Minecraft 1.21.1 through 1.21.11.
  • v1.0.0: * Initial Release. Automatic day tracking and action bar notifications.

Check my another Datapack Uncraftable Item Recipes

If having any issues contact me with Discord

Смотри также

Похожие подборки датапаки — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

Battle Mine
Battle Mine Java + BE
3 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
ReallyWorld КОПИЯ ВСЕМ АДМИНКА
7 онлайн
1.16.5 — 1.21.1 версия
ПвП, Гриферство, бесплатный донат Dragon, AIR DROP
EnergyMC
8 онлайн
1.20.5 — 26.2 версия
🔥 Гибрид | ⚔️ Кланы | 🏰 Рейды | 🤺 Дуэли
Minestory
30 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат