Pular para o conteúdo principal

Client Particle Effect

Render a Typewriter-aware client particle effect

Renders a visual particle only for the triggering player when possible.

Campos

CampoTipoPadrãoDescrição
particleStringENCHANTBukkit particle name
countInt8Number of particles, bounded to 256
offsetDouble0.25Particle offset on each axis
speedDouble0.0Particle speed
Campos comuns do TypeWriter (criteria, modifiers, triggers)
CampoTipoPadrãoDescrição
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

Use it in a mechanic's clientSideEffects (or actions) to show particles around the player. particle is a Bukkit particle name such as ENCHANT or HEART; an unknown name falls back to ENCHANT. count is limited to 256. The particles are only sent to the triggering player.