Index
Creeper

:!: Available in version 1.9 and later.

GetCreeperWithDamageMap

GetCreeperWithDamageMap(<-cellX <-cellZ) ->creeperAmt

Description

Gets the creeper amount at the specified integer map coordinates. A value of 0 means no creeper. A negative value indicates anticreeper. The amount returned is a floating point number where 1 represents creeper that has a height of 1 terrain unit. This call also factors in the damage map. Units can add and remove amounts to the global damage map with the ApplyToDamageMap api.

Examples

GetCreeperWithDamageMap(42 23) ->creeper

Index