Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Conditional: Chance

Deide edited this page Mar 24, 2013 · 3 revisions

Syntax: chance.{percentage}

Description: {percentage}% of the time, this will be true

Example:

Health: #2% chance for a Slime to spawn as REALLY big Slime.
    - 'if target.type.Slime and chance.2':
        - 'targeteffect.setsize': '20'

See also: Set Size, Set Health, Entity Type

Clone this wiki locally