π‘οΈTemperature System
Configuration
# Temperature configuration, in Celsius
# Player's temperature depends on base environment temperature, biome temperature, season, light level at location and
# number of armor items player is wearing. All of this is fully configurable below.
# Per-biome temperature is configurable in `biomeConfiguration` folder files
base: 18
# Temperature Formula
# %base% = base temperature (see setting above)
# %biome% = relative biome temperature based
# %seasonTemp% = season temperature (see settings below)
# %lightLevel% = light level at that location (can be increased by e.g. torches, lava etc), range: 0-15
# %armorItemsCount% = how many armor items player has equipped
# %conditionalTemp% = based on conditions (e.g. player is in shade; night; raining; in water etc.)
temperatureFormula: "%base% + %biome% + %seasonTemp% + (%lightLevel%) + (%armorItemsCount% *2) + %conditionalTemp%"
# Relative to base, higher or lower +/- celcius
temperature:
SPRING: 2
SUMMER: 7
FALL: -2
WINTER: -25
# Custom biomes without winter
# These biomes will calculate "winter" season temperature with formula: (fall+spring)/2
noWinterBiomes:
- 'badlands_deserts'
- 'savannas_hills'
- 'jungles'
# Are temperature events enabled?
temperatureEventsEnabled: true
# Configurable temperature events
# Effects are based on Abilities - https://wiki.advancedplugins.net/abilities/introduction
# You can pretty much use any combination of effects from here https://wiki.advancedplugins.net/abilities/effects
# Temperature events are handled and added every 20 ticks (1 second)
temperatureEvents:
freeze:
temperature: -30
effects:
- 'SCREEN_FREEZE:200'
- 'PLAY_SOUND:BLOCK_SNOW_PLACE:1:0.2'
ice_forming:
temperature: -25
effects:
- 'SCREEN_FREEZE:40'
- 'PARTICLE:SNOW_SHOVEL:4:0.5 @EyeHeight'
- 'PLAY_SOUND:BLOCK_POWDER_SNOW_FALL:1:0.2'
shivering:
temperature: -15
effects:
- 'POTION:SLOW:0:1'
- 'SCREEN_FREEZE:15'
- 'PLAY_SOUND:ENTITY_STRAY_AMBIENT:1:0.2'
breath_visibility:
temperature: -4
effects:
- 'PARTICLE:SNOWFLAKE:5:0 @EyeHeight'
warmth:
temperature: 20
effects:
- 'POTION:REGENERATION:4:10'
sweating:
temperature: 35
effects:
- 'POTION:CONFUSION:0:75'
- 'PARTICLE:WATER_SPLASH:20:0.2 @EyeHeight'
- 'PLAY_SOUND:BLOCK_FURNACE_FIRE_CRACKLE:1:0.2'
heatstroke:
temperature: 45
effects:
- 'BURN:2'
- 'POTION:CONFUSION:0:200'
- 'ENTITY_EFFECT:HURT_BERRY_BUSH'
- 'PARTICLE:SMALL_FLAME:20:0.2 @EyeHeight'
- 'PLAY_SOUND:BLOCK_FIRE_AMBIENT:1:0.5'Explanation
Base Temperature Configuration
Temperature Formula
Seasonal Temperature Variations
Biomes Without Winter
Temperature Events
Last updated