un-commented the registerModEntity function line in the registerEntity function. This seems to be necessary to avoid conflicts with other mods.