Skip to content
KoryuObihiro edited this page Aug 16, 2011 · 4 revisions

Syntax: $entityeffect.hurt

Description: Hurts the specified entity according to the returned int.

Example:

Damage: #Prove with science that Creepers aren't shrubs. They're thornbushes.
    - 'if target.type.Creeper':
        - 'attackereffect.hurt': '1'

See also: [Entity Type]

Clone this wiki locally