Minecraft / Mods

Climate and Temperature Datapack for Vanilla Minecraft 1.13+

  • 19
  • 15
  • playlist_add
  • share
  • more_horiz
avatar SedarGames
Level 28 : Expert Crafter
10
Climate and Temperature Datapack for Vanilla Minecraft 1.13+
Add Climates and Temperature into your Minecraft worlds!

I. Player Temperature and Thermometers

Temperature
is a new mechanid added by the datapack, changing the way the player responds to various environments and conditions. If one's temperature goes into an extreme state the player will start experienc
e negative debuffs. The scale of numbers the datapack uses to represent this goes from 0 all the way up to 100, and in some very specific scenarios (like in the Nether) even beyond. The best temperature to have is the normal 50, while going below this number means the player is colder and above warmer. So, for example if the player reaches the temperature of 70 or above, they will start expering debuffs caused by their extreme heat, while if they reach the temperature of 35 or below they will start experiencing debuffs caused by their extreme cold. Once they reach a very extreme temperature on either of the ends, they will start dying.

Thermometers are new devices the player can craft using gold ingots, a clock and then either an iron ingot or a diamond. This gives us two recipes, one for a Thermometer and the other for a Dynamic Thermometer. Here is visualized how to craft each:

Thermometers measure the temperature of the players holding them. A regular Thermometer will tell the player their current temperature, while a Dynamic Thermometer will tell them their current temperature/the temperature they are gradually changing to.

II. Biome Temperatures

The biomes themselves now have their own unique temperatures, which will effect the player temperature. Based on their temperature the biomes are divided into these following categories:

Hot  Warm  Regular  Cold  Freezing

Hot biomes have their definining temperature of around 82. This temperature changes throughout the day, from 58 at midnight to 82 at noon and back to 60 at around two hours before midnight.

Warm 
biomes have their definining temperature of around 55. This temperature changes throught the day, from 55 at midnight to 65 at noon and back to 55 at around two hours before midnight.

Regular biomes have their definining temperature of around 50. This temperature changes throught the day, from 45 at midnight to 55 at noon and back to 45 at around two hours before midnight.

Cold
biomes have their definining temperature of around 30. This temperature changes throught the day, from 30 at midnight to 40 at noon and back to 30 at around two hours before midnight.

Freezing biomes have their definining temperature of around 10. This temperature changes throught the day, from 10 at midnight to 20-22 at noon and back to 10 at around two hours before midnight.

The Nether is the exception - it has a constant temperature of 95.

III. The Temperature of Blocks and Consumables


Being near or standing on certain blocks also impacts the temperature of players. Different blocks effect the temperature differently, yet some do not effect it at all. The blocks that do effect it and the effects and conditions required for the effect to take place are written here:

BlockIDBlock StatesTemperatureRadiusCondition
Lavaminecraft:lava204near
Lavaminecraft:lava700inside
Furnaceminecraft:furnace[lit=true]41near
Fireminecraft:fire83near
Fireminecraft:fire100inside
Iceminecraft:ice-31standing_on
Packed Iceminecraft:packed_ice-41standing_on
Blue Iceminecraft:blue_ice-51standing_on
Snowminecraft:snow-11standing_on
Torch Standingminecraft:torch13near
Torch Wallminecraft:wall_torch13near
Redstone Torch Standingminecraft:redstone_torch[lit=true]12near
Redstone Torch Wallminecraft:redstone_wall_torch[lit=true]12near

Most of the items that the player can consume also effect their temperature. However a repeated consumption of the items will not effect their impact, only the duration. This changes only if the player consumes a more impactful item, then the temperature picked is the one that impacts the player most. This calculation, however, only takes place in one direction, so the more impactful temperature will be picked if the player consumes two or more of items that change his temperature in the same way (increase or decrease). If the effects are opposite (increase and decrease) they simply add up (f.e.-3 + 4) for the duration they both take effect. The list of such items and the duration of their effects are written here:

NameIDTemperatureDuration (second)TypePick Temperature From
Milkminecraft:milk_bucket-460waterlowest
Water Bottleminecraft:potion-690waterlowest
Golden Appleminecraft:golden_apple-2180goldenlowest
Golden Carrotminecraft:golden_carrot-2180goldenlowest
Appleminecraft:apple-260organiclowest
Potatominecraft:potato-360organiclowest
Beetrootminecraft:beetroot-360organiclowest
Carrotminecraft:carrot-390organiclowest
Water Melonminecraft:melon_slice-490organiclowest
Chorus Fruitminecraft:chorus_fruit-490organiclowest
Mushroom Stewminecraft:mushroom_stew690souphighest
Beetroot Soupminecraft:beetroot_soup690souphighest
Rabbit Stewminecraft:rabbit_stew8135souphighest
Cooked Porkchopminecraft:cooked_porkchop560meathighest
Cooked Rabbitminecraft:cooked_rabbit560meathighest
Cooked Salmonminecraft:cooked_salmon560meathighest
Cooked Codminecraft:cooked_cod560meathighest
Cooked Muttonminecraft:cooked_mutton560meathighest
Cooked Chickenminecraft:cooked_chicken560meathighest
Cooked Beefminecraft:cooked_beef660meathighest
Cookieminecraft:cookie130bakedhighest
Baked Potatominecraft:baked_potato230bakedhighest
Breadminecraft:bread230bakedhighest
Dried Kelpminecraft:dried_kelp230bakedhighest
Pumpkin Pieminecraft:pumpkin_pie330bakedhighest

IV. Armor


Different types and pieces of armor will effect the player uniquely (and significantly). Here are the calculations that will take place from wearing the various pieces of leather and chainmail armor:

ItemItem IDTemperatureTypeExtras
minecraft:leather_helmet3HelmetNullify heat from the sun
minecraft:leather_chestplate6Chestplate
minecraft:leather_leggings4Leggings
minecraft:leather_boots2Boots
Chainminecraft:chainmail_helmet0helmet
minecraft:chainmail_chestplate0chestplate
minecraft:chainmail_leggings0leggings
Chainminecraft:chainmail_boots0boots

Metal
 armors work differently though; instead of changing the temperature in one possible direction, they rather increase/decrease the temperature of the player based on their environment. So if the player is in a cold/freezing environment, a metal armor will make them even colder and if the player is in a warm/hot environment a metal armor will make them even hotter. Here are their effects:

ItemItem IDTemperature MultiplierTypeExtrasNote
minecraft:iron_helmet10, 10metal_helmet
minecraft:iron_chestplate10, 10metal_chestplate
minecraft:iron_leggings10, 10metal_leggings
minecraft:iron_boots10, 10metal_boots
minecraft:gold_helmet10, 10sp_armorNether buff -1In Nether, gold applies a slight coolant effect.
minecraft:gold_chestplate10, 10sp_armorNether buff -2
minecraft:gold_leggings10, 10sp_armorNether buff -2
minecraft:gold_boots10, 10sp_armorNether buff -1
minecraft:diamond_helmet10, 10Metal_helmetDiamond has better cold biome stats
minecraft:diamond_chestplate10, 10Metal_chestplate
minecraft:diamond_leggings10, 10Metal_leggings
minecraft:diamond_boots10, 10Metal_boots

V. Sun Rays, Wetness and Humidity


If there is nothing above the player and the day is in its sunnier hours, the sun rays might have a significant heating effect on them. The effect is gradual and will not exceed its limitation of +5. This can be prevented by hiding under a tree, or any roof, or the player can just wear a cap.

If the player gets out of water, they will be wet - meaning the sun rays will have a smaller impact on them, and they willl stay a little cooler for a while. The effect is visualized - one can see the water still dripping from wet players.
This effect can even be acquired from bathing in the cauldron - the player just has to get inside a cauldron with water, and when they get wet the level of the water inside it decreases.

Biomes also have their individual humidity. If it is regular, it will not take any effects, but a high level of humidity (jungles, oceans) decreases the impact of being wet and also decreases the gradual heating up in hot/warm environments. A low level of humidity (desert, badlands) increases the impact of being wet and the gradual heating up.

VI. Altitude

Not only are players effected by their X and Y coordinates according to biomes, their Y value also comes into play. If the player goes too high, the temperature will decrease as it does in real life, and if too low and enters udnerground the temperature will adapt to the layer they are currently on. If they are in a cool biome and they enter caves, they find them warmer, while if they are in a warm biome and enter them, they find them cooler. This is true from Y:62 to Y:46. Below this the temperature is first gradually decreasing as the large caves are cold and then gradually increasing as the player is getting closer to the core. Being near the lava level is, of course, extremely hot, considering the fact that the player is experiencing both the effect of the lava and low altitude.

VII. Conclusion

I truly hope you enjoy this addition to your survival worlds. The Datapack was mainly coded by the incredible Boomber, and was made with the huge help of Chad TheSaltyPug and Chuckchuk. If you find any bugs, please write them down in the comments below, tell us how to reproduce them and what they are. And yes, I am aware that the Knowledge Book of the recipes stays in your inventory - just right click the air with it and it disappears. Well, that is all, folks.
CreditBoomber, Chad TheSaltyPug, Chuckchuk
Progress100% complete
Game VersionMinecraft 1.13
Tags

1 Update Logs

v0.2 : 11/03/2018 2:42:32 pmNov 3rd

fixed the leather armor

Comments : 24

star Login or register to post a comment.

Show Comments

1 - 24 of 24

This is confusing, "freezing" is around 22°. That's not right, though, since the freezing point is at 0° celsius.

And for the "hot" tempature, 82° is over the halfway point of maximum heat.






What I'm trying to say is the tempatures don't match up. Usally a hot day would be 40° and a cold day would be -10°. (not 82° and 10°, 10° is like a normal spring day uwu)




  • MrPopa
  • Level 1
  • New Miner
  • November 2, 2018, 4:04 am
SadarGames mentioned in the comments that it is a made up scale. It’s not supposed to be celsius, fahrenheit or kelvin. You could imagine 80+ as like 40°+ celsius and 30 as 0° to -10° and 0 as -30° to -40° or something.
  • MrPopa
  • Level 1
  • New Miner
  • November 1, 2018, 4:57 am
I have a problem with the consumption aspect. It seems that items don't always have an effect on the temperature. For example drinking a potion decreases the temperature very rarely in survival but it seems to work perfectly fine in creative. I have no idea how that's possible. The tmp.waterAmt value doesn't change when I drink in survival it only changes to -6 when in creative. 1.13.2 BTW.
  • SedarGames
  • Level 28
  • Expert Crafter
  • November 3, 2018, 7:23 am
Hrmm. It is either a bug or you are drinking potions too quickly after one another. Since we did not want players to be able to just drink from water until they froze, we made it so that once you get colder from consuming, the effect is not going to stack.
  • MrPopa
  • Level 1
  • New Miner
  • November 1, 2018, 7:45 am
Also leather armor doesn't seem to change temperatures.
  • SedarGames
  • Level 28
  • Expert Crafter
  • November 3, 2018, 7:24 am
It should increase the temperature.
  • MrPopa
  • Level 1
  • New Miner
  • November 3, 2018, 3:24 am
Am I doing something wrong or is this something you guys can confirm?
  • SedarGames
  • Level 28
  • Expert Crafter
  • November 3, 2018, 7:29 am
Alright, so I went through it and yes, it seems to be bugged. Will be fixed in the next update.
  • MrPopa
  • Level 1
  • New Miner
  • November 3, 2018, 8:09 am
OK, I thought I was doing something stupid :D as I couldn't get it to work. BTW if you guys are still updating this in the future, I have a suggestion:
IDK if it's possible to create a cold breathe effect with particles or something when temperatures get too cold or a different water drip effect for sweat when hot. That would make it friendly to play even without the thermometers, in the beginning of survival.
  • SedarGames
  • Level 28
  • Expert Crafter
  • November 3, 2018, 10:29 am
So, first of all, the bug is already fixed and I shall be uploading the new version any time now (thanks to our incredible Boomber).
Secondly, as for a "cold breath" mechanic, that's something we've played with, but so far we are looking for the right sound effect.
  • MrPopa
  • Level 1
  • New Miner
  • November 3, 2018, 1:23 pm
The leather armours work now, great, thanks! So did the water feature work normally for you? I've tried to figure this out. So I've created a new world a few times, went to the desert turned daylightcycle off and set time to noon so the temperature is 88. Just to make sure nothing should be effecting the temp other than things i try to consume. I then drink a bottle of water and my temperature doesn't go down by 6. After that or before I try to consume a milk bucket and it works, goes down by 4. If I do the same in creative, drinking the water bottle works. For some reason I can't get it to work in survival, any other item works perfect. I dont' have any other commands running or mods installed either, other than OptiFine. I'm completely clueless to how my gamemode could be effecting anything. Any ideas?
  • SedarGames
  • Level 28
  • Expert Crafter
  • November 5, 2018, 8:10 am
The water bottle seems to be broken, we are looking into it.
  • chuckchuk
  • Level 36
  • Artisan Architect
  • October 27, 2018, 2:06 pm
Oh nice! I didn't know it was out yet!
  • LoneStarr
  • Level 1
  • New Miner
  • October 25, 2018, 7:07 pm
This Mod looks so good, Can it be played on 1.12.2 ? or can it be available for 1.12.2 ?
Thanks
  • SedarGames
  • Level 28
  • Expert Crafter
  • October 26, 2018, 8:02 am
Since it is a datapack, it is only 1.13+
  • LoneStarr
  • Level 1
  • New Miner
  • October 26, 2018, 1:09 pm
Ok, Thanks for the fast reply!
  • MrTronik
  • Level 1
  • New Miner
  • October 23, 2018, 4:44 pm
so first i would like to say great addition to the game, but might there be a way to move the temperature to the tab screen or a sidebar? only asking because this has the temp displayed at the same height that the RPG skills mod displays skill exp. i've been trying to move things but im not bright enough to figure it out. still an awesome datapack mod though and will be adding to my personal server :)

P.S. so after a bit more tinkering i got the tab screen to display the biome temp just like it would in a game like ARK, still am curious as to if it would be possible to display it on the side of the screen.
  • SedarGames
  • Level 28
  • Expert Crafter
  • October 24, 2018, 10:40 am
Well, since it is not possible to target players with the sidebars, all players must have the same sidebar. Theoretically, what could be done (and what would render Thermometers pointless) is to just setup a sidebar with the players' scores of temperature. So here is the command for that: /scoreboard objectives setdisplay sidebar tmp.playerTemp

  • eatYourHashs
  • Level 32
  • Artisan Archer
  • October 15, 2018, 2:50 pm
It looks really nice - I might try it out. Just wondering, what are the specific effects of temperatures?
  • SedarGames
  • Level 28
  • Expert Crafter
  • October 17, 2018, 9:18 am
If you reach an extreme, f.e. too cold or too hot you are going to get negative effects applied to you. So, once a player reaches 70 they might start experiencing nausa intervals, and as the temperature increases, so does the number and the amplifier of the effects. Then, from 100 and above the wither effect is applied, which is deadly. From 110 and above instant damage also starts to be applied. If the extreme is reached by being extremely cold though, the effects and intervals are different.
  • eatYourHashs
  • Level 32
  • Artisan Archer
  • October 19, 2018, 2:15 pm
Ooh, sounds cool! This would be a great datapack to stick in a new survival world.
  • Avenged1994
  • Level 38
  • Artisan Dragonborn
  • October 15, 2018, 8:38 am
Nice
  • dragoduval
  • Level 1
  • New Explorer
  • October 11, 2018, 8:30 pm
Look nice, but what the hell kind of temperature are you using ? 50 for a normal temperature ? That's hot as hell.
  • SedarGames
  • Level 28
  • Expert Crafter
  • October 12, 2018, 7:24 am
It is a made up scale, so it does not necessarily translate to any real world temperature.

1 - 24 of 24

Show Comments

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome