public class EnderCrystal extends Substance {
private int health = 5; //Note: health doesn't seem to be used, it's here for the protocol
@Override
public void onAttached() {
setEntityProtocol(new ObjectEntityProtocol(ObjectType.ENDER_CRYSTAL));
super.onAttached();
// Add metadata value for the health status of this crystal
getOwner().add(MetadataComponent.class).addMeta(new Metadata<Integer>(Metadata.TYPE_INT, 8) {
@Override