Minecraft Data Packs / Server Utility

Calendar (Adds 4 seasonal months)

  • check_circle Functions
  • 7,737 views, 1 today
  • 736 downloads, 0 today
  • 18
  • 18
  • 9
fnar's Avatar fnar
Level 42 : Master Miner
19
This datapack adds a calendar cycle to vanilla Minecraft.

At the beginning of each year, that year's number is announced.
At the beginning of each month, the month is announced (Rainfall, Suncrest, Lastseed, Frostfall).
At the beginning of each day, the day is announced (1 - 8).

To see this datapack in action, also download the companion datapack, Rainfall, which makes the Spring season more likely to rain. Rainfall also serves as an example to creating a datapack which depends on Calendar without modifying it.

You can download Rainfall here!

You can customise the count of days in a month using the command, replacing 30 with a number of your choice.

/scoreboard players set days_in_month calendar 30
You can use this dependency for your own datapacks, for example, in an mcfunction file that is called every tick:
execute if score daytime calendar matches 50 run function rainfall:rain_in_spring

You can test these scores from the calendar scoreboard
daytime
day
month
year

If desired, in the future I can add weeks, and seasons, and make months work more generally as to support more than 4 months.
CompatibilityMinecraft 1.14
Tags

Create an account or sign in to comment.

Grenade_Man
01/03/2020 5:00 pm
Level 1 : New Miner
history
Grenade_Man's Avatar
Hi!

Is there a way to redesign the messages so that instead of an announcement of "Today is day 7." such that it says instead: "Today is day 7 of (Month), The (Year Number) Year of this Age."

Example: Today is day 21 of Frostfall, The 5th Year of this Age.

keyboard_arrow_downMy thought of how the code may work, although the month_display would generate a number not a month name. Copy paste into word and ctrl f the "qout"
execute if score day calendar matches 3.. run tellraw @a [{"text":"Today is day ","italic":true,"color":"gray"},{"score":{"name":"day_display","objective":"calendar"},"italic":true,"color":"gray"},{"text":" of ","italic":true,"color":"gray"},{"score":{"name":"month_display","objective":"calendar"},"italic":true,"color":"gray"},{"text":", The ","italic":true,"color":"gray"},{"score":{"name":"year_display","objective":"calendar"},"italic":true,"color":"gray"},{"text":" Year of this Age.","italic":true,"color":"gray"}]



I feel like this is an interesting data pack but when your server runs 24/7 its impossible to know the date without waiting a full month or year cycle.
2
fnar
01/12/2020 12:34 pm
Level 42 : Master Miner
fnar's Avatar
This is an interesting idea and I'll probably make this addition.
1
Daychilde
09/09/2019 11:47 pm
Level 1 : New Miner
Daychilde's Avatar
If there was a way to make it snow in winter, and then have snow melt in spring (maybe rain hitting the snow would melt it), that would be absolutely amazing…
2
fnar
09/11/2019 10:50 pm
Level 42 : Master Miner
fnar's Avatar
I'm definitely putting energy into this, though it seems to be a tricky problem.

Great idea!
1
Fabric445
09/20/2019 11:14 am
Level 1 : New Miner
history
Fabric445's Avatar
You could change the biome temperature as the year changes to make it rain, snow, or neither depending on the season. If that's possible.
EDIT: Also changing how long it takes for plants to grow -not the randomTIckSpeed, but the chance that a plant or grass block will randomly grow- seems like a great addition.
1
fnar
09/29/2019 7:42 pm
Level 42 : Master Miner
fnar's Avatar
Unfortunately, it seems like there is currently no minecraft commands support for changing biomes, or their temperatures. ☹
1
FishyBusiness
09/08/2019 10:58 am
Level 54 : Grandmaster Scapegoat
FishyBusiness's Avatar
Amazing work! love it its very well made!
1
nbaker112
09/03/2019 11:03 am
Level 1 : New Miner
nbaker112's Avatar
Looks interesting, great idea!
4
fnar
09/03/2019 4:19 pm
Level 42 : Master Miner
fnar's Avatar
Thanks for the feedback! Let me know how this datapack goes for you, and if there are any adjustments that need to be made!
3
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome