-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtemperature.yml
More file actions
74 lines (68 loc) · 2.45 KB
/
temperature.yml
File metadata and controls
74 lines (68 loc) · 2.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 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: -28
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:
- 'SCREEN_FREEZE:8'
breath_visibility:
temperature: -4
effects:
- 'PARTICLE:SNOWFLAKE:5:0 @EyeHeight'
warmth:
temperature: 20
effects:
- 'POTION:REGENERATION:4:10:FALSE'
sweating:
temperature: 38
effects:
- 'PARTICLE:WATER_SPLASH:20:0.2 @EyeHeight'
- 'PLAY_SOUND:BLOCK_FURNACE_FIRE_CRACKLE:1:0.2'
heatstroke:
temperature: 50
effects:
- 'BURN:1'
- 'POTION:CONFUSION:0:75:FALSE'
- 'ENTITY_EFFECT:HURT_BERRY_BUSH'
- 'PARTICLE:SMALL_FLAME:20:0.2 @EyeHeight'
- 'PLAY_SOUND:BLOCK_FIRE_AMBIENT:1:0.5'