Skip to content

Explosive Endothermic

Robin Seifert edited this page Jul 14, 2023 · 1 revision

Endothermic (Absorption of heat)

Thermal energy based explosive that consumes heat to impact everything around it. Will spawn an ice beam before triggering after a delay. At which point any blocks nearby will be mutated based on effects. Nearby entities will also be hit with a range of potion effects. Specifically frost-bite, poison, mining fatigue, and slowness.

Logic

Replaces blocks based on a series of chance calculations. As well sets the time to night (1_200).

Day light chance be disabled by config and respects game rule "doDayLightCycle"

Delay is controlled using a beam entity effect.

Replacement

Terms:

  • RadiusDecay = radius * 0.3
  • chance = RadiusDecay OR random < 1 - (distance / radius)
Block Replacement Chance
Material#Water ICE chance
Block#Fire Air chance
Block#Lava Obsidian chance
Block#LavaFlowing Snow layer chance
Block#Magama stone chance
Block#Netherrack dirt chance
Block#Soul_sand sand chance AND 50%
Block#Soul_sand gravel chance
Material#Ground ICE chance AND 50%
Material#Ground Snow chance
Material#Grass ICE chance AND 50%
Material#Grass Snow chance
Any Snow chance AND random < 1 - (distance / radius)

Config

Name Default Purpose
scale 30 radius
allow_day_night_switch true Allows day to be changed
Clone this wiki locally