playEffect

public abstract void playEffect(EntityEffect type)

Performs the specified EntityEffect for this entity.

This will be viewable to all players near the entity.

Parameters

type

Effect to play.