public override void onAddedToEntity() { base.onAddedToEntity(); helmet = CreateHelmet(); entity.addComponent(helmet); }