Scorchful:Heat Stroke

From Modded Wiki
Jump to navigation Jump to search
Heat Stroke
Scorchful Heat Stroke.png: Infobox image for Heat Stroke the effect in Minecraft
Sources

Overheating

Particle

#FF1500 (red)

Type

Negative

Heat Stroke is a status effect that distorts the player's vision and makes them hallucinate.

Effect

The shader effect of Heat Stroke.

Heat Stroke has two effects: It distores the player's vision with a periodic blur and wobble effect; and causes them to begin seeing heat visions when exposed to intense sunlight in deserts and badlands.

Causes

Heat Stroke is exclusively caused by overheating. There is no heat stroke potion.

Data Values

The ID of the effect is scorchful:heat_stroke.

Shader Files

The shader effect definition uses post processing shaders to create the visual effects. These effects can be configured by resource packs. See Minecraft:Shader for a full description of the file formats. The following files contain the primary definitions relating to the effect:

  • assets/scorchful/post_effect/heat_stroke.json: Defines the pass programs for the shader effect. Replace the program values with minecraft:blit to disable the wobble or blur effects (or both).
  • assets/scorchful/shaders/post/(wobble|periodic_blur).json: Defines the variables (uniforms) used in the shader. You can use these to configure the strength of the effects.
  • assets/scorchful/shaders/post/(wobble|periodic_blur).fsh: The fragment shader code for the effects. These are written in OpenGL Shading Language (GLSL).