if (owner instanceof Player) {
owner.getNetwork().callProtocolEvent(new PlayerHealthEvent((Player) getOwner()));
} else if (owner instanceof EnderDragon || owner instanceof Wither) {
java.util.List<Parameter<?>> params = new ArrayList<Parameter<?>>(1);
params.add(new Parameter<Short>(Parameter.TYPE_SHORT, 16, (short) health));
owner.getNetwork().callProtocolEvent(new EntityMetaChangeEvent(owner, params));
}
}
}