メインコンテンツまでスキップ

Client Particle Effect

Render a Typewriter-aware client particle effect

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

フィールド

フィールド型デフォルト説明
particleStringENCHANTBukkit particle name
countInt8Number of particles, bounded to 256
offsetDouble0.25Particle offset on each axis
speedDouble0.0Particle speed
TypeWriter 共通フィールド(criteria, modifiers, triggers)
フィールド型デフォルト説明
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.