public void playEffect(EntityEffect type) {
   this.getHandle().world.broadcastEntityEffect(getHandle(), type.getData());
 }
Example #2
0
 public void playEffect(EntityEffect type) {
   this.getHandle().worldObj.setEntityState(getHandle(), type.getData());
 }
 public void playEffect(MCEntityEffect type) {
   e.playEffect(EntityEffect.valueOf(type.name()));
 }