public static void registerModEntity(ResourceLocation resourceLocation, Class<? extends Entity> entityClass, String entityName, int id, Object mod, int trackingRange, int updateFrequency, boolean sendsVelocityUpdates) {
EntityRegistry.registerModEntity(entityClass, entityName, id, mod, trackingRange, updateFrequency, sendsVelocityUpdates);
}
public static void registerProjectiles(OpenModularTurrets mod) {
registerModEntity(new ResourceLocation(Reference.MOD_ID), RocketProjectile.class, Reference.MOD_ID+":rocketProjectile", 1, mod, 16, 1, true);
registerModEntity(new ResourceLocation(Reference.MOD_ID), GrenadeProjectile.class, Reference.MOD_ID+":grenadeProjectile", 2, mod, 16, 5, true);
registerModEntity(new ResourceLocation(Reference.MOD_ID), BulletProjectile.class, Reference.MOD_ID+":bulletProjectile", 3, mod, 16, 5, true);
registerModEntity(new ResourceLocation(Reference.MOD_ID), LaserProjectile.class, Reference.MOD_ID+":laserProjectile", 4, mod, 16, 5, true);
registerModEntity(new ResourceLocation(Reference.MOD_ID), BlazingClayProjectile.class, Reference.MOD_ID+":blazingClayProjectile", 5, mod, 16, 5, true);
}