- check_circle Functions
Published Sep 2nd, 2019, 9/2/19 11:51 pm
- 7,737 views, 1 today
- 736 downloads, 0 today
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.
You can use this dependency for your own datapacks, for example, in an mcfunction file that is called every tick:
You can test these scores from the calendar scoreboard
If desired, in the future I can add weeks, and seasons, and make months work more generally as to support more than 4 months.
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.
Compatibility | Minecraft 1.14 |
Tags |
4393142
119
Create an account or sign in to comment.
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.
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.
Great idea!
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.