Exhaust (Power Type)

Applies exhaustion to the player over time.

Applies exhaustion to the player over time.

Type ID: apoli:exhaust

Fields

FieldTypeDefaultDescription
intervalInteger20Duration of ticks to wait between applying exhaustion.
exhaustionFloatHow much exhaustion will be applied each interval.

Examples

{
  	"type": "apoli:exhaust",
  	"interval": 20,
  	"exhaustion": 4.0,
	"condition": {
		"type": "apoli:fluid_height",
		"fluid": "minecraft:water",
		"comparison": ">",
		"compare_to": 0.0
	}
}

This example will apply 4.0 exhaustion to the player if the player is touching water.